Skip to content

Commit c7044d9

Browse files
committed
feat: configure UART as stdio for RP2040
- Enable UART for stdio (PICO_STDIO_UART=1) - Disable USB for stdio (PICO_STDIO_USB=0)
1 parent 0dd9374 commit c7044d9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/libpico/make-libpico.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ export PATH="$(cd ../../system/picotool; pwd):$PATH"
1111
rm -rf build-rp2040
1212
mkdir build-rp2040
1313
cd build-rp2040
14-
CPU=rp2040 cmake ..
14+
CPU=rp2040 cmake \
15+
-DPICO_STDIO_UART=1 \
16+
-DPICO_STDIO_USB=0 \
17+
..
1518
make -j
1619

1720
rm -rf boot

0 commit comments

Comments
 (0)