Project

General

Profile

Revision aadf0a75

IDaadf0a753f5b488ee9ae3f809ea41811074c3f9c
Parent fd73d758
Child 8999628c

Added by Thomas Mullins almost 4 years ago

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.

View differences:

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