Skip to content

Commit 43fd605

Browse files
author
Raffael Rostagno
committed
drivers: uart: esp32h2: Add support
Add UART support for ESP32-H2. Signed-off-by: Raffael Rostagno <[email protected]>
1 parent 034710b commit 43fd605

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/serial/uart_esp32.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
#include <esp32c6/rom/ets_sys.h>
3434
#include <esp32c6/rom/gpio.h>
3535
#include <zephyr/dt-bindings/clock/esp32c6_clock.h>
36+
#elif defined(CONFIG_SOC_SERIES_ESP32H2)
37+
#include <esp32h2/rom/ets_sys.h>
38+
#include <esp32h2/rom/gpio.h>
39+
#include <zephyr/dt-bindings/clock/esp32h2_clock.h>
3640
#endif
3741
#ifdef CONFIG_UART_ASYNC_API
3842
#include <zephyr/drivers/dma.h>

0 commit comments

Comments
 (0)