Content originally posted in LPCWare by efiLabs on Mon Jun 23 01:50:39 MST 2014
thanks for the reply :
since i do not want a custom linker script, the suggested way seems to be the following
Properties -> C/C++ Build -> MCU Settings -> Memory configuration editor and merging all 3 ram regions into one ??? correct ???
do i still need to call the combined sram region Ram0_16 or can i call it Ram0_all as an example ???
if i make these changes tomorrow and check it ... it's past midnight here in Ca ... will these changes be permanent for all future lpc1549 project creations ??? or only for this one ???
my thought was, since the 3 sram regions are contiguous in nature, no gaps, the lpc1549 project creation out of the box would adjust automatically to the end of the sram
why would someone buy a 36 k part and then want the stack pointer in the middle of the 36 k and fiddle with 3 regions ???
since they are contiguous, the plain vanilla thought is to treat it as memory and if anyone wants something special they can adjust the cpu to their individual segmented needs.
sorry ... no criticism, just some thoughts ... i buy a cpu out of the box cause it has 36 k (which isn't a lot to begin with) then most users have one memory. nice to allow for segmentation if needed and use it ... like i thought ...
again ... just some thoughts ... i'm sure your answer before will help others as well to shine light onto where the default stack pointer is
thanks again, cheers efiLabs