Tool/software: Code Composer Studio
When I was building my project,I got the prompt that the endianess was not declared.The prompt message is as follows:
>> Compilation failure subdir_rules.mk:23: recipe for target 'console_utils_uart.obj' failed "E:/CCSinstallation/ccs7/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include/machine/ieeefp.h", line 428: fatal error #35: #error directive: Endianess not declared!! 1 catastrophic error detected in the compilation of "../camera_device.c". Compilation terminated. gmake: *** [camera_device.obj] Error 1 "E:/CCSinstallation/ccs7/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include/machine/ieeefp.h", line 428: fatal error #35: #error directive: Endianess not declared!! 1 catastrophic error detected in the compilation of "../console_utils_uart.c". Compilation terminated. gmake: *** [console_utils_uart.obj] Error 1 'Building file: ../main.c' 'Invoking: ARM Compiler' "E:/CCSinstallation/ccs7/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/bin/armcl" -mv7A8 --code_state=32 -me --include_path="E:/CCSinstallation/ccs7/workspace1/test_camera" --include_path="E:/CCSinstallation/ccs7/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" --include_path="E:/CCSinstallation/ccs7/workspace1/demo/sdk/starterware/device" --include_path="E:/CCSinstallation/ccs7/workspace1/demo/sdk/starterware/include" --include_path="E:/CCSinstallation/ccs7/workspace1/demo/sdk/starterware/include/am43xx" --include_path="E:/CCSinstallation/ccs7/workspace1/demo/sdk/starterware/include/am43xx/am437x" --include_path="E:/CCSinstallation/ccs7/workspace1/demo/sdk/starterware/include/hw" --include_path="E:/CCSinstallation/ccs7/workspace1/demo/sdk/starterware/include/utils" --include_path="E:/CCSinstallation/ccs7/workspace1/demo/sdk/starterware/utils" --include_path="E:/CCSinstallation/ccs7/workspace1/include_testcamera" --include_path="E:/CCSinstallation/ccs7/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/include" --define=am4379 -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d" "../main.c" >> Compilation failure subdir_rules.mk:30: recipe for target 'main.obj' failed "E:/CCSinstallation/ccs7/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include/machine/ieeefp.h", line 428: fatal error #35: #error directive: Endianess not declared!! 1 catastrophic error detected in the compilation of "../main.c". Compilation terminated. gmake: *** [main.obj] Error 1 gmake: Target 'all' not remade because of errors. **** Build Finished ****
But I set the Device endianness to little as follows:
Which reason could cause this problem?How can I solve it?
Thanks