Add support for the OpenMote-CC2538 Rev.A1 board that uses the CC2538SF23 (256 KB) chip instead of the CC2538SF53 (512 KB) chip.

This commit is contained in:
Pere Tuset 2016-12-29 12:10:21 +01:00
parent 1a993da8fc
commit b72110fe8a

View file

@ -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