Open kallisti5 opened 2 years ago
To build a project in platformio you:
pio run
to pull down toolchains, compile.pio run -t upload
to upload to your deviceI've used platformio for Tasmota and I have to say I'm not a fan. It's heavyweight and I would lose the ability to develop OVMS under FreeBSD if it was adopted for this project so I'm not in favor of switching.
Probably. better to raise this issue on the developers mailing list, rather than a GitHub issue.
In general, we need to do something regarding the base platform, as what we have is getting dated and support for newer devices will require the latest ESP IDF platform. But converting either to some abstraction platform like platformio, or the raw latest ESP IDF, will not be at all simple.
I've used platformio for Tasmota and I have to say I'm not a fan. It's heavyweight and I would lose the ability to develop OVMS under FreeBSD if it was adopted for this project so I'm not in favor of switching.
Last I checked FreeBSD worked just fine. Here's something to reference: https://community.platformio.org/t/platformio-on-freebsd/16472/2
It's probably just "less used" on FreeBSD so it needs a little help sometimes. As for being heavy-weight, that's not really an argument. It's a pretty simple python system to setup dev environments.
Spending an hour or two every few months trying to re-setup the ESP-IDF is pretty heavyweight in comparison.
Just throwing this one out there. It's a potentially big project, but is a lot more common pattern used by ESP32 projects.
PlatformIO fully supports:
The OpenEVSE guys have been building with platformio for years and can support multiple hardware devices with one codebase. https://github.com/OpenEVSE/ESP32_WiFi_V4.x/blob/master/platformio.ini
One of the biggest hurdles around getting started hacking on OVMS was figuring out the Espressif sdk