8000 esp32/boards: Increase 512 bytes limit on ULP programs to 2040. · micropython/micropython@cf550ad · GitHub
[go: up one dir, main page]

Skip to content

Commit cf550ad

Browse files
cwaltherdpgeorge
authored andcommitted
esp CFFA 32/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 3d49b15
1 parent 5f4539b commit cf550ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ports/esp32/boards/sdkconfig.base

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y
4949

5050
# ULP coprocessor support
5151
CONFIG_ESP32_ULP_COPROC_ENABLED=y
52+
CONFIG_ESP32_ULP_COPROC_RESERVE_MEM=2040
5253

5354
# For cmake build
5455
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y

0 commit comments

Comments
 (0)
0