Setting up Tivaware with GCC under CCS6 For a upcoming project I have designed in a TI TM4C123GH6PM, which is part of the Tiva lineup of ARM core processors.
Naturally i would prefer to develop with the GCC compiler toolchain rather than the TI compiler, so this is a rough guide with notes for how i converted the given USB Device example code to use the GCC compiler instead.
Compiler settings First, as normal, import the example project into CCS and build and test to ensure it works on the TI compiler first. Right click on the project and goto project settings Click on the General tab, and make sure that your chosen device is chosen. Change the Compiler version to the newest GNU compiler Click OK, and CCS will prompt you to create a new Debug__GNU configuration automatically, choose OK to continue. Now open the projects properties again and move to the (Build->GNU Compiler->Runtime) The defaults are all correct here except for the floating point version used, where the default libraries were compiled for soft floating point. Thus you need to change the floating point option (-mfloat-abi) to softfp Next move down to the settings, setting these as shown (All of these settings can also be copied from the TI compiler settings by changing the configuration option at the top and just going back and forth) GNU Compiler
...