[FL-1443, FL-1289] Move assets compilation to separate Makefile. Add scripts folder. Add OTP flashing with DFU. (#531)
* Assets: move assets compilation to separate Makefile. Move all scripts to scripts folder. Add scripts ReadMe. Add precompiled assets. * Split assets.py into separate entities. Option bytes for FL-1289 and checker/setter. * Cli: explicitly initialize variable befor use in api_hal_vcp_rx_with_timeout * Rename ob_check script to ob.
This commit is contained in:
11
scripts/flash_wipe_swd.sh
Executable file
11
scripts/flash_wipe_swd.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -x -e
|
||||
|
||||
STM32_Programmer_CLI -c port=swd -ob RDP=0xBB
|
||||
|
||||
STM32_Programmer_CLI -c port=swd -ob displ
|
||||
|
||||
STM32_Programmer_CLI -c port=swd --readunprotect
|
||||
|
||||
STM32_Programmer_CLI -c port=swd -ob displ
|
Reference in New Issue
Block a user