Skip to content

Commit

Permalink
Add flashing script
Browse files Browse the repository at this point in the history
  • Loading branch information
dron0gus authored and rusefillc committed Jun 7, 2023
1 parent ca7c13c commit 51d2782
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion demos/STM32/RT-AT32F435-ARTERY144/openocd_artery.sh
@@ -1,3 +1,3 @@
#!/bin/sh
openocd -f interface/cmsis-dap.cfg -f ./at32f4x.cfg $*
openocd -f interface/cmsis-dap.cfg -f ./at32f4x.cfg -c '$_TARGETNAME configure -rtos auto' $*

9 changes: 8 additions & 1 deletion demos/STM32/RT-AT32F435-ARTERY144/openocd_artery_flash.sh
@@ -1 +1,8 @@
./openocd_artery.sh -c "program build/ch.bin verify reset exit 0x08000000"
#!/bin/sh
openocd -f interface/cmsis-dap.cfg -f ./at32f4x.cfg \
-c "init" \
-c "halt" \
-c "flash write_image erase build/ch.elf" \
-c "flash verify_image build/ch.elf" \
-c "reset" \
-c "exit"
3 changes: 0 additions & 3 deletions demos/STM32/RT-AT32F435-ARTERY144/openocd_artery_rtos.sh

This file was deleted.

0 comments on commit 51d2782

Please sign in to comment.