Hi,
Under CCS4, what compiler should be selected to compile OMAP-L138 Arm code?
KB2603
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.
Hi,
Under CCS4, what compiler should be selected to compile OMAP-L138 Arm code?
KB2603
TMS470.. covers all ARM variants TI supplies.
Regards
Thx for your response.
From the Build menu of a project, I can see a list of device starting with "TMS470":
TMS470MF03106
TMS470MF03107
TMS470MF04207
TMS470MF06607
TMS470MF06608
TMS470MSF542
Which one corresponds to OMAP-L138 ARM?
Thx
KB
None. You need to select " Generic ARM9 Device" in the build properties. See the CCS Build/General tab -> Device Variant.
Make sure that C/C++ Build/TMS470 Compiler/Basic Options has the target processor version set to '5e'.
That should take care about your ARM side compiler to generate ARM9 code.
Frank,
Thx for your response.
I wanted to make sure I was using the right compiler for the OMAP L138 ARM926ejs core.
I see sometimes in source code (mainly in the boot.asm code of LED blink example) some constants such as:
__TI_TMS470_V7M3__
__TI_EABI_ASSEMBLER
__TI_ARM9ABI_ASSEMBLER
.TMS470_32BIS
.TMS470_16BIS
__TI_NEON_SUPPORT__
__TI_VFP_SUPPORT__
Do you know where those constants are defined?
I checked the version of ARM9 compiler installed: TI v4.6.3
Rgds
KB
To my knowledge the constants are defined by the compiler depending on code generation and optimization settings.
Regards.
Frank,
Is there any document specifying those constants for each CCS/compiler version?
Thx
KB