-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PlatformIO is Broken with "KeyError: \"Invalid board option 'build.family'\"" #264
Comments
Does it work if you remove LibreTiny from PIO and install it again with Please check if you have all the files in |
I deleted all the libretiny folders under Here is the dir for the
and
Not that it's surprising but I get the same issue trying the GUI "New Project" in PIO-Home page. I also checked the forked repo and they all appear there too. I have been working on a few things (BK72xx deep_sleep and I2C/soft_i2c) in a local ESPHome venv environment on the same PC without issue. IDK if this could be causing issues? |
Wow sorry for the trouble on this one! I found the issue by adding some |
Oh. I hate that PIO seems to call platform.py files with OTHER platforms' boards... this is a mess. Anyway, LT should be able to handle such a case (e.g. filter out/ignore all non-LibreTiny boards), so I'll reopen this as a bug. Thanks for finding the issue! |
I have been testing the i2c (Wire) implementation for BK72XX chips (so far so good BTW just jamming it into ESPHome i2c component) and wanted to see if I could get SoftWire working on a Temperature-Humidity board before diving into ESPHome. I found that trying to develop in PlatformIO under VSCode is broken if I leave libretiny in the .platformio directory. I thought this was something to do with my fork and developing for ESPHome but does not seem to be the case. If I remove libretiny from C:\User\user\.platformio\platforms\ then PIO goes back to working.
I noticed you pushed some changes to https://registry.platformio.org/platforms/kuba2k2/libretiny/boards recently so maybe I am just jumping into the middle of something that's a work in progress.
I tried updating PIO but my PIO version is latest at v6.1.14b1.
I also tried installing libretiny from PIO CLI command line with the same result.
With the microcontroller stuff I am half useful...but here I am next to useless tracking this down.
The text was updated successfully, but these errors were encountered: