summaryrefslogtreecommitdiff
path: root/app/boards/arm/planck/Kconfig.defconfig
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-08 21:07:16 -0400
committerPete Johanson <peter@peterjohanson.com>2020-06-08 21:07:16 -0400
commit38f1dbd9842eaf53db359ad46b070bfff8db1359 (patch)
tree6a24845fab2043cd0cec8b2086971ff13edeed70 /app/boards/arm/planck/Kconfig.defconfig
parent92b41d28e5668fab4fe423ccce5f3f85b4537002 (diff)
Move Zephyr app into subdirectory.
Diffstat (limited to 'app/boards/arm/planck/Kconfig.defconfig')
-rw-r--r--app/boards/arm/planck/Kconfig.defconfig39
1 files changed, 39 insertions, 0 deletions
diff --git a/app/boards/arm/planck/Kconfig.defconfig b/app/boards/arm/planck/Kconfig.defconfig
new file mode 100644
index 0000000..3ccd178
--- /dev/null
+++ b/app/boards/arm/planck/Kconfig.defconfig
@@ -0,0 +1,39 @@
+# Planck keyboard configuration
+
+# Copyright (c) 2017 I-SENSE group of ICCS
+# SPDX-License-Identifier: Apache-2.0
+
+if BOARD_PLANCK_REV6
+
+config BOARD
+ default "planck_rev6"
+
+config UART_1
+ default y
+ depends on UART_CONSOLE
+
+if I2C
+
+config I2C_1
+ default y
+
+config I2C_2
+ default y
+
+endif # I2C
+
+if SPI
+
+config SPI_1
+ default y
+
+config SPI_2
+ default y
+
+endif # SPI
+
+config CAN_1
+ default y
+ depends on CAN
+
+endif # BOARD_PLANCK_REV6