house keeping
This commit is contained in:
@@ -46,26 +46,24 @@ SRC_C += $(subst $(TOP)/,,$(wildcard $(TOP)/hw/bsp/$(BOARD)/*.c))
|
|||||||
|
|
||||||
# Compiler Flags
|
# Compiler Flags
|
||||||
CFLAGS += \
|
CFLAGS += \
|
||||||
|
-fdata-sections \
|
||||||
|
-ffunction-sections \
|
||||||
-fsingle-precision-constant \
|
-fsingle-precision-constant \
|
||||||
-fno-strict-aliasing \
|
-fno-strict-aliasing \
|
||||||
-Wdouble-promotion \
|
-Wdouble-promotion \
|
||||||
-Wno-endif-labels \
|
|
||||||
-Wstrict-prototypes \
|
-Wstrict-prototypes \
|
||||||
-Wall \
|
-Wall \
|
||||||
-Wextra \
|
-Wextra \
|
||||||
-Werror \
|
-Werror \
|
||||||
-Werror-implicit-function-declaration \
|
|
||||||
-Wfatal-errors \
|
-Wfatal-errors \
|
||||||
|
-Werror-implicit-function-declaration \
|
||||||
-Wfloat-equal \
|
-Wfloat-equal \
|
||||||
-Wundef \
|
-Wundef \
|
||||||
-Wshadow \
|
-Wshadow \
|
||||||
-Wwrite-strings \
|
-Wwrite-strings \
|
||||||
-Wsign-compare \
|
-Wsign-compare \
|
||||||
-Wmissing-format-attribute \
|
-Wmissing-format-attribute \
|
||||||
-Wno-deprecated-declarations \
|
-Wunreachable-code
|
||||||
-Wunreachable-code \
|
|
||||||
-ffunction-sections \
|
|
||||||
-fdata-sections
|
|
||||||
|
|
||||||
# This causes lots of warning with nrf5x build due to nrfx code
|
# This causes lots of warning with nrf5x build due to nrfx code
|
||||||
# CFLAGS += -Wcast-align
|
# CFLAGS += -Wcast-align
|
||||||
|
Reference in New Issue
Block a user