-NEWLIB_CFLAGS= \
- -ffreestanding -nostdlib \
- -DNEWLIB_INTEGER_PRINTF_SCANF \
- -isystem $(NEWLIB_NANO)/arm-none-eabi/include
+PICOLIBC_PRINTF_CFLAGS = -DPICOLIBC_INTEGER_PRINTF_SCANF
+
+PICOLIBC_CFLAGS= \
+ -specs=picolibc.specs \
+ $(PICOLIBC_PRINTF_CFLAGS)