monitor: use espflash configuration#4
Conversation
Using the default() configuration, if 'y' is answered to the question: "Remember this serial port for future use?" the program panic because the `save_path` variable of the espflash Config is not initialized to a valid directory to store a persistent configuration. Using the load() function allows to skip the questions on next use.
|
It skips the questions but what happens in addition? |
|
If the user has an espflash config file in the current or parent Dir or $HOME/.config/espflash then the questions are skipped and the found USB ids are used. |
|
Sorry for the delay here. Will follow up over the weekend. |
When using the
monitorsubcommand, two questions are asked byespflash:If
yesis answered to the question: "Remember this serial port for future use?" the program panic because thesave_pathvariable of the espflash Config is not initialized to a valid directory to store a persistent configuration.Using the load() function allows to skip the questions on next use.