Skip to content

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
@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