AP_HAL_F4Light: scripts to load & store EEPROM

This commit is contained in:
night-ghost 2018-03-04 14:51:39 +05:00 committed by Andrew Tridgell
parent 99a3cd6de3
commit 67a3afbbbd
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/bin/sh
/usr/local/stlink/st-flash --reset read $1.bin 0x08004000 0xc000

View File

@ -0,0 +1,4 @@
#!/bin/sh
/usr/local/stlink/st-flash --reset write $1.bin 0x08004000

View File

@ -0,0 +1,3 @@
#!/bin/sh
dfu-util -a 0 --dfuse-address 0x08004000:leave -D $1.bin -R