mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-15 00:29:02 +00:00
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)
|
LDLIBS += JPT_$(JENNIC_CHIP)
|
||||||
endif
|
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
|
# Warings as error
|
||||||
ifdef WERROR
|
ifdef WERROR
|
||||||
CFLAGS += -Werror
|
CFLAGS += -Werror
|
||||||
@ -69,9 +75,6 @@ SIZE:=$(CROSS_COMPILE)-size
|
|||||||
OBJCOPY:=$(CROSS_COMPILE)-objcopy
|
OBJCOPY:=$(CROSS_COMPILE)-objcopy
|
||||||
OBJDUMP:=$(CROSS_COMPILE)-objdump
|
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 \
|
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
|
mtarch.c node-id.c watchdog.c log.c ringbufindex.c slip.c sprintf.c
|
||||||
# Default uart0 for printf and slip
|
# Default uart0 for printf and slip
|
||||||
|
Loading…
Reference in New Issue
Block a user