Closed microbuilder closed 8 years ago
I am OK with either way.
Currently we have this:
$ python feather_dfu.py
Usage: feather_dfu.py [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
arduino_upgrade
enter_dfu
factory_reset
featherlib_upgrade
reboot
Lets changes this to:
factory_reset
- Clear DCT/NVM, kill Arduino code, then resetnvm_reset
- Add to clear DCT/NVM, then reset (leaving Arduino code intact)
A new wipe command should be added to feather_dfu.py to erase the contents of the Arduino flash section, which may be useful when even a factory reset fails.
Or perhaps factory reset should be updated to kill this section of flash, since that might actually be closer to a factory reset situation???