Created
November 16, 2014 08:07
-
-
Save andete/7d98c1573731dadfe9ac to your computer and use it in GitHub Desktop.
EFM32 bootloader automatic xmodem upload using screen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmodem: exe/$(PROJECTNAME).bin | |
screen -d -m -S 'serial' /dev/ttyACM4 115200 | |
sleep 0.1 | |
screen -x "serial" -X eval '!!!| echo u' | |
sleep 0.1 | |
screen -x "serial" -X eval "exec !! sx -vv $<" | |
sleep 2 | |
screen -x "serial" -X eval '!!!| echo b' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment