This should build on esp32 now
This commit is contained in:
parent
ce940e101a
commit
58e93a2627
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue