Revision aadf0a75
ID | aadf0a753f5b488ee9ae3f809ea41811074c3f9c |
Fixed interrupt bug in AVR serial code
Serial read disabled interrupts at the start, and returned before
reenabling them. Also, made a few other changes in the rx interrupt for
cleaner code. Also, sped up programming in Makefile.
scout_avr/Makefile | ||
---|---|---|
25 | 25 |
avr-g++ $(FLAGS) $(SRC) -o scout_avr.elf |
26 | 26 |
|
27 | 27 |
program: scout_avr.hex |
28 |
avrdude -p $(PART) -c $(PROG) -P usb -B 5 -U flash:w:scout_avr.hex
|
|
28 |
avrdude -p $(PART) -c $(PROG) -P usb -B 1 -U flash:w:scout_avr.hex
|
|
29 | 29 |
|
30 | 30 |
clean: |
31 | 31 |
rm -f scout_avr.elf scout_avr.hex |
Also available in: Unified diff