boards: xtensa: Add support for YD-ESP32 board
Add `yd_esp32` board: - Model name: YD-ESP32 - Manufacturer: VCC-GND® Studio - Espressif module: ESP32-WROOM-32E Signed-off-by: Julio Cesar <hi@jcsx.dev>
This commit is contained in:
parent
53502cb417
commit
5e15e8cb48
33 changed files with 1008 additions and 2 deletions
4
samples/bluetooth/hci_uart/boards/yd_esp32.conf
Normal file
4
samples/bluetooth/hci_uart/boards/yd_esp32.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
CONFIG_CONSOLE=y
|
||||
CONFIG_STDOUT_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
CONFIG_BT_MAX_CONN=9
|
34
samples/bluetooth/hci_uart/boards/yd_esp32.overlay
Normal file
34
samples/bluetooth/hci_uart/boards/yd_esp32.overlay
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* Copyright (c) 2021 Espressif Systems (Shanghai) Co., Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
zephyr,bt-c2h-uart = &uart1;
|
||||
};
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
|
||||
uart1_default: uart1_default {
|
||||
group1 {
|
||||
pinmux = <UART1_TX_GPIO5>,
|
||||
<UART1_RX_GPIO18>,
|
||||
<UART1_RTS_GPIO19>;
|
||||
};
|
||||
group2 {
|
||||
pinmux = <UART1_CTS_GPIO23>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
&uart1 {
|
||||
status = "okay";
|
||||
current-speed = <921600>;
|
||||
pinctrl-0 = <&uart1_default>;
|
||||
pinctrl-names = "default";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue