summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@chromium.org>2014-12-17 17:11:04 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-07-22 13:36:03 -0700
commitc765bed2ca2479f6490b6171aacf6e7d67cb58d3 (patch)
treece670cc01dd6a5191bae69b4ab2bc9e8bf336290
parente9a1e9eb41143a30eae75b408fc85d5c652a8652 (diff)
downloadchrome-ec-c765bed2ca2479f6490b6171aacf6e7d67cb58d3.tar.gz
console: Add a console for Bluetooth LE
Protect the console with CONFIG_BLUETOOTH_LE to save space. BUG=None BRANCH=None TEST=make buildall -j32 Change-Id: I2309bf953904af36684b0fe32f94b2254b13c6a4 Signed-off-by: Myles Watson <mylesgw@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/361536 Commit-Ready: Dan Shi <dshi@google.com> Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r--include/console_channel.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/console_channel.inc b/include/console_channel.inc
index 0e717e8eee..51c6df7c80 100644
--- a/include/console_channel.inc
+++ b/include/console_channel.inc
@@ -7,6 +7,9 @@
CONSOLE_CHANNEL(CC_COMMAND, "command")
CONSOLE_CHANNEL(CC_ACCEL, "accel")
+#ifdef CONFIG_BLUETOOTH_LE
+CONSOLE_CHANNEL(CC_BLUETOOTH_LE, "bluetooth_le")
+#endif
#ifdef CONFIG_EXTENSION_COMMAND
CONSOLE_CHANNEL(CC_EXTENSION, "extension")
#endif