This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

.emsg "Project build options do not match Global configuration settings. Compiler options specify Big Endian, configuration set for Little Endian."

I get this error when  I try to build my project.

This is the error as  it appears appears in  the console window:


**** Build of configuration Debug for project apsu-bios ****

C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: C:/Users/jruby/als/APSU software promoveo/ALS/p200/trunk/target/pci104s/pjt/apsu-bios/apsu.tcf'
'Invoking: TConf'
"C:/ti/xdctools_3_22_04_46/tconf" -b -Dconfig.importPath="C:/ti/bios_5_41_11_38/packages;" "C:/Users/jruby/als/APSU software promoveo/ALS/p200/trunk/target/pci104s/pjt/apsu-bios/apsu.tcf"
'Finished building: C:/Users/jruby/als/APSU software promoveo/ALS/p200/trunk/target/pci104s/pjt/apsu-bios/apsu.tcf'
' '
'Building file: apsucfg.s62'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="C:/Users/jruby/als/APSU software promoveo/ALS/p200/trunk/target/pci104s/pjt/apsu-bios/apsu-bios/../../../../../target/pci104s/defines.txt" -mv67p -g --gcc --define="_DEBUG" --include_path="C:/ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/Users/jruby/als/APSU software promoveo/ALS/p200/trunk/target/pci104s/pjt/apsu-bios/apsu-bios/Debug" --include_path="c://ti/ccsv5/tools/compiler/c6000/include" --include_path="C:/ti/bios_5_41_11_38/packages/ti/bios/include" --include_path="C:/ti/bios_5_41_11_38/packages/ti/rtdx/include/c6000" --include_path="C:/ti/xdais_7_21_01_07/packages/ti/xdais" --include_path="C:/Users/jruby/als/APSU software promoveo/ti/C6XCSL/include" --include_path="C:/Users/jruby/als/APSU software promoveo/ALS/p200/trunk/target/pci104s/pjt/apsu-bios/apsu-bios/../../../../../target/pci104s/include" --include_path="C:/Users/jruby/als/APSU software promoveo/ALS/p200/trunk/target/pci104s/pjt/apsu-bios/apsu-bios/../../../../../include" --include_path="C:/Users/jruby/als/APSU software promoveo/ALS/p200/trunk/target/pci104s/pjt/apsu-bios/apsu-bios/../../../../../contrib/yaffs" --include_path="C:/Users/jruby/als/APSU software promoveo/ALS/p200/trunk/target/pci104s/pjt/apsu-bios/apsu-bios/../../../../../applications/apsu" --include_path="C:/Users/jruby/als/APSU software promoveo/ALS/p200/trunk/target/pci104s/pjt/apsu-bios/apsu-bios/../../../../../target/pci104s/pjt/uart-bios-test" --display_error_number --diag_warning=225 --big_endian --abi=coffabi --obj_directory="C:/Users/jruby/als/APSU software promoveo/ALS/p200/trunk/target/pci104s/pjt/apsu-bios/apsu-bios/../../../../../target/pci104s/pjt/apsu-bios/Debug" --preproc_with_compile --preproc_dependency="apsucfg.pp" "apsucfg.s62"
"apsucfg.s62", ERROR! at line 338: [ ***** USER ERROR ***** - ]
Project build options do not match Global configuration settings.
Compiler options specify Big Endian, configuration set for Little
Endian.
.emsg "Project build options do not match Global configuration settings. Compiler options specify Big Endian, configuration set for Little Endian."

This is line 338 in apsucfg.s62:

GBL_config  _ROM, _PROCID, _CLKIN, _FREQ, _DSPTYPE, _DSPSUBTYPE, _CLKTYPE, _BIGENDIAN, _USERINIT, _USERINITFXN, _ENABLEINST, _CACHE, _L2CONFIGURE, _L2MODE, _L2PRIORITY, _L2MARMASK, _SUPPORTCSL, _TRCMASKVALUE, _CALLCSLCFGINIT, _C641XL2PRIORITY, _L2MARMASK1, _L2MARMASK2, _L2MARMASK3, _L2MARMASK4, _L2MARMASK5, _L2CONFIGALLOC, _L2ALLOC 

What does this mean? Where are the global configuration settings and how are they set? How can I reset them  to  little endian?

  • Jonathan Ruby said:
    .emsg "Project build options do not match Global configuration settings. Compiler options specify Big Endian, configuration set for Little Endian."

    The message is saying that the project build options specify --big_endian as you can see in the options passed to cl6x, however the BIOS conifguration is set for Little endian. Please check the BIOS config file to verify this.

    Was this a newly created project in CCSv5 or one that was imported from a previous version of CCS?

    If you go into Project Properties and ensure that the correct device you are working with is selected, it should automatically pick the correct endianness for the BIOS config file. If this does not do it you may have to manually adjust the endianness in the BIOS config file, which you can do by opening the .tcf and going to System->Global Settings->Properties.

    Hope this helps.