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.

Is RM48x + HalcoGen + Code Composer Studio + GCC toolchain supported

Other Parts Discussed in Thread: HALCOGEN

I am not sure if this is the correct forum to post, but before I go into deeper details, I just wanna know in general:

Is there official support for using Halcogen and CCS for GCC toolchain for an RM48x based embedded project? I am asking because when I start a new project and add files form Halcogen, I am getting errors when building the assembler source files. I am only having trouble when using GCC toolchain. The TI toolchian works well.

Kind regards,

Erik

  • Erik,

    yes we do support GCC too chain with halcogen for RM48x.

    If you could post little more details about the issue, I can certainly get some help from our Halcogen team.
  • Karthik,

    That's good news.

    Ok, here is what I did.

    1. I Created a new CCS Project with these Settings:

    2. I started a new Halcogen Project, configured for dropping the generated code directly into my project folder. I used the following Settings:

    Device: RM48L952PGE

    Name: Test_GCC

    Location: D:\CCS_Workspace\TestGCC

    Create Directory for project NOT checked

    Tools: GCC Tools.

    3. I added the include directories to the project settings of CSS.

    4. After building the project, I get these errors:

    'Building file: ../source/sys_core.s'
    'Invoking: GNU Compiler'
    "D:/Programme/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/arm-none-eabi-gcc.exe" -c -I"D:/Programme/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/arm-none-eabi/include" -I"D:/CCS_Workspace/Test_GCC/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"source/sys_core.d" -MT"source/sys_core.d" -o"source/sys_core.o" "../source/sys_core.s"
    ../source/sys_core.s: Assembler messages:
    ../source/sys_core.s:102: Error: selected processor does not support ARM mode `fmxr fpexc,r2'
    ../source/sys_core.s:104: Error: selected processor does not support ARM mode `fmdrr d0,r1,r1'
    ../source/sys_core.s:105: Error: selected processor does not support ARM mode `fmdrr d1,r1,r1'
    ../source/sys_core.s:106: Error: selected processor does not support ARM mode `fmdrr d2,r1,r1'
    ../source/sys_core.s:107: Error: selected processor does not support ARM mode `fmdrr d3,r1,r1'
    ../source/sys_core.s:108: Error: selected processor does not support ARM mode `fmdrr d4,r1,r1'
    ../source/sys_core.s:109: Error: selected processor does not support ARM mode `fmdrr d5,r1,r1'
    ../source/sys_core.s:110: Error: selected processor does not support ARM mode `fmdrr d6,r1,r1'
    ../source/sys_core.s:111: Error: selected processor does not support ARM mode `fmdrr d7,r1,r1'
    ../source/sys_core.s:112: Error: selected processor does not support ARM mode `fmdrr d8,r1,r1'
    ../source/sys_core.s:113: Error: selected processor does not support ARM mode `fmdrr d9,r1,r1'
    ../source/sys_core.s:114: Error: selected processor does not support ARM mode `fmdrr d10,r1,r1'
    ../source/sys_core.s:115: Error: selected processor does not support ARM mode `fmdrr d11,r1,r1'
    ../source/sys_core.s:116: Error: selected processor does not support ARM mode `fmdrr d12,r1,r1'
    ../source/sys_core.s:117: Error: selected processor does not support ARM mode `fmdrr d13,r1,r1'
    ../source/sys_core.s:118: Error: selected processor does not support ARM mode `fmdrr d14,r1,r1'
    ../source/sys_core.s:119: Error: selected processor does not support ARM mode `fmdrr d15,r1,r1'
    ../source/sys_core.s:210: Error: selected processor does not support ARM mode `fmxr fpexc,r0'
    gmake: *** [source/sys_core.o] Error 1

    Any help would be greatly appreciated.

    Thanks a lot,

    Erik

  • Hello Erik,

    It should be something to do with enabling the vectored floating point option I guess.

    Will request someone from Halcogen team to help with this.
  • Karthik,

    I agree with your evaluation of the issue. Let's hope the Halcogen team can come up with a suggestion soon.

    Reagrds,
    Erik
  • Hi Erik,

    Minimal Compile option that must be provided for compiling on CCS with GCC compiler.

    -mcpu=cortex-r4 -march=armv7-r -mfloat-abi=hard -mfpu=vfpv3-d16 -I"C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/arm-none-eabi/include"  -g -gdwarf-3 -c -mlittle-endian -r

    When creating the new project, on the top of the popup window for project properties you would have seen a warning " Selected device does not currently provide project initialization details for the GNU toolchain. The project may require further manual set up."