Flash firmware
Write a finished program from the book onto an ESP32 board, straight from the browser.
This page needs Web Serial, which only Chrome and Edge on a computer provide. Open the page there,
or build and upload the project with PlatformIO.
Plug the board in with a USB data cable, then press Connect and flash and choose its port.
If the board does not answer, hold its BOOT button while pressing Connect and flash, and let go when the progress bar moves. A XIAO ESP32-S3 is started in its bootloader by holding BOOT while plugging it in. Flashing replaces the whole program on the board; uploading from PlatformIO later works as before.