Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7995

SDK • Re: HELLO_USB uses USB, but Blink ... Not

$
0
0
#include "pico/printf"
Then in CMakeLists.txt add pico_printf to the linked libraries.
Worked just by changing <stdio.h> to "pico/printf.h", no changes to 'CMakeLists.txt' using 'stdlib' as the only library.

Do system libraries map to ".../pico/..." anyway ?

I also thought Pico SDK used its own 'printf' implementation rather than NewLib but not my field of expertise.

Statistics: Posted by hippy — Thu Jan 29, 2026 11:05 pm



Viewing all articles
Browse latest Browse all 7995

Trending Articles