We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi guys,
I'm wishing to move the location of the stack but how is this possible? In the startup.s I have
EXPORT __initial_sp Stack_Size EQU 0x00000200 AREA STACK, NOINIT, READWRITE, ALIGN=3 Stack_Mem SPACE Stack_Size __initial_sp
However there's no option for the location and nothing specific for the stack appears to show up in the generate scatter file.
I'm a little lost and would appreciate any help.
Many thanks
Yes, I will ultimately do this if I have no choice but I was hoping to keep within the default uVision layout - this is so that those who come after me will have less of a learning curve and the software is easier to maintain.
It feels as though I should be able to reserve a block of space within an area without having to resort to scatter files.
One thing I can say form all of this is that the scatter-file/memory allocation system in uVision could do with a rethink and overhaul. Ideally you want scatter file editing to be natively possible, as it seems, for me at least, I almost always end up having to implement my own.