examples/device/board_test/README.md
A minimal bring-up test that exercises a board's basic I/O without using the USB stack. Both the device and host stacks are disabled (CFG_TUD_ENABLED/CFG_TUH_ENABLED are 0), so this is the first thing to run when porting to new hardware.
Hello from TinyUSB over stdout/UART on each blink.(No USB class interfaces are present — this example does not enumerate as a USB device.)
Notable tusb_config.h settings:
#define CFG_TUD_ENABLED 0 // device stack disabled
#define CFG_TUH_ENABLED 0 // host stack disabled
CMake:
mkdir build && cd build
cmake -DBOARD=raspberry_pi_pico ..
cmake --build .
Make:
make BOARD=raspberry_pi_pico all
Flash the firmware and watch the on-board LED blink. Open the board's UART (serial console) to see Hello from TinyUSB printed repeatedly, and type characters to see them echoed back. Press and hold the button to speed up the blink rate.