SMT32CubeIDE - How to store a const struct at a specific flash memory address?
I'm trying to store a const struct at a specific flash memory location using the STM32CubeIDE. I tried appending the __attribute__((at(address))) to the struct initialization, but the compiler ignores it: "warning: 'at' attribute directive ignored [-Wattributes]"
const runtimeParams params __attribute__((at(0x0801F800))) = {
// ... initialization values
};What would be the correct way to accomplish this?
