From b842604f98246afbd62073846f30480f1a2aa1e4 Mon Sep 17 00:00:00 2001 From: Eggert Jung Date: Wed, 30 Mar 2022 16:14:47 +0200 Subject: [PATCH] link with printf float --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dbd02ec..0e7b237 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ BUILDDIR = Builds DEFINES = -I . -IInternet/MQTT -I Internet/MQTT/MQTTPacket/src -I Ethernet/W5500 -I Ethernet -DF_CPU=16000000UL -D_WIZCHIP_=W5100 CFLAGS =-mmcu=$(MCU) -O2 -Wall -Wpedantic $(DEFINES) -std=c99 -ffunction-sections -fdata-sections -LDFLAGS =-mmcu=$(MCU) -Wl,--gc-sections +LDFLAGS =-mmcu=$(MCU) -Wl,-u,vfprintf -lprintf_flt -lm LDFILES = $(foreach FILE,$(FILES),$(BUILDDIR)/$(FILE).o)