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.

Ti Arm Compiler 15.12.3.LTS can compile sysctl.c but 16.6.0.STS cannot

Other Parts Discussed in Thread: CONTROLSUITE

The library source file sysctl.c that comes with control suite generally located at:

C:/ti/controlSUITE/device_support/f28m36x/v208/MWARE/driverlib

could be compiled using F28M36x_generic_M3_FLASH.cmd into sysctl.obj with TI Arm Compiler 15.12.3.LTS on my system using CCSv6.2 giving console output:

'Building file: C:/ti/controlSUITE/device_support/f28m36x/v208/MWare/driverlib/sysctl.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/bin/armcl" -mv7M3 --code_state=16 -me -O0 --opt_for_speed=5 --include_path="C:/ti/ccsv6/tools/compiler/arm_15.12.3.LTS/include" --include_path="C:/ti/controlSUITE/device_support/f28m36x/v208/MWare" --include_path="REMOVED FOR PRIVACY" --include_path="REMOVED FOR PRIVACY" -g --gcc --define=ccs --define=_STANDALONE --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="driverlib/sysctl.d" --obj_directory="driverlib" "C:/ti/controlSUITE/device_support/f28m36x/v208/MWare/driverlib/sysctl.c"
'Finished building: C:/ti/controlSUITE/device_support/f28m36x/v208/MWare/driverlib/sysctl.c'
' '

But compiler 16.6.0.STS could not do this givig output:

'Building file: C:/ti/controlSUITE/device_support/f28m36x/v208/MWare/driverlib/sysctl.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.6.0.STS/bin/armcl" -mv7M3 --code_state=16 -me -O0 --opt_for_speed=5 --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_16.6.0.STS/include" --include_path="C:/ti/controlSUITE/device_support/f28m36x/v208/MWare" --include_path="REMOVED FOR PRIVACY" --include_path="REMOVED FOR PRIVACY" --define=ccs --define=_STANDALONE -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --ual --preproc_with_compile --preproc_dependency="driverlib/sysctl.d" --obj_directory="driverlib" "C:/ti/controlSUITE/device_support/f28m36x/v208/MWare/driverlib/sysctl.c"
1 Assembly Error, No Assembly Warnings

>> Compilation failure
driverlib/subdir_rules.mk:126: recipe for target 'driverlib/sysctl.obj' failed
"C:\Users\Bradford\AppData\Local\Temp\0772810", ERROR! at line 291: [E0001] Address must be of a non-global defined in the current section
bne.n SysCtlDelay


Errors in Source - Assembler Aborted
gmake: *** [driverlib/sysctl.obj] Error 1