Include the rmt device for the esp32-c3 (and other missing devices)

This commit is contained in:
Philip Gladstone 2022-10-02 22:29:57 +00:00 committed by Johny Mattsson
parent c7cab0aba4
commit f15470e44f
1 changed files with 10 additions and 0 deletions

View File

@ -59,12 +59,22 @@ if(IDF_TARGET STREQUAL "esp32")
elseif(IDF_TARGET STREQUAL "esp32s2")
list(APPEND module_srcs
"dac.c"
"i2s.c"
"touch.c"
"rmt.c"
"pulsecnt.c"
)
elseif(IDF_TARGET STREQUAL "esp32s3")
list(APPEND module_srcs
"i2s.c"
"touch.c"
"rmt.c"
"pulsecnt.c"
"sdmmc.c"
)
elseif(IDF_TARGET STREQUAL "esp32c3")
list(APPEND module_srcs
"rmt.c"
)
endif()