diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | README | 8 | ||||
-rw-r--r-- | contrib/Makefile | 9 | ||||
-rw-r--r-- | defines.mk | 2 |
4 files changed, 15 insertions, 6 deletions
@@ -9,4 +9,6 @@ contrib/LUFA-* contrib/lufa-LUFA-* contrib/.fastled.prepared contrib/FastLED +contrib/.teesy-loader.prepared +contrib/teensy_loader_cli tuer-rfid/update-keys @@ -7,7 +7,7 @@ binutils-avr gcc-avr avrdude dfu-programmer -teensy_loader +libusb-dev (for teensy_loader_cli) udev example rules @@ -43,9 +43,9 @@ Build Getting the source via GIT: --------------------------- -git clone git://git.spreadspace.org/avr.git -cd avr - +git clone git://git.spreadspace.org/avr-utils.git +cd avr-utils +make -C contrib build and flash blink example ----------------------------- diff --git a/contrib/Makefile b/contrib/Makefile index 5ced434..722114b 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -23,7 +23,7 @@ LUFA_VERSION := 140928 -all: download-lufa update-fastled +all: download-lufa update-fastled update-teensy-loader download-lufa: LUFA-${LUFA_VERSION}.zip @@ -37,3 +37,10 @@ LUFA-${LUFA_VERSION}.zip: update-fastled: .fastled.prepared cd FastLED/; git pull + +.teesy-loader.prepared: + git clone https://github.com/PaulStoffregen/teensy_loader_cli.git + touch $@ + +update-teensy-loader: .teesy-loader.prepared + cd teensy_loader_cli; git pull; make @@ -201,7 +201,7 @@ SIZE = avr-size LIB_DIR = $(SPREADAVR_PATH)/lib DFU = dfu-programmer -teensy = teensy_loader_cli +teensy = $(SPREADAVR_PATH)/contrib/teensy_loader_cli/teensy_loader_cli avrdude = avrdude ## Options common to C and C++ compiler |