altos: Leave floating printf enabled on m3 devices
[fw/altos] / src / stmf0 / Makefile-stmf0.defs
index f3add106902fc6dca051d79da3663c30f149f7cd..536605603e2f403a131238ff54c51acba2c4f168 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)/stmf0:$(AO_VPATH)