only:extracting reusable script
This commit is contained in:
parent
22fe75745a
commit
8f517c22e8
|
@ -6,7 +6,9 @@ set -e
|
|||
|
||||
# for instance
|
||||
#
|
||||
# .github/workflows/hw-ci/ ../.github/workflows/openocd_ci_f4_discovery.cfg
|
||||
# .github/workflows/hw-ci/ ../.github/workflows/openocd_ci_proteus.cfg
|
||||
# .github/workflows/hw-ci/openocd_wipe_and_flash.sh ../.github/workflows/openocd_ci_f4_discovery.cfg
|
||||
# .github/workflows/hw-ci/openocd_wipe_and_flash.sh ../.github/workflows/openocd_ci_proteus.cfg
|
||||
|
||||
cd firmware
|
||||
|
||||
openocd -f "$HW_SCRIPT" -c init -c targets -c "reset halt" -c "flash erase_sector 0 0 11" -c "flash write_image "deliver/rusefi.bin" 0x08000000" -c "reset run" -c "shutdown"
|
Loading…
Reference in New Issue