changeset 9:16a338171c99 tip

remove random.h after programming
author Frank Kingswood <frank@kingswood-consulting.co.uk>
date Mon, 21 Apr 2014 11:14:00 +0100
parents 1969a435a7a2
children
files Makefile program
diffstat 2 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/Makefile	Mon Apr 21 11:03:21 2014 +0100
     1.2 +++ b/Makefile	Mon Apr 21 11:14:00 2014 +0100
     1.3 @@ -106,15 +106,8 @@
     1.4  		avrdude -p t$(CPU) -u -U efuse:w:$$(($(EFUSE))):m -U hfuse:w:$$(($(HFUSE))):m -U lfuse:w:$$(($(LFUSE))):m
     1.5  
     1.6  program:        main.hex
     1.7 -ifeq "$(CPU)" "atmega32u4"
     1.8  		./program $(DASHV) --program $(CPU) $^
     1.9 -else
    1.10 -		if lsusb -d 03eb:2104 ; then \
    1.11 -			avrdude -c avrispmkII -p m32u4 $(DASHQ) -U flash:w:$^ ; \
    1.12 -		elif lsusb -d  16c0:05dc ; then \
    1.13 -			avrdude -c usbasp-clone -p $(CPU) $(DASHQ) -U flash:w:$^ ;\
    1.14 -		fi
    1.15 -endif
    1.16 +		rm -f random.h
    1.17  
    1.18  term:
    1.19  		avrdude -p t$(CPU) -v -E noreset -t
     2.1 --- a/program	Mon Apr 21 11:03:21 2014 +0100
     2.2 +++ b/program	Mon Apr 21 11:14:00 2014 +0100
     2.3 @@ -113,7 +113,7 @@
     2.4     exit 1
     2.5  fi
     2.6  
     2.7 -sleep 0.5
     2.8 +sleep 1
     2.9  set -x
    2.10  case "$MODE" in
    2.11     Teensy)