Locating large data blocks in LPC4078 SRAM

I want to use all 96K of SRAM available, the main 64K SRAM is at addresses 0x1000 0000 - 0x1000 FFFF, the additional 32K of "peripheral" SRAM is at addresses 0x2000 000 - 0x2000 7FFF.  My questions is, do I have to explicitly locate variables in the peripheral SRAM (which I understand how to do), or can I just blindly keep defining variables in my code and the linker will magically locate them across those two memory/address blocks? Can variables span the address divide?

Parents Reply Children
No data
More questions in this forum