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
|
|
|
|
|
|
|
|
# enable uart driver
|
|
|
|
CONFIG_SERIAL=y
|
2018-06-08 21:29:24 +08:00
|
|
|
CONFIG_UART_NRFX=y
|
|
|
|
CONFIG_UART_0_NRF_UART=y
|
2016-09-23 21:13:13 +08:00
|
|
|
|
|
|
|
# enable console
|
|
|
|
CONFIG_CONSOLE=y
|
|
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
|
|
|
|
# bluetooth
|
2017-08-09 14:21:11 +08:00
|
|
|
CONFIG_BT=y
|
2017-08-14 19:45:13 +08:00
|
|
|
CONFIG_BT_CTLR=y
|
2017-08-09 22:13:10 +08:00
|
|
|
CONFIG_BT_CTLR_TO_HOST_SPI_DEV_NAME="SPI_1"
|
|
|
|
CONFIG_BT_CTLR_TO_HOST_SPI_IRQ_DEV_NAME="GPIO_0"
|
|
|
|
CONFIG_BT_CTLR_TO_HOST_SPI_IRQ_PIN=28
|
2016-09-23 21:13:13 +08:00
|
|
|
|
|
|
|
# spi
|
|
|
|
CONFIG_SPI=y
|
|
|
|
CONFIG_SPI_1=y
|
2018-04-13 15:00:03 +08:00
|
|
|
CONFIG_SPI_NRFX=y
|
2018-09-04 21:03:58 +08:00
|
|
|
CONFIG_SPI_SLAVE=y
|
2018-04-13 15:00:03 +08:00
|
|
|
CONFIG_SPI_1_NRF_SPIS=y
|