atanisoft / ESP32CommandStation

An ESP32 based DCC Command Station with integrated OpenLCB (LCC) --- NOTE: this project is not under active development.
https://atanisoft.github.io/ESP32CommandStation/
GNU General Public License v3.0
90 stars 34 forks source link

Changing an IP address (and possibly other parameters) of WiFi config should not require a full rebuild #46

Closed TrainzLuvr closed 4 years ago

TrainzLuvr commented 4 years ago

Since I am not using the CS as a AP, it connects to my existing WiFi network.

Using idf.py menuconfig I add a static IP address along with my SSID/password parameters.

idf.py build does an entire build all over again, which I believe should not be necessary.

I did not try to see whether changing SSID or password or any other parameter also did a full rebuild, but I presume it does.

atanisoft commented 4 years ago

Changes done inside menuconfig rebuilds the sdkconfig file which results in a full rebuild. That is one downside to the current build mechanism esp-idf uses.

You can also configure all wifi settings via the web interface as well.