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

Manually override IDF_VER value #64

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

laxsjo
Copy link
Contributor

@laxsjo laxsjo commented Sep 10, 2024

Now adds the version.txt file to IDF_PATH with the value of the rev argument, so that the IDF_VER macro gets a value. It doesn't perferctly replicate the expected behaviour, since I don't feel like simulating git describe perfectly, but the behaviour is at least correct when rev is set to a tag, like v5.3.

This would partly fix #5. It of course doesn't fix any warnings generated during the build process due to the missing .git.

Also added a note to README.md
@mirrexagon
Copy link
Owner

Thanks!

@mirrexagon mirrexagon merged commit 412fb4c into mirrexagon:master Oct 23, 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.

idf.py can't get Git revision to report version
2 participants