Hi All
It seems as though some CW10.2 builds have a problem with the linker requiring a particular symbol called
__SP_INIT even when this is not required by the project.
See the following for more details:
http://forums.freescale.com/t5/CodeWarrior-General/SP-INIT-and-the-library-FP-fixedI-Thumb-LE-v7M-a-CW10-2-SE/m-p/103317#M9233 In case of a linking problem due to a missing symbol called
__SP_INIT simply add a dummy symbol to the linker script file (eg.):
} >> sram
__text_load_start__ = ___DATA_ROM;
__text_start__ = __text_load_start__;
__text_end__ = __text_load_start__;
__data_start__ = ___DATA_RAM;
__data_load_start__ = __text_load_start__;
__data_end__ = ___DATA_END;
__bss_start__ = __START_BSS;
__bss_end__= ___BSS_END;
__heap_end__ = __bss_end__;
__SP_INIT = __bss_end__;
}Presumably the actual value is not important.
Regards
Mark