Azure RTOS / MDK-Arm - Linking errors
I'm trying to build the example project "Tx_Thread_Creation" for the NUCLEO-F429ZI. During the build process with the MDK-ARM (uVision) V5.28.0.0 toolchain I got the following linker errors:
linking...
Tx_Thread_Creation\Tx_Thread_Creation.axf: Error: L6218E: Undefined symbol __RAM_segment_used_end__ (referred from tx_initialize_low_level.o).
Tx_Thread_Creation\Tx_Thread_Creation.axf: Error: L6218E: Undefined symbol _vectors (referred from tx_initialize_low_level.o).
Tx_Thread_Creation\Tx_Thread_Creation.axf: Error: L6218E: Undefined symbol g_pfnVectors (referred from tx_initialize_low_level.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 3 error messages.
"Tx_Thread_Creation\Tx_Thread_Creation.axf" - 3 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:03I also tried to build the same project with the STM32CubeIDE Ver. 1.8.0 toolchain. The build process finished successfully:
Finished building target: Tx_Thread_Creation.elf
arm-none-eabi-size Tx_Thread_Creation.elf
arm-none-eabi-objdump -h -S Tx_Thread_Creation.elf > "Tx_Thread_Creation.list"
arm-none-eabi-objcopy -O binary Tx_Thread_Creation.elf "Tx_Thread_Creation.bin"
text data bss dec hex filename
21328 36 6932 28296 6e88 Tx_Thread_Creation.elf
Finished building: default.size.stdout
Finished building: Tx_Thread_Creation.bin
Finished building: Tx_Thread_Creation.list
13:54:27 Build Finished. 0 errors, 0 warnings. (took 13s.891ms)For the code generation I used the STM32CubeMX Ver. 6.3.0. I prefer to use the MDK-ARM for the project compilation. How can I solve the linker errors?
