altos: Leave floating printf enabled on m3 devices
[fw/altos] / src / lpc / Makefile-lpc.defs
index fb3747dd5941e91196596c020a54962b57805aef..48153da30d47f916410efb3b695559ba1692f5d7 100644 (file)
@@ -2,6 +2,10 @@ ifndef TOPDIR
 TOPDIR=..
 endif
 
+# Disable floating-point support in printf to save space
+
+PICOLIBC_PRINTF_CFLAGS = -DPICOLIBC_INTEGER_PRINTF_SCANF
+
 include $(TOPDIR)/Makefile.defs
 
 vpath % $(TOPDIR)/lpc:$(AO_VPATH)