Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Fix AFR_METADATA_MODE on espressif (#1559)
Browse files Browse the repository at this point in the history
- esp-idf checks for python dependencies before
 configuring, which breaks metadata upload step in OCW
- This commit marks python dependencies as checked if
 AFR_METADATA_MODE is enabled.
  • Loading branch information
pavanmr94 authored Nov 27, 2019
1 parent d002e8c commit 70b046f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vendors/espressif/boards/esp32/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ endif()
# -------------------------------------------------------------------------------------------------
# Compiler settings
# -------------------------------------------------------------------------------------------------
# Mark the python dependencies as checked so that esp-idf does not check them since this is not
# needed when we are only generating metadata and not building the project.
if(AFR_METADATA_MODE)
set(PYTHON_DEPS_CHECKED 1)
endif()

set(esp_idf_dir "${AFR_VENDORS_DIR}/espressif/esp-idf")
# Provides idf_import_components and idf_link_components
Expand Down

0 comments on commit 70b046f

Please sign in to comment.