mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
AP_HAL_F4Light: scripts to load & store EEPROM
This commit is contained in:
parent
99a3cd6de3
commit
67a3afbbbd
5
libraries/AP_HAL_F4Light/support/EEPROM_Read.sh
Executable file
5
libraries/AP_HAL_F4Light/support/EEPROM_Read.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/local/stlink/st-flash --reset read $1.bin 0x08004000 0xc000
|
||||
|
||||
|
4
libraries/AP_HAL_F4Light/support/EEPROM_Write.sh
Executable file
4
libraries/AP_HAL_F4Light/support/EEPROM_Write.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
/usr/local/stlink/st-flash --reset write $1.bin 0x08004000
|
||||
|
||||
|
3
libraries/AP_HAL_F4Light/support/EEPROM_Write_DFU.sh
Executable file
3
libraries/AP_HAL_F4Light/support/EEPROM_Write_DFU.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
dfu-util -a 0 --dfuse-address 0x08004000:leave -D $1.bin -R
|
Loading…
Reference in New Issue
Block a user