A const volatilemeans that your C program cannot legally change it, but something else. It would be logical to put this variable in RAM, but the compiler will not complain if you report it (via the linker script or a similar option) for placement in ROM. It may also be useful to find this variable if any device with memory mapping is, for example. read-only timer counter register or ADC output register.
source
share