Skip to content

Commit

Permalink
feat: micro ros addons
Browse files Browse the repository at this point in the history
  • Loading branch information
margine00 committed Aug 6, 2024
1 parent 7fc217a commit ce6ee00
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions tools/F4/F429ZI/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##########################################################################################################################
# File automatically-generated by tool: [projectgenerator] version: [4.4.0-B60] date: [Wed Jul 24 11:41:11 CEST 2024]
# File automatically-generated by tool: [projectgenerator] version: [4.4.0-B60] date: [Thu Jul 25 10:38:45 CEST 2024]
##########################################################################################################################

# ------------------------------------------------
Expand Down Expand Up @@ -69,7 +69,12 @@ Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c \
Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c \
Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c \
Core/Src/sysmem.c \
Core/Src/syscalls.c
Core/Src/syscalls.c \
Core/Src/dma.c \
Core/Src/usart.c \
Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c \
Core/Src/eth.c \
Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_eth.c

# ASM sources
ASM_SOURCES = \
Expand Down Expand Up @@ -171,16 +176,16 @@ all: $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET
#######################################
# micro-ROS addons
#######################################
LDFLAGS += micro_ros_stm32cubemx_utils/microros_static_library/libmicroros/libmicroros.a
C_INCLUDES += -Imicro_ros_stm32cubemx_utils/microros_static_library/libmicroros/microros_include
LDFLAGS += ../../firmware/build/libmicroros.a
C_INCLUDES += -I../../micro_ros_stm32cubemx_utils/microros_static_library/libmicroros/microros_include

# Add micro-ROS utils
C_SOURCES += micro_ros_stm32cubemx_utils/extra_sources/custom_memory_manager.c
C_SOURCES += micro_ros_stm32cubemx_utils/extra_sources/microros_allocators.c
C_SOURCES += micro_ros_stm32cubemx_utils/extra_sources/microros_time.c
C_SOURCES += ../../micro_ros_stm32cubemx_utils/extra_sources/custom_memory_manager.c
C_SOURCES += ../../micro_ros_stm32cubemx_utils/extra_sources/microros_allocators.c
C_SOURCES += ../../micro_ros_stm32cubemx_utils/extra_sources/microros_time.c

# Set here the custom transport implementation
C_SOURCES += micro_ros_stm32cubemx_utils/extra_sources/microros_transports/dma_transport.c
C_SOURCES += ../../micro_ros_stm32cubemx_utils/extra_sources/microros_transports/dma_transport.c

print_cflags:
@echo $(CFLAGS)
Expand Down

0 comments on commit ce6ee00

Please sign in to comment.