Markking section of memory as do not use

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by jab on Thu Nov 03 12:27:08 MST 2011

I wanted to know fit here is a way to tell the compiler to not to use a section of memory in the microcontroller.

Say for example I wanted to build a dynamically growing software stack, so i mark off 10k of memory which i can have a pointer to the base address and a pointer to the top of the stack.

How can i tell the compiler not to put any variables in that space, either marking it as do not use or fooling the compiler into thinking it doesnt exist.