I could not find any direct references of how to do this and if this is possible at all?
I want to use idf.py tool set through platformion, (if that makes sense at all?)
p.s.
Platformio sometimes has pretty nasty behaviour, it sticks to system, glues into the system paths and by default destroys the python/pip installs and behaviours. At the same time, it’s also pretty good tool for what it’s made.
Please elaborate… on what OS, and in what way? On Windows, it uses a self-contained python install, so doesn’t interact with any other version you have installed (if any). On linux, it uses virtualenv, so works with a containerised python install, so again doesn’t interact with the system python install.
Right, I didn’t dig deep how is set, I just realized that using pip and installing something else all gets “drown in to” pio… I couldn’t use python normally on my computer because of that any more.
The facts it puts whole bin/ from pio on the $PATH confused some of the apps in my computer.
Didn’t investigate much but that’s what I have noticed.
Btw it’s Ubuntu and Debian. If that really matters much. I believe it runs same on any Linux.
But that was just a comment.
I’ll rephrase my question.
Is there any documentation regarding pio and esp-idf development???
What is the workflow of setting up the environment, how to run setup script like idf.py menuconfig?
That’s why you use the virutalenv … if you install platformio into a virtualenv, it doesn’t touch the rest of your python install. And yeah, it would the pretty much the same to any Linux install. If you install it via IDE, say VSCode, it would be entirely different… even on linux it uses virtualenv, so it doesn’t touch the rest of your system.
Anyway, that’s beside the point…
I believe the current way to configure values that you would normally configure via menuconfig is to use a sdkconfig.h file in your \src directory - i.e. manual edits. Going by this post and comments on Github, Ivan is mainly waiting on espressif to make changes to their build system, unless that has since happened?
That’s my understanding… yes, still a work in progress. However, keep an eye on this thread, as there are more experienced people/ESP-IDF users on the forum, who might be able to give pointers on how to continue to do things with menuconfig… or alternatives… etc