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