Get started with Arduino [S2 series]
Requirements
Installing Hardware package
Configure Board
Use lastest esp32 arduino package
Choose board LOLIN S2 MINI or LOLIN S2 PICO
Upload Code
Make S2 boards into Device Firmware Upgrade (DFU) mode.
Hold on Button 0
Press Button Reset
Release Button 0 When you hear the prompt tone on usb reconnection