Skip to content
Snippets Groups Projects
Commit 4b4cbb03 authored by Aaron Sowry's avatar Aaron Sowry Committed by Aaron Sowry
Browse files

boards/openmote-cc2538: Add RF driver as dependency for board

parent a2ba22dd
No related branches found
No related tags found
No related merge requests found
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
USEMODULE += netif
USEMODULE += cc2538_rf
USEMODULE += gnrc_netdev2
USEMODULE += netdev2_ieee802154
endif
...@@ -14,6 +14,7 @@ ifeq ($(PROGRAMMER),jlink) ...@@ -14,6 +14,7 @@ ifeq ($(PROGRAMMER),jlink)
export JLINK_DEVICE := cc2538sf53 export JLINK_DEVICE := cc2538sf53
export JLINK_FLASH_ADDR := 200000 export JLINK_FLASH_ADDR := 200000
export JLINK_IF := JTAG export JLINK_IF := JTAG
export TUI := 1
include $(RIOTBOARD)/Makefile.include.jlink include $(RIOTBOARD)/Makefile.include.jlink
else else
export OFLAGS = -O binary export OFLAGS = -O binary
...@@ -24,3 +25,6 @@ endif ...@@ -24,3 +25,6 @@ endif
# setup serial terminal # setup serial terminal
include $(RIOTBOARD)/Makefile.include.serial include $(RIOTBOARD)/Makefile.include.serial
# Include board dependencies
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
...@@ -214,6 +214,13 @@ static const periph_spi_conf_t spi_config[SPI_NUMOF] = { ...@@ -214,6 +214,13 @@ static const periph_spi_conf_t spi_config[SPI_NUMOF] = {
#define GPIO_31_PIN GPIO_PD7 #define GPIO_31_PIN GPIO_PD7
/** @} */ /** @} */
/**
* @name Radio peripheral configuration
* @{
*/
#define RADIO_IRQ_PRIO 1
/** @} */
#ifdef __cplusplus #ifdef __cplusplus
} /* end extern "C" */ } /* end extern "C" */
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment