adafruit / Adafruit_WICED_Arduino

Adafruit WICED Feather Arduino BSP
https://www.adafruit.com/products/3056
27 stars 19 forks source link

Add 'wipe' command to DFU tool #4

Closed microbuilder closed 8 years ago

microbuilder commented 8 years ago

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???

hathach commented 8 years ago

I am OK with either way.

microbuilder commented 8 years ago

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: