Added board definitions for Facedancer10.
[goodfet] / firmware / config.mk
index 2f45036..e08a757 100644 (file)
@@ -20,6 +20,7 @@ mcu ?= msp430f2274
 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))
@@ -28,11 +29,17 @@ platform := goodfet
 CONFIG_nrf = y
 endif
 
-ifneq (,$(findstring $(board),zolertiaz1))
+ifneq (,$(findstring $(board),facedancer10))
 mcu ?= msp430f2618
 platform := goodfet
-CONFIG_ccspi = y
-MSP430BSL?=z1-bsl --z1  --speed=38400
+config = monitor spi maxusb
+endif
+
+ifeq ($(board),z1)
+mcu ?= msp430f2617
+platform := z1
+config = monitor spi ccspi
+MSP430BSL?=goodfet.bsl --z1  --speed=38400
 endif
 
 ifneq (,$(findstring $(board),goodfet24))