1 ##################################
2 ## These are production boards.
3 ##################################
5 ifneq (,$(findstring $(board),goodfet20))
9 ifneq (,$(findstring $(board),goodfet30 goodfet31))
11 # This will link to fit in a '2254, so unneeded packages should be omited.
15 ifneq (,$(findstring $(board),goodfet40 goodfet41))
19 ifneq (,$(findstring $(board),goodfet50 goodfet51))
23 ifneq (,$(findstring $(board),telosb))
25 CFLAGS := -DDEBUG_LEVEL=3 -DDEBUG_START=1 -DINBAND_DEBUG
27 config := monitor spi ccspi
31 ##################################
32 ## These are experimental boards.
33 ##################################
35 ifneq (,$(findstring $(board),donbfet))
38 CFLAGS=$(DEBUG) -mmcu=$(mcu) -W -Os -mcall-prologues -Wall -Wextra -Wuninitialized -fpack-struct -fshort-enums -funsigned-bitfields
39 config := monitor avr spi jscan
42 ifneq (,$(findstring $(board),tilaunchpad))
44 CFLAGS := -DDEBUG_LEVEL=3 -DDEBUG_START=1 -DINBAND_DEBUG
46 config := monitor chipcon i2c
53 $(error Please define board, as explained in the README)
57 AVAILABLE_APPS = monitor spi jtag sbw jtag430 jtag430x2 i2c jtagarm7 ejtag jtagxscale openocd chipcon avr pic adc nrf ccspi glitch smartcard ps2
71 CONFIG_jtagxscale ?= n
83 #The CONFIG_foo vars are only interpreted if $(config) is unset.
84 ifeq ($(config),undef)
85 config := $(foreach app,$(AVAILABLE_APPS),$(if $(findstring $(CONFIG_$(app)),y yes t true Y YES T TRUE),$(app)))