-
Notifications
You must be signed in to change notification settings - Fork 18
Update ESP-IDF to v5.4 #724
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
Conversation
ESP-IDF v5.4 change the formate for log color defines. Add ifndef statements to golioth_sys.h to avoid redefinition. Signed-off-by: Mike Szczys <[email protected]>
Visit the preview URL for this PR (updated for commit 9a4b01c): https://golioth-firmware-sdk-doxygen-dev--pr724-szczys-bump-es-rw47zdan.web.app (expires Thu, 16 Jan 2025 17:03:50 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: a9993e61697a3983f3479e468bcb0b616f9a0578 |
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.
Thanks @szczys!
@@ -40,9 +40,12 @@ struct in6_pktinfo { | |||
struct in6_addr ipi6_addr; /* src/dst IPv6 address */ | |||
unsigned int ipi6_ifindex; /* send/recv interface index */ | |||
}; | |||
|
|||
#ifndef IN6_IS_ADDR_V4MAPPED |
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 appreciate the explanation in the commit message! I was going to ask why we didn't just remove it. But it looks like you the last bit of the message is missing.
With ESP-IDF v5.4, LWIP was upgraded to v2.2.0. This includes a new IN6_IS_ADDR_V4MAPPED(a) macro that is defined in lwip/inet.h. It conflicts with the macro in Golioth's copy of the ESP-IDF port's coap_config_posix.h. The macro is still present in ESP-IDF's coap_config_posix.h, so instead of removal, the macro in Golioth's coap_config_posix.h is guarded with ifndef. Signed-off-by: Mike Szczys <[email protected]>
Signed-off-by: Mike Szczys <[email protected]>
1ddd2cf
to
9a4b01c
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅ |
SDK Changes Due to this Update:
idf.py monitor
now handles colorization.Resolves https://github.com/golioth/firmware-issue-tracker/issues/734