This should build on esp32 now

This commit is contained in:
Philip Gladstone 2024-12-12 01:09:22 +00:00
parent ce940e101a
commit 58e93a2627
1 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,6 @@
# Modules common to all chips
set(extra_requires
)
set(wifi_modules
"espnow.c"
"wifi.c"
@ -64,6 +66,9 @@ if(IDF_TARGET STREQUAL "esp32")
"touch.c"
${wifi_modules}
)
list(APPEND extra_requires
"driver_can"
)
elseif(IDF_TARGET STREQUAL "esp32s2")
list(APPEND module_srcs
"dac.c"
@ -123,6 +128,7 @@ idf_component_register(
"u8g2"
"ucg"
"vfs"
${extra_requires}
)
# Match up all the module source files with their corresponding Kconfig