Examplesο
esp_board_manager/examples/ provides standalone buildable examples that demonstrate the complete workflow: selecting a board, generating board-level code, initializing the board, and obtaining device handles by name. Each example directory includes a README.md with hardware requirements and build instructions.
Example |
Typical Use Case |
Primary Devices Involved |
|---|---|---|
|
Play a WAV prompt tone embedded in firmware |
|
|
Play a WAV file from a microSD card |
|
|
Record microphone input and write to SD card as WAV |
|
|
Capture microphone input and play it back in real time (loopback) |
|
|
Initialize LCD and touchscreen, run the LVGL test UI |
|
examples/common/ provides shared utilities such as WAV header parsing, used by the SD card-related examples.
Before running an example, ensure the target board has the required devices configured in board_devices.yaml (for example, audio_adc and audio_dac for Korvo-class boards, fs_fat for boards with an SD card slot, and display_lcd for boards with a display). After switching boards, re-run idf.py bmgr -b <board> before building.
Test Appsο
esp_board_manager/test_apps/ provides test applications designed for CI and local validation. They cover the board initialization flow across a variety of board configurations. After completing a new board integration, run the test app to fully verify the correctness of the generated code.