altos/test: Adjust CRC error rate after FEC fix
[fw/altos] / src / Makefile.defs
index d6244feedd159a74d0aed70d4076502a1cb59338..c2d5247cd1ea1cfcbf4129b2e7c291e2f87c3ed7 100644 (file)
@@ -16,16 +16,15 @@ WARN_FLAGS=-Wall -Wextra -Werror -Wcast-align \
        -Wmissing-declarations \
        -Wnested-externs \
        -Wshadow \
-       -Warray-bounds=2
+       -Warray-bounds=2 \
+       -Wconversion
 
 OPT=-Os -Wl,-Map=$(PROGNAME)-$(VERSION).map
 
-NEWLIB_PRINTF_CFLAGS =         -DNEWLIB_INTEGER_PRINTF_SCANF
-
-NEWLIB_CFLAGS= \
-       -ffreestanding -nostdlib \
-       -isystem $(NEWLIB_NANO)/arm-none-eabi/include \
-       $(NEWLIB_PRINTF_CFLAGS)
+PICOLIBC_CFLAGS= \
+       -specs=picolibc.specs \
+       -Wl,--gc-sections \
+       $(PICOLIBC_PRINTF_CFLAGS)
 
 AO_CFLAGS=\
        -std=gnu99 \