- Install VSCode Arduino extension
- Add
https://espressif.github.io/arduino-esp32/package_esp32_index.json
to board manager URLs - Install "esp32 by Espressif Systems"
- Select esp32 dev module as board
- Initialize project
- Install dependencies using Library Manager