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

Switch to using PlatformIO's advanced scripting for building ESP-IDF version #3

Merged
merged 6 commits into from
Jan 7, 2021

Conversation

Brawrdon
Copy link
Owner

@Brawrdon Brawrdon commented Jan 3, 2021

Currently, the project builds an example project that makes use of a modified version of the ESP-IDF HomeKit SDK as a component. This results in static library files being generated which we can extract and link to our Arduino projects. Whilst this works, it's cumbersome and makes it difficult to make changes to configuration variables in the SDK.

This updated version makes use of PlatformIO's advanced scripting to clone the ESP-IDF HomeKit SDK repo and add the modifications for ESP-IDF v3.x. This'll result in the project using the library from source like most libraries and make it much easier to add build flags.

Using advanced scripting this way also means I don't need to host copies of the SDK's source in this repository, or in a fork, since the changes for the port are minimal.

The packages uploaded to PlatformIO's repository and used by the Arduino IDE will contain the complete library, as the build script will be run before packaging.

@Brawrdon Brawrdon marked this pull request as ready for review January 7, 2021 21:51
@Brawrdon Brawrdon merged commit 620f5ad into main Jan 7, 2021
@Brawrdon Brawrdon deleted the update-build branch January 7, 2021 22:05
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.

None yet

1 participant