Hi, I am compiling a C based TC for Cortex M4. I have set the memory map and the testcase compiles to the point where the scatter file generates an error with the following message.
r0p1_TCS.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST. r0p1_TCS.sct: Not enough information to list image symbols.
I do not know where or what I should change. as such the TC does not seem to have any errors so far. Please help urgently.
Link with "--info unused" to see in the build log which objects were removed by the linker. One of these may be the entry point to your program.
So that means the settings are such that the scatter file cannot place the code right ? Where can I get this option in the GUI ?
Do I need to provide the exact memory map as is defined for ARM Cortex M4 ?
No. Your program must not exceed the memory boundaries of your device. You don't need to specify each and every memory region in the scatter file - ignore the parts you don't use or engulf then in a overlapping definition.
Where can I get this option in the GUI ?
Place it in the "Options for target->linker->misc controls" dialog box.
HI, I have put the option in the GUI at the place you have suggested. But the error remains. Am I missing something else or do I need to look for something else. Sorry for asking such basic questions , this is my first time with an ARM MDK.
I did not say it will solve your problem - only that is will generate extra log data during the build phase.
Thanks for your inputs. In case you know any setting which may be of help perhaps. Please let me know.