diff options
Diffstat (limited to 'platform/atm2/ATM22xx-x1x/user/flash_program.sh')
-rw-r--r-- | platform/atm2/ATM22xx-x1x/user/flash_program.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/atm2/ATM22xx-x1x/user/flash_program.sh b/platform/atm2/ATM22xx-x1x/user/flash_program.sh new file mode 100644 index 0000000..ed479ca --- /dev/null +++ b/platform/atm2/ATM22xx-x1x/user/flash_program.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +echo "" +echo "Flashing program from directory $1" +echo "" + +[ -d $1 ] && cd $1 && make program + |