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),arduino))
45 #BSL := avrdude -V -F -c stk500v1 -p m328p -b 57600 -P /dev/tty.usbserial-* -U flash:w:blink.hex
50 ifneq (,$(findstring $(board),tilaunchpad))
52 CFLAGS := -DDEBUG_LEVEL=3 -DDEBUG_START=1 -DINBAND_DEBUG
54 config := monitor chipcon i2c
61 $(error Please define board, as explained in the README)
65 AVAILABLE_APPS = monitor spi jtag sbw jtag430 jtag430x2 i2c jtagarm7 ejtag jtagxscale openocd chipcon avr pic adc nrf ccspi glitch smartcard ps2 slc2
79 CONFIG_jtagxscale ?= n
92 #The CONFIG_foo vars are only interpreted if $(config) is unset.
93 ifeq ($(config),undef)
94 config := $(foreach app,$(AVAILABLE_APPS),$(if $(findstring $(CONFIG_$(app)),y yes t true Y YES T TRUE),$(app)))