rp2: Increase micropython stack allocation #2

Merged
matthias merged 1 commits from v1.25-tonberry-fix-stack into v1.25-tonberry 2025-08-24 15:36:00 +00:00
Owner

We were running out of stack for micropython, and the core1 code doesn't
need 4k. So shift the allocation so that micropython has 6k and core1
has 2k. Adjust the linker script since it didn't support splitting
SCRATCH_X between the two stacks.

Signed-off-by: Matthias Blankertz matthias@blankertz.org

We were running out of stack for micropython, and the core1 code doesn't need 4k. So shift the allocation so that micropython has 6k and core1 has 2k. Adjust the linker script since it didn't support splitting SCRATCH_X between the two stacks. Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
matthias self-assigned this 2025-08-20 18:05:11 +00:00
matthias added 1 commit 2025-08-20 18:05:12 +00:00
We were running out of stack for micropython, and the core1 code doesn't
need 4k. So shift the allocation so that micropython has 6k and core1
has 2k. Adjust the linker script since it didn't support splitting
SCRATCH_X between the two stacks.

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
matthias requested review from stefank 2025-08-20 18:05:12 +00:00
matthias added a new dependency 2025-08-20 18:05:41 +00:00
stefank approved these changes 2025-08-24 15:35:44 +00:00
matthias merged commit 7facf4286c into v1.25-tonberry 2025-08-24 15:36:00 +00:00
matthias deleted branch v1.25-tonberry-fix-stack 2025-08-24 15:36:00 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Blocks
#35 misc-minor-fixes
TonBERRY/tonberry-pico
Reference: TonBERRY/micropython#2