Skip to content

Get free stack size on Raspberry Pi Pico2 (RP2350) #3254

@vasya-serega

Description

@vasya-serega

Hi,

who can have any ideas how to get free stack size on Raspberry Pi Pico2 (RP2350)?

On RP2040 we can call rp2040.getFreeStack() and get proper value. On RP2350 the method returns 270272 and it does not seem to be true.

Platform.ini is:

[env:5500_evb_pico2]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = wiznet_5500_evb_pico2
board_build.core = earlephilhower
board_build.filesystem_size = 0.5m
framework = arduino
test_framework = unity
test_build_src = yes
build_flags = 
	'-D SHIELD="W5500-EVB-Pico2"'
build_unflags = -fno-rtti

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions