boards: Add support for BlueNRG-based boards to run raw mode samples

Provide support for BlueNRG-based boards to run samples required raw mode.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
This commit is contained in:
Ali Hozhabri 2024-03-01 10:24:20 +01:00 committed by Fabio Baltieri
commit 569f8f0a43
7 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,11 @@
/*
* Copyright (c) 2024 STMicroelectronics
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,bt-c2h-uart = &usart2;
};
};

View file

@ -4,6 +4,12 @@
* SPDX-License-Identifier: Apache-2.0
*/
/ {
chosen {
zephyr,bt-c2h-uart = &usart2;
};
};
&arduino_spi {
pinctrl-0 = <&spi1_sck_pb3 &spi1_miso_pa6 &spi1_mosi_pa7>;
};

View file

@ -21,6 +21,7 @@
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,flash-controller = &mx25r6435f;
zephyr,bt-c2h-uart = &usart1;
};
leds {

View file

@ -21,6 +21,7 @@
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
zephyr,flash-controller = &mx25r6435f;
zephyr,bt-c2h-uart = &usart1;
};
leds {

View file

@ -18,6 +18,7 @@
zephyr,shell-uart = &usart1;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,bt-c2h-uart = &usart1;
};
leds {

View file

@ -25,7 +25,7 @@
*/
zephyr,console = &cdc_acm_uart0;
zephyr,shell-uart = &cdc_acm_uart0;
zephyr,bt-c2h-uart = &cdc_acm_uart0;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;

View file

@ -19,6 +19,7 @@
zephyr,shell-uart = &usart1;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,bt-c2h-uart = &usart1;
};
aliases {