projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/stm32f103-nucleo: Add boot loader
[fw/altos]
/
src
/
Makefile.defs
diff --git
a/src/Makefile.defs
b/src/Makefile.defs
index 6df0c3fe2ac42edba14cb20796e2cda32549d43c..c2d5247cd1ea1cfcbf4129b2e7c291e2f87c3ed7 100644
(file)
--- a/
src/Makefile.defs
+++ b/
src/Makefile.defs
@@
-16,14
+16,15
@@
WARN_FLAGS=-Wall -Wextra -Werror -Wcast-align \
-Wmissing-declarations \
-Wnested-externs \
-Wshadow \
-Wmissing-declarations \
-Wnested-externs \
-Wshadow \
- -Warray-bounds=2
+ -Warray-bounds=2 \
+ -Wconversion
-OPT=-Os
+OPT=-Os
-Wl,-Map=$(PROGNAME)-$(VERSION).map
-
NEWLIB
_CFLAGS= \
- -
ffreestanding -nostdlib
\
- -
DNEWLIB_INTEGER_PRINTF_SCANF
\
- -isystem $(NEWLIB_NANO)/arm-none-eabi/include
+
PICOLIBC
_CFLAGS= \
+ -
specs=picolibc.specs
\
+ -
Wl,--gc-sections
\
+ $(PICOLIBC_PRINTF_CFLAGS)
AO_CFLAGS=\
-std=gnu99 \
AO_CFLAGS=\
-std=gnu99 \