xtensa/esp/rmt: Add the lower-half implementation of the RMT driver

The lower-half implementation of the RMT character driver based on
Espressif HAL enables using the RMT peripheral of ESP32, ESP32-S2
and ESP32-S3 as a common xtensa-based Espressif driver.

The RMT packages on Espressif SoCs are 4-byte long and are known as
"items". Please check the Techinal Reference Manual of the chip to
obtain more details.
This commit is contained in:
Tiago Medicci Serrano
2023-12-15 10:19:01 -03:00
committed by Xiang Xiao
parent d1326e81bc
commit 69929d4084
7 changed files with 2148 additions and 1 deletions
+11
View File
@@ -33,4 +33,15 @@ config RMT_DEFAULT_RX_BUFFER_SIZE
The RMT RX default buffer size. This is the expected buffer size
that should be returned on a `read()` operation.
config RMT_LOOP_TEST_MODE
bool "RMT character driver loopback test mode (for testing only)"
depends on EXPERIMENTAL
default n
---help---
This enables a lower-half driver-specific loopback test
mode that attaches the transmitter to the receiver, being
able to test the RMT peripheral without any external
connection. This feature depends on lower-half driver
implementation.
endif # RMT