Hi,
We have an AM335x ICE and are building a SYS/BIOS application. We are experiencing a memory problem and need to move around the code. We have been doing this by inserting a dummy function into the code:
void dummy_sub() <-- inserted in code but not calle
{
}
/*
** The main function
*/
int main(void) {
Task_Handle main_task;
Task_Handle nod_task;
We would then put calls in our code to ensure the linker would include this file. But after forgetting to do this we were surprised that is still showed up in the map file:
8004ebbc memp_init 8004ecb4 memp_malloc 8004ed20 memp_free 8004ed90 main 8004eed8 dummy_sub <--- HERE IT IS 8004ef60 _ZN14rosserial_msgs20RequestParamResponse11deserializeEPh
Is there a flag we are missing ?
Thanks for the help
--jim schimpf
8004ebbc memp_init8004ecb4 memp_malloc8004ed20 memp_free8004ed90 main8004eed8 dummy_sub8004ef60 _ZN14rosserial_msgs20RequestParamResponse11deserializeEPh