Zephyr OS LED blinking application for ESP32 using devicetree overlay to define the GPIO port.
Run the below command inside the example folder
west build -b esp32 .
west flash --esp-device /dev/ttyUSB0
The LED IO port can be changed in boards/esp32.overlay file - <&gpio0 IO-PORT GPIO_ACTIVE_HIGH>;