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:
parent
bcf2ee9d49
commit
569f8f0a43
7 changed files with 22 additions and 1 deletions
11
boards/shields/x_nucleo_bnrg2a1/boards/nucleo_l476rg.overlay
Normal file
11
boards/shields/x_nucleo_bnrg2a1/boards/nucleo_l476rg.overlay
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2024 STMicroelectronics
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zephyr,bt-c2h-uart = &usart2;
|
||||
};
|
||||
};
|
|
@ -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>;
|
||||
};
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
zephyr,flash = &flash0;
|
||||
zephyr,code-partition = &slot0_partition;
|
||||
zephyr,flash-controller = &mx25r6435f;
|
||||
zephyr,bt-c2h-uart = &usart1;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
zephyr,flash = &flash0;
|
||||
zephyr,code-partition = &slot0_partition;
|
||||
zephyr,flash-controller = &mx25r6435f;
|
||||
zephyr,bt-c2h-uart = &usart1;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
zephyr,shell-uart = &usart1;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,bt-c2h-uart = &usart1;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
zephyr,shell-uart = &usart1;
|
||||
zephyr,sram = &sram0;
|
||||
zephyr,flash = &flash0;
|
||||
zephyr,bt-c2h-uart = &usart1;
|
||||
};
|
||||
|
||||
aliases {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue