Bring-up
Hello World UART heartbeat
Tells you in one page whether the toolchain, flash path and serial monitor work.
Bring-up
Serial log
ESP32 family
Official path: examples/get-started/hello_world
01 Overview
The official Hello World prints a counter. It validates IDF, UART and the chip clock — not a product feature.
- Use when: new PC setup, new module lot, factory flash station.
- Skip when: firmware already downloads reliably.
- Official proves: app_main runs and UART logs appear.
- Official does not: log-level policy or sealing the debug port for production.
02 Hardware
- Chip: any IDF target.
- Minimum parts: USB-UART (on-board or external). Do not rely only on USB-Serial-JTAG if you will debug sleep.
- Pins: UART0 by default (often GPIO1/3). If the custom board moves the port, the dongle must follow.
- Power: flashing draws more than idle; weak USB cables fail here.
03 Software flow
1. idf.py set-target.
2. Build, flash, monitor.
3. app_main loops printf + delay.
4. Leave the monitor with Ctrl+].
5. Products should use ESP_LOGx and drop verbose for release.
04 Core points
- This is a fixture, not a feature.
- Baud, port and chip target must match.
- Plan how the board is programmed after the enclosure is closed — that leads to OTA.
- Custom work: programming header, UART map, factory log format.