MicroEJ and ESP32-PSRAM

Hello,

I am working on ESP32 with microEJ platform.
We added a PSRAM, and we would like to use the PSRAM to put the microejruntime.
Now, the microejruntime is in the internal ram, as defined in the esp32.project.ld.in file, in the section .dram0.bss
*(ICETEA_HEAP)
*(_java_heap)
*(_java_immortals)

But how to configure the things to make microej going to external PSRAM?

Best regards

Benoit.
Otodo

Hi Benoit,

Beside this file there is a file called esp32.extram.bss.ld in which the section .ext_ram.bss is defined. You can place the heaps and immortals in this section to use the PSRAM.

Regards,

Benjamin