2017-01-20 15:46:53 +01:00
|
|
|
# overwrite board, do not set native as default
|
|
|
|
BOARD ?= samr21-xpro
|
|
|
|
include ../Makefile.tests_common
|
2016-02-07 19:52:31 +01:00
|
|
|
|
2016-10-27 17:49:34 +02:00
|
|
|
# MSP-430 doesn't support C11's atomic functionality yet
|
2019-10-16 09:49:26 +02:00
|
|
|
FEATURES_BLACKLIST += arch_msp430
|
2016-10-27 17:49:34 +02:00
|
|
|
|
2016-09-29 15:26:35 +02:00
|
|
|
USEPKG += emb6
|
|
|
|
|
2016-02-07 19:52:31 +01:00
|
|
|
USEMODULE += emb6_router
|
2016-10-27 17:49:34 +02:00
|
|
|
USEMODULE += emb6_sock_udp
|
2016-02-07 19:52:31 +01:00
|
|
|
USEMODULE += ipv6_addr
|
|
|
|
USEMODULE += shell
|
|
|
|
USEMODULE += shell_commands
|
|
|
|
USEMODULE += ps
|
|
|
|
USEMODULE += od
|
|
|
|
|
|
|
|
# define the driver to be used for selected boards
|
|
|
|
ifneq (,$(filter samr21-xpro,$(BOARD)))
|
|
|
|
DRIVER := at86rf233
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter iotlab-m3 fox,$(BOARD)))
|
|
|
|
DRIVER := at86rf231
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter mulle,$(BOARD)))
|
|
|
|
DRIVER := at86rf212b
|
|
|
|
endif
|
|
|
|
|
|
|
|
# use the at86rf231 as fallback device
|
|
|
|
DRIVER ?= at86rf231
|
|
|
|
|
|
|
|
# include the selected driver
|
|
|
|
USEMODULE += $(DRIVER)
|
|
|
|
|
make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
sys, pm_layered: fix casting nonscalar to the same type
cpu, stm32_common: fix type-limits, remove always true assert
cpu, stm32f4: fix pointer arithmetic in periph/i2c
drivers, at86rf2xx: fix type-limits where condition always true
saul, gpio: fix if no gpio configured for saul
cpu, saml21: add frequency check to periph/timer
driver, cc110x: fix unused param and type-limts errors
boards, wsn430-common: fix old-style-declaration
make: fix old style definition
drivers, sdcard_spi: fix old style typedef
driver, at30tse: remove unnecessary check
driver, nrf24: fix type-limit
driver, pn532: change buffer from char to uint8_t
tests/driver_sdcard: fix type limits
boards, feather-m0: add missing field inits
driver, tcs37727: fix type limits
pkg, emb6: disable some compiler warnings
tests/emb6: disable some compiler warings
pkg, openthread: fix sign compare and unused params
tests/trickle: fix struct init
tests/pthread_cooperation: fix type limits
board, mips-malta: remove feature periph_uart
shell: fix var size for netif command
gnrc, netif: fix sign-compare
gnrc, nib: fix sign-compare
shell: fix output in netif command
posix: fix type-limits in pthread_cond
2017-10-31 11:52:18 +01:00
|
|
|
CFLAGS += -Wno-unused-parameter -Wno-unused-function -Wno-type-limits
|
|
|
|
CFLAGS += -Wno-sign-compare -Wno-missing-field-initializers
|
|
|
|
|
2016-02-07 19:52:31 +01:00
|
|
|
include $(RIOTBASE)/Makefile.include
|