tmedicci opened a new pull request, #11428: URL: https://github.com/apache/nuttx/pull/11428
## Summary * drivers/rmt: Implement an upper-half RMT character driver The RMT (Remote Control) character driver allows to use the RMT peripheral (usually, a one-wire peripheral dedicated to driving IR remote control) as a character driver. * drivers/leds/ws2812: Fix WS2812 pixel size Although the LED might be RGB-only, the LED data is packed in a 32-bit long variable and, then, this is the default size of a LED pixel to define the 'WS2812_RW_PIXEL_SIZE' macro. Please note that the lower-half driver will deal with the case of the addressable LED being 3 or 4-pixel sized. * 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. * xtensa/esp/ws2812: Add the lower-half WS2812 driver based on RMT This lower-half WS2812 LED driver uses the RMT peripheral of the Espressif's SoCs to drive the RGB addressable LEDs. Compared to the SPI-based implementation, it is faster! * esp32s3: Fully integrate Espressif HAL repository to ESP32-S3 By integrating the Espressif`s HAL repository into the current ESP32-S3 implementation on NuttX, it is possible to call functions that make it easier to set up the registers of the ESP32-S3 and enables the usage of common Espressif drivers. Please note that Espressif's HAL repository was already being used for the Wi-Fi driver. * esp32s3/rmt: Use the Espressif's common RMT driver. This commit use the new common RMT driver for all Espressif's xtensa-based chips on ESP32-S3. * esp32s2: Integrate Espressif HAL repository to ESP32-S2 By integrating the Espressif`s HAL repository into the current ESP32-S2 implementation on NuttX, it is possible to call functions that makes it easier to setup the registers of the ESP32-S2, enabling the usage of common Espressif drivers. * esp32s2/rmt: Use the Espressif's common RMT driver. This commit use the new common RMT driver for all Espressif's xtensa-based chips on ESP32-S2. ## Impact Implement a common RMT driver for xtensa-based devices. ESP32 requires updating the Wi-Fi driver to enable using the HAL (and the common RMT driver) ## Testing Internal CI testing + ESP32-S2-Saola-1 board and ESP32-S3-DevKitC-1 v1.0 board (loopback test + WS2812 LED strip) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
