From 6361eba4ead0c8c79746a5509b65f9555d546edc Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Fri, 16 Jan 2015 09:08:25 -0800 Subject: hadoken: Add Bluetooth defines to board.h BUG=None BRANCH=None TEST=make BOARD=hadoken CONFIG_BLUETOOTH_LE CONFIG_BLUETOOTH_LE_STACK CONFIG_BLUETOOTH_LE_RADIO_TEST Change-Id: I0a4bbc20e512c2a2ca02f3690e92e9cec92d3a0e Signed-off-by: Myles Watson Reviewed-on: https://chromium-review.googlesource.com/361535 Reviewed-by: Aseda Aboagye Reviewed-by: Daisuke Nojiri Reviewed-by: Levi Oliver --- board/hadoken/board.h | 4 ++++ include/config.h | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/board/hadoken/board.h b/board/hadoken/board.h index 5d5a7acec7..6e696a480c 100644 --- a/board/hadoken/board.h +++ b/board/hadoken/board.h @@ -25,6 +25,10 @@ #define BATTERY_VOLTAGE_NORMAL 3800 /* mV */ #define BATTERY_VOLTAGE_MIN 3000 /* mV */ +#define CONFIG_BLUETOOTH_LE +#define CONFIG_BLUETOOTH_LE_STACK +#define CONFIG_BLUETOOTH_LE_RADIO_TEST + #include "gpio_signal.h" #endif /* !__ASSEMBLER__ */ diff --git a/include/config.h b/include/config.h index b8da925fff..3cd443a3a3 100644 --- a/include/config.h +++ b/include/config.h @@ -253,6 +253,15 @@ */ #undef CONFIG_BATTERY_REVIVE_DISCONNECT +/* Include support for Bluetooth LE */ +#undef CONFIG_BLUETOOTH_LE + +/* Include support for testing the radio for Bluetooth LE */ +#undef CONFIG_BLUETOOTH_LE_RADIO_TEST + +/* Include support for the HCI and link layers for Bluetooth LE */ +#undef CONFIG_BLUETOOTH_LE_STACK + /* Boot header storage offset. */ #undef CONFIG_BOOT_HEADER_STORAGE_OFF -- cgit v1.2.1