libretiny-eu / libretiny

PlatformIO development platform for IoT modules
http://docs.libretiny.eu/
MIT License
383 stars 55 forks source link

ESPHome 2023.9.1 - error "Platform missing. You must include one of the available platform key esp32, esp8266, rp2040, host" #177

Closed MnM001 closed 9 months ago

MnM001 commented 9 months ago

I updated to ESPHome 2023.9.1.

image

It does mention that libretiny is natively supported now. However get the error below:

image

LibreTiny ESPHome - no errors there

image

image

Cossid commented 9 months ago

Try removing

framework:
  version: dev

and doing a "Clean Build Files"

MnM001 commented 9 months ago

Same error. The error is one the bk72xx line.... Cleaning build files did not solve the issue:

image

Cossid commented 9 months ago

That's a different error. You need to replace ledc with libretiny_pwm moving forward.

MnM001 commented 9 months ago

And that worked :) - thanks.

Are any more changes like this? I don't think I saw anything documented for this.

Cossid commented 9 months ago

Nope, that is pretty much it.