Skip to content

Commit

Permalink
esp32/boards: Increase 512 bytes limit on ULP programs to 2040.
Browse files Browse the repository at this point in the history
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 3d49b15
  • Loading branch information
cwalther authored and dpgeorge committed Jun 23, 2022
1 parent 5f4539b commit cf550ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ports/esp32/boards/sdkconfig.base
Expand Up @@ -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
Expand Down

0 comments on commit cf550ad

Please sign in to comment.