keyboard/upload.sh

8 lines
144 B
Bash
Executable File

#!/bin/bash
st-flash --reset write .build/keyboard.bin 0x8000000
if [ $? -ne 0 ]
then
st-flash --reset write .build/keyboard.bin 0x8000000
fi