esp32: Collect properties from IDF-managed components as well.
Some targets like the ESP32-S3 use the IDF Component Manager to provide additional dependencies to the build. Make sure to include these extra components when collecting properties used by MicroPython-specific build steps, like qstr preprocessing. Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
This commit is contained in:
parent
4548928449
commit
31ef7c186b
@ -191,8 +191,9 @@ target_include_directories(${MICROPY_TARGET} PUBLIC
|
||||
target_link_libraries(${MICROPY_TARGET} micropy_extmod_btree)
|
||||
target_link_libraries(${MICROPY_TARGET} usermod)
|
||||
|
||||
# Collect all of the include directories and compile definitions for the IDF components.
|
||||
foreach(comp ${IDF_COMPONENTS})
|
||||
# Collect all of the include directories and compile definitions for the IDF components,
|
||||
# including those added by the IDF Component Manager via idf_components.yaml.
|
||||
foreach(comp ${__COMPONENT_NAMES_RESOLVED})
|
||||
micropy_gather_target_properties(__idf_${comp})
|
||||
micropy_gather_target_properties(${comp})
|
||||
endforeach()
|
||||
|
Loading…
x
Reference in New Issue
Block a user