mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
include ../Makefile.tests_common
|
|
|
|
BOARD_INSUFFICIENT_MEMORY := calliope-mini chronos microbit msb-430 msb-430h \
|
|
nucleo32-f031 nucleo32-f042 nucleo32-f303 nucleo32-l031 \
|
|
nucleo-f030r8 nucleo-f070rb nucleo-f072rb nucleo-f103rb nucleo-f302r8 \
|
|
nucleo-f334r8 nucleo-l053r8 spark-core stm32f0discovery telosb \
|
|
wsn430-v1_3b wsn430-v1_4 z1
|
|
|
|
USEMODULE += gnrc_netdev_default
|
|
USEMODULE += auto_init_gnrc_netif
|
|
USEMODULE += gnrc_ipv6_router_default
|
|
USEMODULE += gnrc_udp
|
|
USEMODULE += gnrc_rpl
|
|
USEMODULE += auto_init_gnrc_rpl
|
|
USEMODULE += od
|
|
USEMODULE += gnrc_icmpv6_echo
|
|
USEMODULE += shell
|
|
USEMODULE += shell_commands
|
|
USEMODULE += ps
|
|
USEMODULE += netstats_l2
|
|
USEMODULE += netstats_ipv6
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
# Set a custom channel if needed
|
|
ifneq (,$(filter cc110x,$(USEMODULE))) # radio is cc110x sub-GHz
|
|
DEFAULT_CHANNEL ?= 0
|
|
CFLAGS += -DCC110X_DEFAULT_CHANNEL=$(DEFAULT_CHANNEL)
|
|
else
|
|
ifneq (,$(filter at86rf212b,$(USEMODULE))) # radio is IEEE 802.15.4 sub-GHz
|
|
DEFAULT_CHANNEL ?= 5
|
|
FLAGS += -DIEEE802154_DEFAULT_SUBGHZ_CHANNEL=$(DEFAULT_CHANNEL)
|
|
else # radio is IEEE 802.15.4 2.4 GHz
|
|
DEFAULT_CHANNEL ?= 26
|
|
CFLAGS += -DIEEE802154_DEFAULT_CHANNEL=$(DEFAULT_CHANNEL)
|
|
endif
|
|
endif
|