rp2: Fix stacks for multicore operation

Unfortunately, no way to override this from board config.
This commit is contained in:
2025-03-23 19:11:24 +01:00
parent 0f26771a44
commit e4422b860e

View File

@@ -556,8 +556,8 @@ target_compile_definitions(${MICROPY_TARGET} PRIVATE
LFS1_NO_MALLOC LFS1_NO_DEBUG LFS1_NO_WARN LFS1_NO_ERROR LFS1_NO_ASSERT LFS1_NO_MALLOC LFS1_NO_DEBUG LFS1_NO_WARN LFS1_NO_ERROR LFS1_NO_ASSERT
LFS2_NO_MALLOC LFS2_NO_DEBUG LFS2_NO_WARN LFS2_NO_ERROR LFS2_NO_ASSERT LFS2_NO_MALLOC LFS2_NO_DEBUG LFS2_NO_WARN LFS2_NO_ERROR LFS2_NO_ASSERT
PICO_FLOAT_PROPAGATE_NANS=1 PICO_FLOAT_PROPAGATE_NANS=1
PICO_STACK_SIZE=0x2000 PICO_STACK_SIZE=0x1000
PICO_CORE1_STACK_SIZE=0 PICO_CORE1_STACK_SIZE=0x1000
PICO_MAX_SHARED_IRQ_HANDLERS=8 # we need more than the default PICO_MAX_SHARED_IRQ_HANDLERS=8 # we need more than the default
PICO_PROGRAM_NAME="MicroPython" PICO_PROGRAM_NAME="MicroPython"
PICO_NO_PROGRAM_VERSION_STRING=1 # do it ourselves in main.c PICO_NO_PROGRAM_VERSION_STRING=1 # do it ourselves in main.c