summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlorent Duchon2012-05-03 23:50:30 +0200
committerFlorent Duchon2012-05-04 00:06:29 +0200
commit1ead3b0f14353ea5fcb756d4cc99d10d437be08b (patch)
tree605aad0539381af8120c2774e965fe796efef2c1
parentf9fec81cc69e1c70bf1b95b971369c4cffb6fd72 (diff)
digital/beacon: add float support with avr-libc
-rw-r--r--digital/beacon/src/makefiles/Makefile_All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/digital/beacon/src/makefiles/Makefile_All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc b/digital/beacon/src/makefiles/Makefile_All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc
index 6597e6f6..3f770992 100644
--- a/digital/beacon/src/makefiles/Makefile_All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc
+++ b/digital/beacon/src/makefiles/Makefile_All_ZigBit_Atmega1281_Rf230_8Mhz_Gcc
@@ -103,6 +103,7 @@ LD = $(CC)
LINKER_FLAGS = -Wl,-Map=$(LIST_PATH)/$(APP_NAME).map -Wl,--gc-sections
LINKER_FLAGS += -Wl,--script=./../atmega1281.ld
LINKER_FLAGS += $(filter -mmcu%,$(CFLAGS))
+LINKER_FLAGS += -Wl,-u,vfprintf -lprintf_flt -lm
.PHONY: all directories clean size root_files