35 lines
733 B
Plaintext
35 lines
733 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_SOC_FAMILY_NRF5=y
|
|
CONFIG_SOC_SERIES_NRF51X=y
|
|
CONFIG_SOC_NRF51822_QFAC=y
|
|
CONFIG_BOARD_96B_CARBON_NRF51=y
|
|
|
|
# enable uart driver
|
|
CONFIG_SERIAL=y
|
|
CONFIG_UART_NRF5=y
|
|
CONFIG_UART_NRF5_GPIO_TX_PIN=29
|
|
CONFIG_UART_NRF5_GPIO_RX_PIN=11
|
|
|
|
# enable console
|
|
CONFIG_CONSOLE=y
|
|
CONFIG_UART_CONSOLE=y
|
|
|
|
# bluetooth
|
|
CONFIG_BT=y
|
|
CONFIG_BT_CTLR=y
|
|
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
|
|
|
|
# spi
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_1=y
|
|
CONFIG_SPI_1_NAME="SPI_1"
|
|
CONFIG_SPI_1_IRQ_PRI=1
|
|
CONFIG_SPI_NRF5=y
|
|
CONFIG_SPIS1_NRF5=y
|
|
CONFIG_SPIS1_NRF5_GPIO_SCK_PIN=7
|
|
CONFIG_SPIS1_NRF5_GPIO_MOSI_PIN=0
|
|
CONFIG_SPIS1_NRF5_GPIO_MISO_PIN=30
|
|
CONFIG_SPIS1_NRF5_GPIO_CSN_PIN=25
|