From cf550ad9d1f15d862d7e9fb3526cd57e1ea69057 Mon Sep 17 00:00:00 2001 From: Christian Walther Date: Sat, 28 May 2022 23:01:04 +0200 Subject: [PATCH] esp32/boards: Increase 512 bytes limit on ULP programs to 2040. Allow esp32.ULP.load_binary() to use the maximum amount of memory available again, which is 2040 bytes unless MICROPY_HW_RTC_USER_MEM_MAX is customized. This value regressed in 3d49b157b89a59774fc4958dcaacd2c96ba6eaa4 --- ports/esp32/boards/sdkconfig.base | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/esp32/boards/sdkconfig.base b/ports/esp32/boards/sdkconfig.base index 4b29013434..6b891aa006 100644 --- a/ports/esp32/boards/sdkconfig.base +++ b/ports/esp32/boards/sdkconfig.base @@ -49,6 +49,7 @@ CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y # ULP coprocessor support CONFIG_ESP32_ULP_COPROC_ENABLED=y +CONFIG_ESP32_ULP_COPROC_RESERVE_MEM=2040 # For cmake build CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y