How do I tell the Keil C compiler/linker to place certain C-procedures in specific parts of memory?
Example:
The procedure below must be placed at an address above 0x4000.
void ADC_start(){ /*......lots of code.....*/ }
I am using a Cypress CY7C68013A that can only load 16KB from flash to in-chip memory at startup. The rest of the program must be loaded to external memory after startup, so I need to make sure that procedures not used in the startup-parts are placed above 0x4000.
Thank you.
Kind regards,
Carsten Olsen