Other Parts Discussed in Thread: LAUNCHXL2-TMS57012, HALCOGEN
Hi,
My data is not being initialised properly before main() using tiarmclang v1.3.0.
Here is an example:

testValue was placed in .data as shown by this extract of the map file:
.data 0 08002200 00000af4
...
08002abc 00000004 sys_main.o (.data.testValue)
And I placed .data into the RAM MEMORY section with my linker script like this:
MEMORY
{...
RAM (RWI) : origin=0x08002000 length=0x0002E000
}
...
SECTION
{...
.data : {} > RAM
}
I am using startup files generated by HalCoGen, modified slightly to compile with tiarmclang. Is this the source of my problem? If so, is there any example code for the LAUNCHXL2-TMS57012 using tiarmclang?
Thanks,
Adam