I have a requirement to load a windows audio file (.wav) file into the FLASH of a Hercules micro controller.
I have allocated a Memory area to do this.
MEMORY
{
FLASH1 (RX) : origin=0x000A0000 length=0x00060000
}
The compiler reports an error with the .wav file.
SECTIONS
{
..
wavFile:
{
wavfile = .;
Bell.wav
} > FLASH1
}
Please advise how I can load an external data file into the FLASH of the controller.
Rob