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.
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?
Thank you, that's what I needed to know. I will continue to locate variables in the peripheral SRAM via attributes.