Added more warning CFLAGS to all makefiles.
This commit is contained in:
@@ -39,7 +39,11 @@ $(info We seem to be building the example in the source directory. Using local l
|
||||
endif
|
||||
endif
|
||||
|
||||
CFLAGS += -O2 -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
|
||||
CFLAGS += -O2 -g \
|
||||
-Wall -Wextra -Wimplicit-function-declaration \
|
||||
-Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes \
|
||||
-Wundef -Wshadow \
|
||||
-I$(TOOLCHAIN_DIR)/include -fno-common \
|
||||
-mcpu=cortex-m4 -mthumb -MD \
|
||||
-mfloat-abi=hard -mfpu=fpv4-sp-d16 -DLPC43XX
|
||||
LDSCRIPT ?= $(BINARY).ld
|
||||
|
||||
Reference in New Issue
Block a user