jn516x: enable -Wall
This commit is contained in:
parent
d48cf89e9b
commit
7d55e89563
@ -48,6 +48,12 @@ LDLIBS := $(subst MiniMac_JN516x, ,$(LDLIBS))
|
||||
LDLIBS += JPT_$(JENNIC_CHIP)
|
||||
endif
|
||||
|
||||
# Enable all warnings
|
||||
CFLAGS += -Wall
|
||||
# Disable warnings that result many false positives with the Contiki core
|
||||
CFLAGS += -Wno-strict-aliasing
|
||||
CFLAGS += -Wno-cast-align
|
||||
|
||||
# Warings as error
|
||||
ifdef WERROR
|
||||
CFLAGS += -Werror
|
||||
@ -69,9 +75,6 @@ SIZE:=$(CROSS_COMPILE)-size
|
||||
OBJCOPY:=$(CROSS_COMPILE)-objcopy
|
||||
OBJDUMP:=$(CROSS_COMPILE)-objdump
|
||||
|
||||
CFLAGS := $(subst -Wcast-align,,$(CFLAGS))
|
||||
CFLAGS := $(subst -Wall,,$(CFLAGS))
|
||||
|
||||
ARCH = ccm-star.c exceptions.c rtimer-arch.c slip_uart0.c clock.c micromac-radio.c \
|
||||
mtarch.c node-id.c watchdog.c log.c ringbufindex.c slip.c sprintf.c
|
||||
# Default uart0 for printf and slip
|
||||
|
Loading…
Reference in New Issue
Block a user