Which compiler / toolchain are you using?

This isn't complete, but does show you where you need to start looking.

This is for GCC
https://gcc.gnu.org/onlinedocs/gcc-6...ble-Attributes

You start by annotating your data declaration like so
Code:
uint16_t samples_polled[NUM_SAMPLES_POLLED] _attribute__ ((section ("MY_FOO"))) ;
Coupled with a linker script (see here), you'll be able to place that data at a specific location in the memory map.