Initial Commit - Copy from Altus Metrum AltOS

This commit is contained in:
2024-06-25 19:03:04 +02:00
commit 13fc49c923
2048 changed files with 1206748 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/bin/sh
case "$#" in
1)
;;
*)
echo "usage: $0 <filename> ..."
exit 1
;;
esac
openocd -f interface/stlink.cfg \
-c 'transport select hla_swd' \
-c 'set CHIPNAME at91samd21g18' \
-c 'set CPUTAPID 0x0bc11477' \
-f target/at91samdXX.cfg \
-c init \
-c 'reset halt' \
-c 'at91samd bootloader 0' \
-c "program $1 verify reset" \
-c "shutdown"