SnapDragonfly / SnapAirUnit

SnapAirUnit aims to provide an basic kit connecting open-source flight controller and snap/python programming language.
GNU General Public License v3.0
1 stars 2 forks source link

Restore factory settings by long press button #15

Closed lida2003 closed 1 year ago

lida2003 commented 1 year ago

Suggested way: a) Long press button b) > 3 seconds, led start blinking, when released trigger reboot c) > 6 seconds, led extinguished for about 1 seconds and reboot

lida2003 commented 1 year ago

Since HW design use reset + mode key, so long press for factory settings restore function.

I (29114) fac: Restore AP ssid & pass OK!
I (29114) fac: Restore Station ssid & pass OK!
Restarting in 3 seconds...
Restarting in 2 seconds...
Restarting in 1 seconds...
Restarting in 0 seconds...
Restarting now.
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7012
load:0x40078000,len:15452