本帖最后由 adamjensen 于 2023-3-8 15:27 编辑
换成这个试试,记得清理一下之前的缓存
esphome:
platformio_options:
platform: https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream
platform_packages:
- framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git
board_build.variant: esp32c3
board_build.f_cpu: 160000000L
board_build.f_flash: 40000000L
upload_protocol: esptool
board_build.flash_mode: dio
esp32:
board: esp32-c3-devkitm-1
|