2020-04-26 12:41:20 +10:00
|
|
|
# Planck keyboard configuration
|
|
|
|
|
|
|
|
# Copyright (c) 2017 I-SENSE group of ICCS
|
2020-06-09 23:54:13 +10:00
|
|
|
# SPDX-License-Identifier: MIT
|
2020-04-26 12:41:20 +10:00
|
|
|
|
|
|
|
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
|