8 years, 1 month ago.

How use the external RAM of platform LPC4088 with the toolchain GCC ARM ?

Hello,

I use the toolchain GCC ARM with the LPC4088 board. I think the linked script file (LPC4088.ld) doesn't allow the external RAM access (address 0xA0000000 -> 0xAFFFFFFF).

How can I use the external RAM with the toolchain GCC ARM ?

I thank you for your attention.

Regards,

Question relating to:

mbed library sources mbed

1 Answer

6 years, 4 months ago.

I'd also like to be able to statically-allocate specific non-initialized variables to memory. Looks like that still requires messing with linker files - and that's kind of brittle if you're exporting your mbed-os-based projects, IMO. Anyway, relevant discussion:

https://community.nxp.com/thread/462953

Meanwhile, I was able to use the external RAM as dynamically-allocated memory with this patch:

https://os.mbed.com/teams/IONX/code/EALib/rev/aba394685794/

and by making this change

https://github.com/ARMmbed/mbed-os/issues/5638

Hopefully mbed-os will integrate the fix in that issue report.