diff --git a/makefiles/pseudomodules.inc.mk b/makefiles/pseudomodules.inc.mk index 3f0b799ed4..748647fe37 100644 --- a/makefiles/pseudomodules.inc.mk +++ b/makefiles/pseudomodules.inc.mk @@ -65,6 +65,7 @@ PSEUDOMODULES += saul_adc PSEUDOMODULES += saul_default PSEUDOMODULES += saul_gpio PSEUDOMODULES += saul_nrf_temperature +PSEUDOMODULES += scanf_float PSEUDOMODULES += schedstatistics PSEUDOMODULES += sock PSEUDOMODULES += sock_ip diff --git a/sys/Makefile.include b/sys/Makefile.include index 1779637afa..a9ab8095ef 100644 --- a/sys/Makefile.include +++ b/sys/Makefile.include @@ -77,6 +77,12 @@ ifneq (,$(filter printf_float,$(USEMODULE))) endif endif +ifneq (,$(filter scanf_float,$(USEMODULE))) + ifeq (1,$(USE_NANO_SPECS)) + export LINKFLAGS += -u _scanf_float + endif +endif + ifneq (,$(filter riotboot,$(FEATURES_USED))) include $(RIOTBASE)/sys/riotboot/Makefile.include endif