Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable bootloader_components build #1460

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

DamienEspitallier
Copy link
Contributor

esp-idf framework search for bootloader component with this code

set(PROJECT_EXTRA_COMPONENTS "${PROJECT_SOURCE_DIR}/bootloader_components") if(EXISTS ${PROJECT_EXTRA_COMPONENTS}) list(APPEND EXTRA_COMPONENT_DIRS "${PROJECT_EXTRA_COMPONENTS}") endif()

It requires PROJECT_SOURCE_DIR to be set but it is currently empty in platformio builds. This PR set the PROJECT_SOURCE_DIR variable to the project build to enable the creation of bootloader hooks.

@valeros valeros merged commit 76a59aa into platformio:develop Sep 16, 2024
54 checks passed
@valeros
Copy link
Member

valeros commented Sep 16, 2024

Many thanks, merged!

jonathandreyer pushed a commit to jonathandreyer/platform-espressif32 that referenced this pull request Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants