This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 579684974afa70067c6aad36476a48dac3651b00 Author: Piyush Patle <[email protected]> AuthorDate: Fri Apr 3 03:08:27 2026 +0530 espressif/ws2812: include esp_rmt.h in ws2812 headers esp_ws2812.h exposes esp_ws2812_setup() with a struct rmt_dev_s * argument but did not include esp_rmt.h directly. After guarding the LIRC board registration path with CONFIG_DRIVERS_RC, non-RC ESP configs no longer pulled in the RMT type indirectly and CI started failing with an incomplete struct rmt_dev_s declaration. Include esp_rmt.h in the Xtensa and RISC-V ws2812 headers. Signed-off-by: Piyush Patle <[email protected]> --- arch/risc-v/src/common/espressif/esp_ws2812.h | 2 ++ arch/xtensa/src/common/espressif/esp_ws2812.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/risc-v/src/common/espressif/esp_ws2812.h b/arch/risc-v/src/common/espressif/esp_ws2812.h index 098a3f05924..119241d16bf 100644 --- a/arch/risc-v/src/common/espressif/esp_ws2812.h +++ b/arch/risc-v/src/common/espressif/esp_ws2812.h @@ -31,6 +31,8 @@ #include <debug.h> #include <stdbool.h> +#include "esp_rmt.h" + #ifndef __ASSEMBLY__ #if defined(__cplusplus) #define EXTERN extern "C" diff --git a/arch/xtensa/src/common/espressif/esp_ws2812.h b/arch/xtensa/src/common/espressif/esp_ws2812.h index 2f769d22759..e307fff5521 100644 --- a/arch/xtensa/src/common/espressif/esp_ws2812.h +++ b/arch/xtensa/src/common/espressif/esp_ws2812.h @@ -31,6 +31,8 @@ #include <debug.h> #include <stdbool.h> +#include "esp_rmt.h" + #ifndef __ASSEMBLY__ #if defined(__cplusplus) #define EXTERN extern "C"
