summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-07-23 11:09:27 +1000
committerDamien George <damien@micropython.org>2024-08-14 15:57:16 +1000
commit052693e4495354daabb4d61e97121283334c6665 (patch)
treeaca89cf9a85db48aa3d97ad185c3839bda9b2764
parenta4f9c0cc2ac913030458a9fd11f1d49b288cce18 (diff)
downloadmicropython-052693e4495354daabb4d61e97121283334c6665.tar.gz
micropython-052693e4495354daabb4d61e97121283334c6665.zip
esp32/boards: Reduce IRAM usage.
Disable unnecessary IRAM ISR functionality. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
-rw-r--r--ports/esp32/boards/sdkconfig.base4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/esp32/boards/sdkconfig.base b/ports/esp32/boards/sdkconfig.base
index fef25fe308..ca36206d1b 100644
--- a/ports/esp32/boards/sdkconfig.base
+++ b/ports/esp32/boards/sdkconfig.base
@@ -99,6 +99,10 @@ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-4MiB.csv"
# To reduce iRAM usage
CONFIG_ESP32_WIFI_IRAM_OPT=n
CONFIG_ESP32_WIFI_RX_IRAM_OPT=n
+CONFIG_SPI_MASTER_ISR_IN_IRAM=n
+CONFIG_SPI_SLAVE_ISR_IN_IRAM=n
+CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR=n
+CONFIG_PERIPH_CTRL_FUNC_IN_IRAM=n
# Legacy ADC Calibration Configuration
# Only on: ESP32