Question
Storing const value to ROM
Hello, is there a way to instruct the compiler to place a const value at a specific address in flash memory? On another toolchain I was able to use
const char array1[4] = {1,2,3,4} absolute 0x9D008000; // stored at flash address 0x9D008000If not, is there another way to control the .hex file output in code. Thanks
Using STM32CubeIDE, gcc
