在
ti在线
技术社区的活动中花300买了一块 TMS570 MCU Development kit ,但是一直无法自己建立一个完整无错的项目工程。
请问我在使用在HAL Code Generater 和CCS4.2.4的时候,依据TMS570LS2x_Using_NHET_as_GIO_Example.pdf的指南来操作,为什么会出现以下错误。希望帮助解决。
Console:
**** Build of configuration Debug for project mmm ****
D:EDACCSV4ccsv4utilsgmakegmake -k all
'Building file: ../os_croutine.c'
'Invoking: Compiler'
"D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/bin/cl470" -mv7R4 -g --include_path="D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/include" --diag_warning=225 --enum_type=packed --abi=eabi --code_state=32 --float_support=VFPv3D16 --preproc_with_compile --preproc_dependency="os_croutine.pp" "../os_croutine.c"
"..FreeRTOS.h", line 194: error: expected an expression
"..FreeRTOS.h", line 429: error: expected an expression
2 errors detected in the compilation of "../os_croutine.c".
>> Compilation failure
gmake: *** [os_croutine.obj] Error 1
'Building file: ../os_heap.c'
'Invoking: Compiler'
"D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/bin/cl470" -mv7R4 -g --include_path="D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/include" --diag_warning=225 --enum_type=packed --abi=eabi --code_state=32 --float_support=VFPv3D16 --preproc_with_compile --preproc_dependency="os_heap.pp" "../os_heap.c"
"..FreeRTOS.h", line 194: error: expected an expression
"..FreeRTOS.h", line 429: error: expected an expression
2 errors detected in the compilation of "../os_heap.c".
>> Compilation failure
gmake: *** [os_heap.obj] Error 1
'Building file: ../os_list.c'
'Invoking: Compiler'
"D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/bin/cl470" -mv7R4 -g --include_path="D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/include" --diag_warning=225 --enum_type=packed --abi=eabi --code_state=32 --float_support=VFPv3D16 --preproc_with_compile --preproc_dependency="os_list.pp" "../os_list.c"
"..FreeRTOS.h", line 194: error: expected an expression
"..FreeRTOS.h", line 429: error: expected an expression
2 errors detected in the compilation of "../os_list.c".
>> Compilation failure
gmake: *** [os_list.obj] Error 1
'Building file: ../os_port.c'
'Invoking: Compiler'
"D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/bin/cl470" -mv7R4 -g --include_path="D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/include" --diag_warning=225 --enum_type=packed --abi=eabi --code_state=32 --float_support=VFPv3D16 --preproc_with_compile --preproc_dependency="os_port.pp" "../os_port.c"
"..FreeRTOS.h", line 194: error: expected an expression
"..FreeRTOS.h", line 429: error: expected an expression
2 errors detected in the compilation of "../os_port.c".
>> Compilation failure
gmake: *** [os_port.obj] Error 1
'Building file: ../os_queue.c'
'Invoking: Compiler'
"D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/bin/cl470" -mv7R4 -g --include_path="D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/include" --diag_warning=225 --enum_type=packed --abi=eabi --code_state=32 --float_support=VFPv3D16 --preproc_with_compile --preproc_dependency="os_queue.pp" "../os_queue.c"
"..FreeRTOS.h", line 194: error: expected an expression
"..FreeRTOS.h", line 429: error: expected an expression
"../os_queue.c", line 1511: error: expected an expression
3 errors detected in the compilation of "../os_queue.c".
>> Compilation failure
gmake: *** [os_queue.obj] Error 1
'Building file: ../os_tasks.c'
'Invoking: Compiler'
"D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/bin/cl470" -mv7R4 -g --include_path="D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/include" --diag_warning=225 --enum_type=packed --abi=eabi --code_state=32 --float_support=VFPv3D16 --preproc_with_compile --preproc_dependency="os_tasks.pp" "../os_tasks.c"
"..FreeRTOS.h", line 194: error: expected an expression
"..FreeRTOS.h", line 429: error: expected an expression
"..os_timer.h", line 68: fatal error: could not open source file "*** include variable HDRPORTABLE not defined ***"
2 errors and 1 fatal error detected in the compilation of "../os_tasks.c".
Compilation terminated.
>> Compilation failure
gmake: *** [os_tasks.obj] Error 1
'Building file: ../os_timer.c'
'Invoking: Compiler'
"D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/bin/cl470" -mv7R4 -g --include_path="D:/EDA/CCSV4/ccsv4/tools/compiler/tms470/include" --diag_warning=225 --enum_type=packed --abi=eabi --code_state=32 --float_support=VFPv3D16 --preproc_with_compile --preproc_dependency="os_timer.pp" "../os_timer.c"
"..FreeRTOS.h", line 194: error: expected an expression
"..FreeRTOS.h", line 429: error: expected an expression
"..os_timer.h", line 68: fatal error: could not open source file "*** include variable HDRPORTABLE not defined ***"
2 errors and 1 fatal error detected in the compilation of "../os_timer.c".
Compilation terminated.
>> Compilation failure
gmake: *** [os_timer.obj] Error 1
gmake: Target `all' not remade because of errors.
Build complete for project mmm
Problems: