Other Parts Discussed in Thread: SFRA
Tool/software: Code Composer Studio
I tried to build pfc3phvienna project. In file pfc3phvienna_flash_cpu1_f2837x.cmd section
SECTIONS
{
/* Allocate program areas: */
.cinit : > FLASHB PAGE = 0, ALIGN(4)
.pinit : > FLASHB, PAGE = 0, ALIGN(4)
.text : >> FLASHB | FLASHC | FLASHD | FLASHE PAGE = 0, ALIGN(4)
codestart : > BEGIN PAGE = 0, ALIGN(4)
ramfuncs : LOAD = FLASHD,
RUN = RAMLS0LS1LS2LS3LS4,
LOAD_START(_RamfuncsLoadStart),
LOAD_SIZE(_RamfuncsLoadSize),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
RUN_SIZE(_RamfuncsRunSize),
RUN_END(_RamfuncsRunEnd),
PAGE = 0, ALIGN(4)
{
--library=SFRA_FTMU_Lib.lib<SFRA_F_INJECT.obj>
--library=SFRA_FTMU_Lib.lib<SFRA_F_COLLECT.obj>
--library=Solar_Lib_Float.lib
}
at compilation produces errors:
>> Compilation failure
makefile:161: recipe for target 'pfc3phvienna.out' failed
"../pfc3phvienna_flash_cpu1_f2837x.cmd", line 79: warning: no matching section
"../pfc3phvienna_flash_cpu1_f2837x.cmd", line 80: warning: no matching section
error: ".TI.ramfunc" section generated by __attribute__((ramfunc)) or
--ramfunc=on requires a SECTIONS specification to function.
What is wrong?
Thanks,
Leo Dubrovsky