本帖最后由 dscao 于 2022-3-29 11:54 编辑
新版的Esphome编译不通过,需要修改:
esphome:
name: air-conditioner
platform: ESP32
board: esp32dev
platformio_options:
platform_packages: |-4
framework-arduinoespressif32 @ https://github.com/pauln/arduino-esp32.git#solo-no-mac-crc/1.0.6
on_loop: # 示例,如果开启蓝牙,需要加入一定的延迟避免触发看门狗(自行测试)
- lambda: |
vTaskDelay(10/portTICK_PERIOD_MS);
为
esphome:
name: air-conditioner
platformio_options:
platform_packages:
- framework-arduinoespressif32 @ https://github.com/pauln/arduino-esp32.git#solo-no-mac-crc/1.0.6
platform:
- [email protected]
on_loop:
- lambda: |
vTaskDelay(10/portTICK_PERIOD_MS);
esp32:
board: esp32doit-devkit-v1
|