Tool/software: TI C/C++ Compiler
Hi all,
I'm trying to get two the scratchpad of two CLA objects (CLA1_main.c and CLA2_main.c) in one union.
But get the message 10030-D expecting section type (COPY, DSECT, or NOLOAD) instead of ".scratchpad"
[code]
UNION (ClaScratchpads) > CLA_DRAMLS2 PAGE(DataPage)
{ CLA1_main.obj(.scratchpad)
CLA2_main.obj(.scratchpad)
}
[/code]
while this declaration does work:
[code]
ClaScratchpads > CLA_DRAMLS2 PAGE(DataPage)
{ CLA1_main.obj(.scratchpad)
}
[/code]
And what I would like to have is:
[code]
UNION (ClaScratchpads) > CLA_DRAMLS2 PAGE(DataPage)
{ GROUP (CLA1scratch)
{ CLA1_main.obj (.scratchpad)
CLA1_task1.obj(.scratchpad)
CLA1_task2.obj(.scratchpad)
}
GROUP (CLA2scratch)
{ CLA2_main.obj (.scratchpad)
CLA2_task1.obj(.scratchpad)
CLA2_task2.obj(.scratchpad)
}
}
[/code]
Is this an issue in the compiler/linker?
Best regards,