The Overlay mechanism implemented by Keil is ingenious. Moreover if we want add some functionnality in Eeprom without change ROM code is to my mind impossible because DATA GROUP area will be modified with new local variables used in our new functions in Eeprom. What do you think about this?
Thanks a lot,
By careful use of linker controls you should be able to avoid problems.
Or, if you don't need to overlay, you could just disable it altogether.
Thank you Andrew,
but what do you mean about linkers control?
Is it the following makefile modification in linker part:
By "Linker Controls" I mean the command-line options for the linker.
There are very many Linker Controls for controlling all aspects of the Link & Locate process.
See the Linker manual for details.
View all questions in Keil forum