Fix build with platformio IDF+Arduino (#122)

This commit is contained in:
h2zero 2023-05-28 10:44:17 -06:00 committed by GitHub
parent 091c1c014c
commit fee3829a89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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(