mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-24 09:43:38 +08:00
enable RTOS support for cortex-debug
This commit is contained in:
@@ -85,6 +85,7 @@ LDFLAGS += '-T'..boarddir..'/STM32F405RGTx_FLASH.ld'
|
||||
LDFLAGS += '-L'..boarddir..'/Drivers/CMSIS/Lib' -- lib dir
|
||||
LDFLAGS += '-lc -lm -lnosys -larm_cortexM4lf_math' -- libs
|
||||
LDFLAGS += '-mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -specs=nosys.specs -specs=nano.specs -u _printf_float -u _scanf_float -Wl,--cref -Wl,--gc-sections'
|
||||
LDFLAGS += '-Wl,--undefined=uxTopUsedPriority'
|
||||
|
||||
|
||||
-- common flags for ASM, C and C++
|
||||
@@ -133,7 +134,8 @@ build{
|
||||
'MotorControl/axis.cpp',
|
||||
'MotorControl/commands.cpp',
|
||||
'MotorControl/protocol.cpp',
|
||||
'MotorControl/config.cpp'
|
||||
'MotorControl/config.cpp',
|
||||
'FreeRTOS-openocd.c'
|
||||
},
|
||||
includes={
|
||||
'Drivers/DRV8301',
|
||||
|
||||
Reference in New Issue
Block a user