Skip to content

remove pico/stdlib.h include to fix pico build#10

Open
tahnok wants to merge 1 commit intojoeycastillo:mainfrom
tahnok:fix-pico-build
Open

remove pico/stdlib.h include to fix pico build#10
tahnok wants to merge 1 commit intojoeycastillo:mainfrom
tahnok:fix-pico-build

Conversation

@tahnok
Copy link

@tahnok tahnok commented Dec 23, 2025

Using the current versions of platformio libraries available today, I can't run platformio run -e pico without hitting

Compiling .pio/build/pico/src/platform/pico/stdlib.c.o
In file included from src/platform/pico/sleep.c:9:
/home/wes/.platformio/packages/framework-arduino-mbed/cores/arduino/mbed/targets/TARGET_RASPBERRYPI/TARGET_RP2040/pico-sdk/common/pico_stdlib/include/pico/stdlib.h:11:10: fatal error: pico/stdio.h: No such file or directory
   11 | #include "pico/stdio.h"

I found the fix in the fork from @nvts8a in https://github.com/nvts8a/libros/commits/58ede0950a810d9dc43a34748de46154c90a89f4

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