This is an example that shows that the optimization done by the compiler on the "const" variables is not necessary.
// serial_number is placed in the flash section at FLASH_APPL_CONFIG_ADDR
const uint32_t serial_number …
I want to prevent the compiler from optimizing for const variables.
Is there an attribute that must be specified when declaring a const variable
to instruct the compiler in this regard?