A custom-built development board using the ESP32-S3 chip
NOTE: This process only needs to be performed once for each development board
-
Download the Zadig driver installation program here: https://zadig.akeo.ie
-
Open Zadig, then click
Options -> List All Devices
-
Select
USB JTAG/serial debug unit (Interface 0)
and change the driver to USB Serial (CDC) -
Click "Upgrade/Downgrade Driver" (please note, this process may take a few minutes)
-
Select
USB JTAG/serial debug unit (Interface 2)
and change the driver to libusbK -
Click "Upgrade/Downgrade Driver" (please note, this process may take a few minutes)
-
In PlatformIO, configure the platformio.ini file as follows:
[env:esp32-s3-devboard] platform = https://github.com/platformio/platform-espressif32.git board = esp32-s3-devkitc-1 framework = arduino upload_speed = 2000000 monitor_speed = 115200 debug_tool = esp-builtin debug_init_break = break setup build_type = debug ; enables CDC mode (activates USB-to-Serial) build_flags = -DARDUINO_USB_CDC_ON_BOOT=1
- Click the PlatformIO icon on the Activity Bar (left)
- Navigate to
PROJECT TASKS > esp32-s3-devboard > General > Upload and Monitor
(top left) - The firmware will be uploaded automatically and the serial output will be displayed in the terminal
- Click the PlatformIO icon on the Activity Bar (left)
- Navigate to
QUICK ACCESS > Debug > Start Debugging
(bottom left), or pressF5
- The firmware will be uploaded automatically and the debug toolbar will appear (top middle)
- Use the debug toolbar to Pause/Unpause, Restart, or Stop the program (also has code stepping)
- To view the serial output while code is unpaused, click
PlatformIO: Serial Monitor
on the Status Bar (bottom)