Enable extra warnings
This commit is contained in:
parent
fc86561e4c
commit
1ac5190ea5
3 changed files with 4 additions and 4 deletions
2
makefile
2
makefile
|
@ -23,7 +23,7 @@ endif
|
|||
CFLAGS = -mcpu=cortex-m3 -mthumb \
|
||||
-Os -fno-common -Werror \
|
||||
-nostartfiles \
|
||||
-Wall -Xlinker --gc-sections \
|
||||
-Wall -Wextra -Xlinker --gc-sections \
|
||||
-D$(H_DEVICE) -D_DEFAULT_SOURCE -T$(LD_SCRIPT) \
|
||||
-Wl,-Map=$(BUILD_DIR)/$(PROJECT).map -std=c99 \
|
||||
$(addprefix -I,$(SOURCE_DIRS) $(INCLUDE_DIRS)) $(DEBUG_FLAGS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue