Fix build with platformio IDF+Arduino

This commit is contained in:
h2zero 2023-05-26 16:13:10 -06:00 committed by h2zero
parent e93f943cc4
commit 913bc0534e

View file

@ -18,6 +18,10 @@ if("arduino" IN_LIST BUILD_COMPONENTS OR __hack_component_targets MATCHES "__idf
list(APPEND ESP_NIMBLE_PRIV_REQUIRES list(APPEND ESP_NIMBLE_PRIV_REQUIRES
arduino arduino
) )
elseif("framework-arduinoespressif32" IN_LIST BUILD_COMPONENTS OR __hack_component_targets MATCHES "___idf_framework-arduinoespressif32")
list(APPEND ESP_NIMBLE_PRIV_REQUIRES
framework-arduinoespressif32
)
endif() endif()
idf_component_register( idf_component_register(