刚从 FreeRTOS 开始,我遇到了任务问题,所以我认为这是开始学习调试的最佳时机。
尝试使用 Trace 库来评估我在编译过程中遇到的情况。
我正在使用带有 ST-LinkV2 的 CooCox IDE。目标器件是 STM32F103C8T6。FreeRTOS 是 V8.2.2。Tracealyzer 记录器库是 v2.7.7。
错误是:
[cc] c:/arm_development/gcc-arm-none-eabi-4_9-2015q1-20150306-win32/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: FreeRTOSDemo.elf section `.bss' will not fit in region `ram'
[cc] c:/arm_development/gcc-arm-none-eabi-4_9-2015q1-20150306-win32/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: region ram overflowed with stack
[cc] c:/arm_development/gcc-arm-none-eabi-4_9-2015q1-20150306-win32/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: region `ram' overflowed by 6000 bytes
[cc] collect2.exe: error: ld returned 1 exit status
BUILD FAILED
Total time: 11 seconds
任何有关此事的提示都会有所帮助,请提前 tnx。