-
Notifications
You must be signed in to change notification settings - Fork 834
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
Esp idf v5 fixes #5902
Esp idf v5 fixes #5902
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might have formatted this:
double current_time(int reset)
{
#if ESP_IDF_VERSION_MAJOR >= 4
TickType_t tickCount;
#else
portTickType tickCount;
#endif
like this instead for readability:
double current_time(int reset)
{
#if ESP_IDF_VERSION_MAJOR >= 4
TickType_t tickCount;
#else
portTickType tickCount;
#endif
There should probably be something in the coding standards document for #define
position and indenting. Generally they seem to always be fully left-justified unless (sometimes) when nested.
Also - this does seem to work for me in ESP-IDF v4.4.2; You've tested with v5?
Heads up your bandi13:ESP-IDF_fixes branch is a bit behind master and there are a couple of potentially interesting / related merge PR's pending. See #5871 and recently-merged #5903 and #5646 I might have given better commit names than "better fixes" (e.g. actually call out the version-check Otherwise nice update that seems to work for me in v4.4! Did you encounter these problems in ESP-IDF5? See also this curiosity: #5727 as well as #5319 (the related |
I tested this on ESP-IDF v4.4.2 and confirmed the benchmark and tests run to completion without error:
Note there's a warning in ESP-IDF v5.0 in #5909 about duplicate definitions in Although my change request has been implemented, my approval here is not authoritative and someone such as @dgarske should review and actually perform the merge. |
Description
Using the latest ESP-IDF environment there were some changes to the library and thus our stuff wouldn't compile out of the box.