picotool and USB/UART logging
This commit is contained in:
parent
ca2b80f906
commit
069eb3c4f8
|
@ -17,5 +17,9 @@ target_link_libraries(vibe-check
|
|||
pico_cyw43_arch_none
|
||||
)
|
||||
|
||||
# enable debug logging to USB and UART
|
||||
pico_enable_stdio_usb(vibe-check 1)
|
||||
pico_enable_stdio_uart(vibe-check 1)
|
||||
|
||||
# create map/bin/hex/uf2 file in addition to ELF.
|
||||
pico_add_extra_outputs(vibe-check)
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
cmake ninja python3 gcc-arm-embedded
|
||||
picotool
|
||||
];
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
int main() {
|
||||
stdio_init_all();
|
||||
if (cyw43_arch_init()) {
|
||||
printf("Wi-Fi init failed");
|
||||
printf("WiFi init failed");
|
||||
return -1;
|
||||
}
|
||||
while (true) {
|
||||
|
|
Loading…
Reference in a new issue