Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
In Keil, I thought it was possible to use the "_at_" construct to place a data structure at a fixed address, i.e.
typedef struct
{
int reg1;
int reg2;
} Registers;
Registers regs _at_ 0x20080000; // Start SRAM block 1.
But the online compiler complains. Is Keil not being used behind the sceenes ?
If not, how are we supposed to place data in e.g. the various SRAM blocks ?
Can you provide an example ?