Skip to content

fix compilation with pico sdk 2.2.0#19

Open
edo9300 wants to merge 2 commits into
LNH-team:developfrom
edo9300:sdk-2.X
Open

fix compilation with pico sdk 2.2.0#19
edo9300 wants to merge 2 commits into
LNH-team:developfrom
edo9300:sdk-2.X

Conversation

@edo9300
Copy link
Copy Markdown

@edo9300 edo9300 commented Mar 3, 2026

Update sources and cmake file to be compatible with the pico sdk 2.2.0.
The flag PICO_CRT0_ALLOCATE_SPACERS=0 is needed to make the project link properly https://github.com/raspberrypi/pico-sdk/blob/master/src/rp2_common/pico_crt0/crt0.S#L575C37-L586C96 due to a changed behaviour in 1.5.1.
The firmware built against the currently targeted sdk (1.5.0) is binary identical with these changes, so there's no harm in including them already for futureproofing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant