diff options
author | Bernhard Tittelbach <bernhard@tittelbach.org> | 2016-06-12 18:24:37 +0200 |
---|---|---|
committer | Bernhard Tittelbach <bernhard@tittelbach.org> | 2016-06-12 18:24:37 +0200 |
commit | 560b3f6852f569cb5e42eb430152937440a46cd7 (patch) | |
tree | c29b721e11e96c86ff3193e92e2ff96e5555e4e2 /usb-spi | |
parent | bootloader is pretty fast so we need to be too (diff) |
BMP280 library and example
Diffstat (limited to 'usb-spi')
-rw-r--r-- | usb-spi/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usb-spi/Makefile b/usb-spi/Makefile index 5e9b2c3..27ff005 100644 --- a/usb-spi/Makefile +++ b/usb-spi/Makefile @@ -21,7 +21,7 @@ ## NAME := usb-spi -BOARD_TYPE := teensy2 +BOARD_TYPE := arduinoProMicro OBJ := $(NAME).o LIBS := util led lufa-descriptor-usbserial EXTERNAL_LIBS := lufa @@ -43,3 +43,8 @@ LUFA_OPTS += -D USB_PRODUCT="L\"spreadspace usb-spi example\"" LUFA_COMPONENTS := USB USBCLASS include $(SPREADAVR_PATH)/include.mk + +LDFLAGS += -Wl,-u,vfprintf -lprintf_flt -lm +AVRDUDE_PORT := $(shell $(SPREADAVR_PATH)/tools/detect_newest_acm) +#AVRDUDE_PORT := $(shell $(SPREADAVR_PATH)/tools/detect_lufa_cdc 1) +RESET_FUNC := $(SPREADAVR_PATH)/tools/reset_sparkfun |