I am still trying to ensure that the SPI and MMC libraries are located in a specific location but not having much success.
I use the command
Code: Select all
#pragma funcorg MMC_Init 30000
For example, if you look at the statistics>function tree, for Mmc_Init which I have assigned a start address of 30000, there is then listed the Mmc_DeSelect which it has assigned to address 312 (0x0138) amongst other routines.
I have tried to use
Code: Select all
#pragma funcorg Mmc_DeSelect 30362
Code: Select all
void Mmc_DeSelect() org 30362;