Skip to content
Commit 2d035c41 authored by Mohamed ElShahawi's avatar Mohamed ElShahawi Committed by Kumar Gala
Browse files

drivers: esp32: Add UART Driver with FIFO/Interrupt support



- Fixes #3981
- Implement UART Polling functions
- Implement UART Interrupt APIs
- Remove dependency on esp32_rom_uart_xxx functions
- Update Device tree with UART addresses and pin config
- Update ESP32 UART KConfig

Notes about implementation:
- Interrupts now defined as a local macros, and should be removed
later on, when interrupts for esp32 are supported in dts

- Threshold interrupts are used for TX/RX
- Reseting FIFOs using _RST bit will corrupt FIFO of UART2 when used for
UART1 and vice-versa, so a generic way is used for all three UARTs

- Old Silicon rev is not supported

Signed-off-by: default avatarMohamed ElShahawi <ExtremeGTX@hotmail.com>
parent 056d44f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment