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)
Please note that there are quite a
number of pending issues:
- To my knowledge I had to disable a lot of module to make it
work. It's possible to re-enable these one after the other but
not sure I ported them all to the new build system
- I had some issues with the SSH connection
- Our crash handling mechanism hadn't been ported to the new
system at the time I worked on it
- Our ESP-IDF fork added a field `uxMutexesHeld` to `struct
xTASK_STATUS` :
https://github.com/openvehicles/esp-idf/commit/95e43fc2c4360f8126a0985bf037a293bebe3767
, which is then used in `module_tasks()` in
`vehicle/OVMS.V3/main/ovms_module.cpp`. Not available in the
ESP-IDF 5+ unless we patch it
- A few things have changed (since ESP-IDF v3), been ported to
new subsystem so a few bugs are still hidden here and there.
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