U23 2007/Inhalt Abend 2/Script zur Automation der Befehle

From C4 Wiki
< U23 2007‎ | Inhalt Abend 2
Revision as of 17:54, 21 May 2007 by 87.79.236.180 (talk) (New page: ####### test.sh ######## #!/bin/bash avr-gcc -mmcu=atmega644 -Wall -o direkt.elf direkt.c avr-objcopy -O ihex direkt.elf direkt.hex launch-bootloader /dev/ttyUSB0 115200 && avrdude -p...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
####### test.sh ########
#!/bin/bash
avr-gcc -mmcu=atmega644 -Wall -o direkt.elf direkt.c
avr-objcopy -O ihex direkt.elf direkt.hex
launch-bootloader /dev/ttyUSB0 115200 && avrdude -p m644 -b 115200 -c avr109 -P /dev/ttyUSB0 -F -u -U flash:w:direkt.hex && echo X > /dev/ttyUSB0