I'd like to create an MQX test application on an MPC5644A MCU. In order to configure the memory usage, I modified the "shipped" lcf file.
My problem is that wherever I use the section ".Foo" expression, the linker throws the following error:
Linker command file output section '.Foo' has a type or input which is incompatible with section '.__Foo' in file ... Change the type or add an input for this section.
For example I'd like set where to put the interrupt table. The relevant part of my lcf file:
And in the c source code I use the following pragmas:
Finally the error:
Description Resource Path Location Type
Linker command file output section '.__exception_handlers' has a type or input which is incompatible with section '.__exception_handlers' in file 'C:\Freescale\Freescale_MQX_4_2\lib\xpc564a.cw10\bsp\Debug\build-bsp_xpc564a- Debug\BSP_Files\IntcInterrupts_c.obj'. Change the type or add an input for this section.
To be honest, I don't understand the lcf syntax for 100%... so any help appreciated!