1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/avr8_common: implement printf_float

This commit is contained in:
Marian Buschsieweke 2021-09-28 12:35:43 +02:00
parent 7313a1c28c
commit b12a8103e3
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -3,4 +3,8 @@ INCLUDES += -I$(RIOTCPU)/avr8_common/include \
-isystem$(RIOTCPU)/avr8_common/avr_libc_extra/include \
-isystem$(RIOTCPU)/avr8_common/avr_libc_extra/include/vendor
ifneq (,$(filter printf_float,$(USEMODULE)))
LINKFLAGS += -Wl,-u,vfprintf -lprintf_flt -lm
endif
include $(RIOTMAKE)/arch/avr8.inc.mk