I am using ESP32 S3 DevKitC-1 N16R8. When I upload it with Arduino IDE, it works, but when I compile and upload it with Esphome web, I get the following errors.
I have the same board (from aliExpress with no documentation or support) for several months and use almost the same definition:
esp32:
board: esp32-s3-devkitc-1 # devkit from AliExpress
variant: esp32s3
flash_size: 16MB
framework:
type: esp-idf
version: recommended
psram:
mode: octal
speed: 80MHz
packages:
wi-fi: !include _common_wifi.yaml
logger:
level: DEBUG
hardware_uart: uart0 # right USB-C with uart0 shows only the hardware initialisation before calling app_main() unless you add this line
# level: VERBOSE
esphome:
name: $devicename
platformio_options:
board_build.flash_mode: dio
on_boot:
then:
- logger.log: " "
- logger.log: "########## ON_BOOT ##########"
on_shutdown:
- priority: -100
then:
- logger.log: "##### on_shutdown -100 finished. "
Is that your full yaml code ? If so, it could be that you haven’t given the ESP32 anything to do, so it is doing nothing over and over again.
Looking at the USB log from my ESP32, the first difference is that mine shows [2025-06-21 07:52:05] mode:DIO, clock div:1 before continuing with details of where it is loading the program, etc. … so maybe see if board_build.flash_mode: dio helps.