2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2016-09-23 21:13:13 +08:00
|
|
|
CONFIG_ARM=y
|
2018-03-19 20:51:25 +08:00
|
|
|
CONFIG_SOC_FAMILY_NRF=y
|
2016-09-23 21:13:13 +08:00
|
|
|
CONFIG_SOC_SERIES_NRF51X=y
|
|
|
|
CONFIG_SOC_NRF51822_QFAC=y
|
|
|
|
|
2019-03-27 16:35:11 +08:00
|
|
|
# enable GPIO
|
|
|
|
CONFIG_GPIO=y
|
|
|
|
|
2016-09-23 21:13:13 +08:00
|
|
|
# enable uart driver
|
|
|
|
CONFIG_SERIAL=y
|
2018-06-08 21:29:24 +08:00
|
|
|
CONFIG_UART_0_NRF_UART=y
|
2016-09-23 21:13:13 +08:00
|
|
|
|
|
|
|
# enable console
|
|
|
|
CONFIG_CONSOLE=y
|
|
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
|
|
|
|
# spi
|
|
|
|
CONFIG_SPI=y
|
2018-09-04 21:03:58 +08:00
|
|
|
CONFIG_SPI_SLAVE=y
|
2018-12-20 22:16:42 +08:00
|
|
|
CONFIG_SPI_1=y
|
2018-04-13 15:00:03 +08:00
|
|
|
CONFIG_SPI_1_NRF_SPIS=y
|