Hi Champs,
im trying to initialize a data section to 0 in the linker command file. I'm using the method as described in SPRU186W, Example 7‑25. Linker Command File, demo.cmd.
ctrl_vars: /* Create new ctrl variables section */
{
ctrl.obj(.bss) /* here I'm using test.lib instead of ctrl.obj */
} = 0x00000100 > SLOW_MEM /* Fill with 0x100 and link into RAM */
The only difference to the example is that I'm using a .lib
When b uilding I get the error message expecting output section, GROUP, or UNION
Any idea what's going wrong? Is there a workaround for that?
Kind regards,
one and zero