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.

CCS+HALCoGen project does not build using GNU Compiler (v4.9.3)

Other Parts Discussed in Thread: HALCOGEN

The HALCoGen generated files containing assembly code (sys_mpu.s, sys_pmu.s, sys_core.s, dabort.s, sys_intvect.s) are not getting converted into machine code. As a result, during compilation, I'm getting an error saying that,

.HAL/source/sys_mpu.o: No such resource is found

... and so on for the remaining four files. 

How to resolve this? Is this an issue with the compiler version? (I used the version that came with CCSv6)

Or do I need to add additional flags to ensure the project successully assembles and links?

Any help would be very appreciated, thank you!

  • Nandini,

    The GCC support in CCS really isn't for Cortex R, it's there for Cortex M/A.

    Did you notice if the .s files were even assembled ? Did they give errors when assembled or were they just skipped.

    If they were just skipped - which would explain the .o being missing - then you can add them as custom makefile targets by putting a file called 'makefile.targets' in your project folder and adding your own rules. these get picked up by the automatically generated makefile as described in this forum post e2e.ti.com/.../260365
    You can also search other forum posts for 'makefile.targets' for information on how to use this feature. It can be pretty powerful.