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
30 ##################################
31 ## These are experimental boards.
32 ##################################
34 ifneq (,$(findstring $(board),donbfet))
37 CFLAGS=$(DEBUG) -mmcu=$(mcu) -W -Os -mcall-prologues -Wall -Wextra -Wuninitialized -fpack-struct -fshort-enums -funsigned-bitfields
38 config := monitor avr spi jscan
41 ifneq (,$(findstring $(board),tilaunchpad))
43 CFLAGS := -DDEBUG_LEVEL=3 -DDEBUG_START=1 -DINBAND_DEBUG
45 config := monitor chipcon i2c
52 $(error Please define board, as explained in the README)
55 AVAILABLE_APPS = monitor spi jtag sbw jtag430 jtag430x2 i2c jtagarm7 ejtag jtagxscale openocd chipcon avr pic adc nrf ccspi glitch smartcard ps2
69 CONFIG_jtagxscale ?= n
81 #The CONFIG_foo vars are only interpreted if $(config) is unset.
82 ifeq ($(config),undef)
83 config := $(foreach app,$(AVAILABLE_APPS),$(if $(findstring $(CONFIG_$(app)),y yes t true Y YES T TRUE),$(app)))