Hi Craig,

I've received your 3 mails so it seems that everything went fine - however there may be a little delay between posting and receiving ?

Regarding your "new idf" endeavour it's a good news that you're trying to get your hands dirty on it ! I'll try to help you as much as I can to get you started, however, bear with me, it's been a long time since I did it from scratch so I may omit some (crucial) steps here and there.

First thing - I only really compiled with ESP-IDF 5+ : 5.0.1 / 5.0.2 / 5.0.6 / 5.1.4 / 5.2.2 / 5.3.0 (and also the corresponding "live" branches release-v5.0 / release-v5.1 / release-v5.2 / release-v5.3 , but as these are "moving targets", you can sometime have a working compile and an issue a few months later).

So first I'd set up a (reliable) system to isolate you from any environment variables / default paths on your environment, and have a way to target exactly the ESP-IDF release you want.
You may choose anything from docker, to a combination of environment variables (AFAIC I'm using an environment variable trick mainly around PATH, IDF_TOOLS_PATH, IDF_PATH and using $IDF_PATH/export.sh)

Once you're confident with your setup (i.e. able to compile ESP-IDF's hello world https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html#build-the-project ) then I'd recommend you to checkout OVMS's master in a dedicated tree, and there is a little bit of patching this master before everything compiles cleanly:

You can have a look at the GitHub Action build recipe here https://github.com/llange/Open-Vehicle-Monitoring-System-3/blob/build-master-root/.github/workflows/build-ovms.yml that should be able to build a few different builds based on different ESP-IDF versions.

Please note that there are quite a number of pending issues:

I know it's not a full recipe, and I'll try to update this branch in the following days (but no guarantee that I'll have to time to do so).

I'll also try to answer as quick as I can on the list :-)

Let me know your progress and see how I can help.

Best regards,


Le 15/09/2024 à 20:05, Craig Leres via OvmsDev a écrit :
[wow, I guess I suck at mailing lists!]

Apologies for asking the list but I'm not having any luck searching the archives by eye, a month at a time (and google doesn't appear to crawl lists.openvehicles.com).

Where are the instructions for building the version of ovms that uses a newer idf? What version of the toolchain will I need?

Thanks!

        Craig
_______________________________________________
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev