Skip to content

Commit 052693e

Browse files
projectgusdpgeorge
authored andcommitted
esp32/boards: Reduce IRAM usage.
Disable unnecessary IRAM ISR functionality. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <[email protected]>
1 parent a4f9c0c commit 052693e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/esp32/boards/sdkconfig.base

+4
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions-4MiB.csv"
9999
# To reduce iRAM usage
100100
CONFIG_ESP32_WIFI_IRAM_OPT=n
101101
CONFIG_ESP32_WIFI_RX_IRAM_OPT=n
102+
CONFIG_SPI_MASTER_ISR_IN_IRAM=n
103+
CONFIG_SPI_SLAVE_ISR_IN_IRAM=n
104+
CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR=n
105+
CONFIG_PERIPH_CTRL_FUNC_IN_IRAM=n
102106

103107
# Legacy ADC Calibration Configuration
104108
# Only on: ESP32

0 commit comments

Comments
 (0)