X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Fconfig.mk;h=0392839ed1c5fe296c1f4e5f67f7f04198f312f7;hp=1461c25c22b7638a6b8838879601a4a8a4455796;hb=cd93d96fd4bcc66ffaeed376702e3e3d414409e7;hpb=c2f96e2641f1cc8c2bc900c01432232c55568c72 diff --git a/firmware/config.mk b/firmware/config.mk index 1461c25..0392839 100644 --- a/firmware/config.mk +++ b/firmware/config.mk @@ -45,12 +45,21 @@ endif ifneq (,$(findstring $(board),telosb)) mcu :=msp430x1612 platform := goodfet -CFLAGS := -DDEBUG_LEVEL=3 -DDEBUG_START=1 -DINBAND_DEBUG +CFLAGS := -Dtelosb +#CFLAGS+= -Werror +config := monitor spi ccspi +endif + +ifneq (,$(findstring $(board),telosbbt)) +mcu :=msp430x1612 +platform := goodfet #CFLAGS+= -Werror config := monitor spi ccspi endif + + ################################## ## These are experimental boards. ################################## @@ -111,6 +120,6 @@ CONFIG_ps2 ?= n CONFIG_slc2 ?= n #The CONFIG_foo vars are only interpreted if $(config) is unset. -#ifeq ($(config),undef) +ifeq ($(config),undef) config += $(foreach app,$(AVAILABLE_APPS),$(if $(findstring $(CONFIG_$(app)),y yes t true Y YES T TRUE),$(app))) -#endif +endif