《线程》中讨论的其他部件: MSP430FR5969, MSP430F449
您好,
我正在尝试让 FreeRTOS 为我的开发板 MSP430FR6989工作。
作为起点,我从 GitHub 下载了最新的 CCS (11.1.0.00011)和最新的 FreeRTOS 代码(1ce4d784c)。
我首先将演示(FreeRTOS/Demo/CMSP430X_MSP430FR5969_LaunchPad_IAR_CCS)加载到 CCS 中。
第一个问题是,我们必须将 ParTest.h 更改为 main.c.中的 partest.h
此后,编译仍失败,并出现以下错误:
Building file: “/home/fhof/FreeRTOS/FreeRTOS/Source/portable/MemMang/heap_4.c” Invoking: MSP430 Compiler "/home/fhof/ti/ccs1110/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/bin/cl430" -vmspx --data_model=large -O0 --opt_for_speed=1 --use_hw_mpy=F5 --include_path="/home/fhof/ti/ccs1110/ccs/ccs_base/msp430/include" --include_path="/home/fhof/FreeRTOS/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS" --include_path="/home/fhof/FreeRTOS/FreeRTOS/Source/include" --include_path="/home/fhof/FreeRTOS/FreeRTOS/Source/portable/CCS/MSP430X" --include_path="/home/fhof/FreeRTOS/FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI" --include_path="/home/fhof/FreeRTOS/FreeRTOS/Demo/Common/include" --include_path="/home/fhof/ti/ccs1110/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/include" --include_path="/home/fhof/FreeRTOS/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx" --define=__MSP430FR5969__ -g --c11 --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --preproc_with_compile --preproc_dependency="FreeRTOS_Source/portable/MemMang/heap_4.d_raw" --obj_directory="FreeRTOS_Source/portable/MemMang" "/home/fhof/FreeRTOS/FreeRTOS/Source/portable/MemMang/heap_4.c" FreeRTOS_Source/portable/MemMang/subdir_rules.mk:7: recipe for target 'FreeRTOS_Source/portable/MemMang/heap_4.obj' failed abnormal termination of /home/fhof/ti/ccs1110/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/bin/cg430 Segmentation fault (core dumped) gmake: *** [FreeRTOS_Source/portable/MemMang/heap_4.obj] Error 139
The segmentation fault occurs with TI v21.6.0-lts and msp430-gcc v9.3.1.11.
I am on 5.11.0-46-generic #51~20.04.1-Ubuntu if that matters.
如有任何其他建议,我们将不胜感激。