diff --git a/boards/openmote-cc2538/Makefile.dep b/boards/openmote-cc2538/Makefile.dep new file mode 100644 index 0000000000000000000000000000000000000000..3030d87f8ba785e2fe84bfd343a908800676f259 --- /dev/null +++ b/boards/openmote-cc2538/Makefile.dep @@ -0,0 +1,6 @@ +ifneq (,$(filter gnrc_netdev_default,$(USEMODULE))) + USEMODULE += netif + USEMODULE += cc2538_rf + USEMODULE += gnrc_netdev2 + USEMODULE += netdev2_ieee802154 +endif diff --git a/boards/openmote-cc2538/Makefile.include b/boards/openmote-cc2538/Makefile.include index a75c8ff3466063407f836f9dd47b096f770b7455..5a55a6909f1b0c24ca20b37a2f2a8ac2bdb2abb1 100644 --- a/boards/openmote-cc2538/Makefile.include +++ b/boards/openmote-cc2538/Makefile.include @@ -14,6 +14,7 @@ ifeq ($(PROGRAMMER),jlink) export JLINK_DEVICE := cc2538sf53 export JLINK_FLASH_ADDR := 200000 export JLINK_IF := JTAG + export TUI := 1 include $(RIOTBOARD)/Makefile.include.jlink else export OFLAGS = -O binary @@ -24,3 +25,6 @@ endif # setup serial terminal include $(RIOTBOARD)/Makefile.include.serial + +# Include board dependencies +include $(RIOTBOARD)/$(BOARD)/Makefile.dep diff --git a/boards/openmote-cc2538/include/periph_conf.h b/boards/openmote-cc2538/include/periph_conf.h index a2d490908f7f82d1ce4a2c30f180ec8530d6b313..d65c08b0e5597e082cde5a3370734b78badc2b9f 100644 --- a/boards/openmote-cc2538/include/periph_conf.h +++ b/boards/openmote-cc2538/include/periph_conf.h @@ -214,6 +214,13 @@ static const periph_spi_conf_t spi_config[SPI_NUMOF] = { #define GPIO_31_PIN GPIO_PD7 /** @} */ +/** + * @name Radio peripheral configuration + * @{ + */ +#define RADIO_IRQ_PRIO 1 +/** @} */ + #ifdef __cplusplus } /* end extern "C" */ #endif