And BTW before trying to add PSRAM to STM32 Espruino make sure it even works properly on the chip you plan to use, I've heard bad words about PSRAM on STM32 see e.g. https://dmitry.gr/?r=06.%20Thoughts&proj=11.%20RP2350 4th paragraph "The problem is that properly supporting QSPI PSRAM is hard. ..." - it is for STM32H7 family but it could be similar, so make sure you understand it may not be easy and check errata and look around if someone has it working properly. For ESP32 it took them several hardware revisions of the chip to have it working correctly with PSRAM and initially you have to use their own version of gcc compiler and libraries with specific workarounds for PSRAM so it would not crash in random places. See https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/external-ram.html#chip-revisions for inspiration what can go wrong
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
And BTW before trying to add PSRAM to STM32 Espruino make sure it even works properly on the chip you plan to use, I've heard bad words about PSRAM on STM32 see e.g. https://dmitry.gr/?r=06.%20Thoughts&proj=11.%20RP2350 4th paragraph "The problem is that properly supporting QSPI PSRAM is hard. ..." - it is for STM32H7 family but it could be similar, so make sure you understand it may not be easy and check errata and look around if someone has it working properly. For ESP32 it took them several hardware revisions of the chip to have it working correctly with PSRAM and initially you have to use their own version of gcc compiler and libraries with specific workarounds for PSRAM so it would not crash in random places. See https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/external-ram.html#chip-revisions for inspiration what can go wrong