diff --git a/platform/openmote-cc2538/Makefile.openmote-cc2538 b/platform/openmote-cc2538/Makefile.openmote-cc2538 index 156599494..ef891fe3c 100644 --- a/platform/openmote-cc2538/Makefile.openmote-cc2538 +++ b/platform/openmote-cc2538/Makefile.openmote-cc2538 @@ -1,5 +1,10 @@ # openmote-cc2538 platform makefile +### Allow the OpenMote-CC2538 platform to support different CC2538 chip revisions +ifeq ($(findstring REV_A1,$(BOARD_REVISION)),REV_A1) + CFLAGS+=-DCC2538_DEV_CONF=CC2538_DEV_CC2538SF23 +endif + ifndef CONTIKI $(error CONTIKI not defined! You must specify where CONTIKI resides!) endif