samples/bluetooth/hci_spi: Add configuration for nrf51_pca10028

This sample has nrf51_pca10028 on its platform_whitelist but lacks
configuration and overlay files that would make it possible to build
this sample for that board. This commit provides such files.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2020-03-12 13:14:41 +00:00 committed by Maureen Helm
parent 1a1d8e797b
commit ff01e2a553
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1 @@
CONFIG_SPI_1_NRF_SPIS=y

View File

@ -0,0 +1,21 @@
/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
&spi1 {
compatible = "nordic,nrf-spis";
status = "okay";
sck-pin = <6>;
mosi-pin = <5>;
miso-pin = <4>;
csn-pin = <3>;
def-char = <0x00>;
bt-hci@0 {
compatible = "zephyr,bt-hci-spi-slave";
reg = <0>;
irq-gpios = <&gpio0 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
};
};