|
|
|
@ -74,7 +74,7 @@ DEFS += -DSTM32F1 -D$(BOARD) |
|
|
|
|
|
|
|
|
|
# C flags
|
|
|
|
|
CFLAGS += -Os -g
|
|
|
|
|
CFLAGS += -std=c99 -Wpedantic -Wall -Werror -Wundef -Wextra -Wshadow -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes
|
|
|
|
|
CFLAGS += -std=c99 -Wpedantic -Wall -Werror -Wundef -Wextra -Wshadow -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes -Wstrict-overflow=5
|
|
|
|
|
CFLAGS += -fno-common -ffunction-sections -fdata-sections
|
|
|
|
|
CFLAGS += -I. -I$(INCLUDE_DIR) $(patsubst %,-I%,$(LIB))
|
|
|
|
|
CFLAGS += $(DEFS)
|
|
|
|
|