diff options
author | Christian Pointner <equinox@spreadspace.org> | 2016-06-14 22:41:57 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2016-06-14 22:41:57 +0200 |
commit | caff976a86659b8bd14d7f99e1dbf173cbcc47cc (patch) | |
tree | 2e46259b737408884f586434e4b51eca7500cd88 /usb-bmp280/Makefile | |
parent | remove accidentially added LDFLAGS from usb-spi example (diff) |
added option for printf with float support
Diffstat (limited to 'usb-bmp280/Makefile')
-rw-r--r-- | usb-bmp280/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usb-bmp280/Makefile b/usb-bmp280/Makefile index 5bfc049..d0c6322 100644 --- a/usb-bmp280/Makefile +++ b/usb-bmp280/Makefile @@ -27,6 +27,7 @@ OBJ := $(NAME).o LIBS := util led lufa-descriptor-usbserial usbio bmp280 EXTERNAL_LIBS := lufa SPREADAVR_PATH := .. +PRINTF_HAS_FLOAT := 1 LUFA_PATH := $(SPREADAVR_PATH)/contrib/lufa-LUFA-151115 LUFA_OPTS = -D USB_DEVICE_ONLY @@ -45,7 +46,6 @@ 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 |