From a54ad9edce697133a024aff096e50f7e4f389d5b Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Sun, 18 Mar 2012 12:22:02 +0100 Subject: digital/beacon: import Zigbit stack (bitcloud) & avr sources --- .../src/Bitcloud_stack/Components/BSP/BoardConfig | 106 +++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 digital/beacon/src/Bitcloud_stack/Components/BSP/BoardConfig (limited to 'digital/beacon/src/Bitcloud_stack/Components/BSP/BoardConfig') diff --git a/digital/beacon/src/Bitcloud_stack/Components/BSP/BoardConfig b/digital/beacon/src/Bitcloud_stack/Components/BSP/BoardConfig new file mode 100644 index 00000000..c1d952b9 --- /dev/null +++ b/digital/beacon/src/Bitcloud_stack/Components/BSP/BoardConfig @@ -0,0 +1,106 @@ +ifeq ($(BOARD), BOARD_MESHBEAN) + BSP_LIB = BSPMeshBean + BOARDCFLAGS = -D_BUTTONS_ + BOARDCFLAGS += -D_TEMPERATURE_SENSOR_ + BOARDCFLAGS += -D_LIGHT_SENSOR_ + BOARDCFLAGS += -D_BATTERY_SENSOR_ + BOARDCFLAGS += -D_LEDS_ + BOARDCFLAGS += -D_SLIDERS_ + BOARDCFLAGS += -DBSP_MNZB_EVB_SUPPORT=1 +endif + +ifeq ($(BOARD), BOARD_RAVEN) + BSP_LIB = BSPRaven + BOARDCFLAGS = -D_LCD_ + BOARDCFLAGS += -D_TEMPERATURE_SENSOR_ + BOARDCFLAGS += -D_BATTERY_SENSOR_ +endif + +ifeq ($(BOARD), BOARD_USB_DONGLE) + BSP_LIB = BSPAtmlUsbDongle + BOARDCFLAGS = -D_LEDS_ +endif + +ifeq ($(BOARD), BOARD_STK600) + BSP_LIB = BSPStk600 + BOARDCFLAGS = -D_BUTTONS_ + BOARDCFLAGS += -D_LEDS_ +endif + +ifeq ($(BOARD), BOARD_STK500) + BSP_LIB = BSPStk500 + BOARDCFLAGS = -D_BUTTONS_ + BOARDCFLAGS += -D_LEDS_ +endif + +ifeq ($(BOARD), BOARD_MESHBEAN_TURBO) + BSP_LIB = BSPMeshBeanTurbo + BOARDCFLAGS = -D_LEDS_ + BOARDCFLAGS += -D_SLIDERS_ + BOARDCFLAGS += -D_BUTTONS_ +endif + +ifeq ($(BOARD), BOARD_MESHBEAN_LAN) + BSP_LIB = BSPMeshBeanLan + BOARDCFLAGS = -D_LEDS_ + BOARDCFLAGS += -D_BUTTONS_ +endif + +ifeq ($(BOARD), BOARD_SAM7X_EK) + BSP_LIB = BSPSam7xEk + BOARDCFLAGS = -D_LEDS_ + BOARDCFLAGS += -D_JOYSTICK_ +endif + +ifeq ($(BOARD), BOARD_SAM3S_EK) + BSP_LIB = BSPSam3sEk + BOARDCFLAGS = -D_LEDS_ +endif + +ifeq ($(BOARD), BOARD_CUSTOM_3) + BSP_LIB = BSPCustom3 + BOARDCFLAGS = -D_LEDS_ +endif + +ifeq ($(BOARD), BOARD_CUSTOM_1) + BSP_LIB = BSPCustom1 + BOARDCFLAGS = -D_LEDS_ + BOARDCFLAGS += -D_BUTTONS_ + BOARDCFLAGS += -D_RS485CONTROL_ +endif + +ifeq ($(BOARD), BOARD_CUSTOM_2) + BSP_LIB = BSPCustom2 + BOARDCFLAGS = -D_LEDS_ + BOARDCFLAGS += -D_BUTTONS_ + BOARDCFLAGS += -D_RS485CONTROL_ + BOARDCFLAGS += -D_USBCONTROL_ +endif + +ifeq ($(BOARD), BOARD_RCB) + BSP_LIB = BSPRcb + BOARDCFLAGS = -D_LEDS_ +endif + +ifeq ($(BOARD), BOARD_AVR32_EVK1105) + BSP_LIB = BSPAvr32Evk1105 + BOARDCFLAGS = -D_LEDS_ + BOARDCFLAGS += -D_BUTTONS_ +endif + +ifeq ($(BOARD), BOARD_XPLAIN) + BSP_LIB = BSPXplain + BOARDCFLAGS = -D_LEDS_ + BOARDCFLAGS += -D_BUTTONS_ +endif + +ifeq ($(BOARD), BOARD_REB_CBB) + BSP_LIB = BSPRebCbb + BOARDCFLAGS = -D_LEDS_ + BOARDCFLAGS += -D_BUTTONS_ +endif + +ifeq ($(BOARD), BOARD_SIMULATOR) + BSP_LIB = BSPsim + BOARDCFLAGS = -D_LEDS_ +endif -- cgit v1.2.3