platform := goodfet
# This will link to fit in a '2254, so unneeded packages should be omited.
CONFIG_ccspi = n
+CONFIG_nrf = y
endif
ifneq (,$(findstring $(board),goodfet40 goodfet41))
CONFIG_nrf = y
endif
-ifneq (,$(findstring $(board),zolertiaz1))
-mcu ?= msp430f2618
-platform := goodfet
-CONFIG_ccspi = y
-MSP430BSL?=z1-bsl --z1 --speed=38400
+ifeq ($(board),z1)
+mcu ?= msp430f2617
+platform := z1
+config = monitor spi ccspi
+MSP430BSL?=goodfet.bsl --z1 --speed=38400
endif
ifneq (,$(findstring $(board),goodfet24))