libretiny-eu / libretiny

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

How to use forked `libretiny` inside ESPHome? #201

Closed lmcd closed 8 months ago

lmcd commented 8 months ago

What's the easiest way to tinker with the libretiny codebase inside ESPHome?

Cossid commented 8 months ago

I believe it is something like

bk72xx:
  board: generic-bk7231n-qfn32-tuya
  framework:
    version: 0.0.0
    source: https://github.com/lmcd/libretiny.git

add #branch-name to source if you have a custom branch.

lmcd commented 8 months ago

Thanks! Edit: you can also specify a local path for source 😊

kuba2k2 commented 8 months ago

If you're doing more edits, you can also modify .platformio/platforms/libretiny directly; that's how I'm developing it.