Hello everybody!
I am working on a network system that uses the ESP32-C3-MINI-1 modules as nodes and the ESP32-WROVER module as the base-station.
I need to work in parallel with both modules on the same PC. Unfortunately that means to have to constantly call idf.py set-target esp32 versus idf.py set-target esp32s2 to switch the target, which everytime overwrites the respective sdkconfig.
Since I use as well an own partition file on both modules, I also have to use everytime idf.py menuconfig to manually (re-)set the partition file again.
Having to do this everytime is extremly annoying!
Does anybody know about a trick or workaround that I am missing? Any help is highly appreciated!
Thanks!
How can I switch IDF targets easily and often?
-
- Posts: 9749
- Joined: Thu Nov 26, 2015 4:08 am
Re: How can I switch IDF targets easily and often?
I think you should be able to move all your project components, including the main project components, into a third directory. Then start a separate project both for the C3 and the S2, and add the path to the common components in the CMakefiles.txt file.
Who is online
Users browsing this forum: Usama Masood and 96 guests