Hey guys,
I work with msys32 and the esp-idf, and I want to try a few example and sometimes I forget to change the Serial Port, that's very annoying...
So my question is:
Is it possible to change the presettings for "menuconfig", wich file i have to change for that?
Thank you
presetting at "make menuconfig"
Re: presetting at "make menuconfig"
You can make a file "sdkconfig.defaults" which will set the default settings for a particular project, but you need to make one per project so it's probably not useful for what you're doing.
Better solution for serial port setting is to set an environment variable like this:
Or pass it on the command line like this
In both cases, the envrionment variable overrides the port setting in menuconfig.
(Can also set ESPBAUD the same way, for the baud rate)
Better solution for serial port setting is to set an environment variable like this:
Code: Select all
export ESPPORT=COM20
Code: Select all
make -j4 flash monitor ESPPORT=COM20
(Can also set ESPBAUD the same way, for the baud rate)
Re: presetting at "make menuconfig"
Tank you very much
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 87 guests