953f44b46e
esp32 places the psram start at SOC_EXTRAM_DATA_LOW and it can extend up to SOC_EXTRAM_DATA_SIZE. This is different than esp32-s2 and later, which place the end at EXTRAM_DATA_HIGH and the limitation of SOC_EXTRAM_DATA_SIZE was not previously identified as important. Additionally, the esp32 has a reserved area within himem which was not being accounted for. With this change, the Feather ESP32 V2 feather can be used via thonny, and the other "quick memory corruption tests" I was performing also all succeed instead of failing. Before this change, the incorrect address being used for spiram was 0x3fa00000..0x3fc00000 (2MiB). Now, it's 0x3f800000..0x3f9c0000 (1.75MiB) due to the reserved area and the changed start address. This is intended to be a no-effect change for other espressif chips besides original esp32. |
||
---|---|---|
.. | ||
atmel-samd | ||
broadcom | ||
cxd56 | ||
espressif | ||
litex | ||
mimxrt10xx | ||
nrf | ||
raspberrypi | ||
stm | ||
unix |