-
Notifications
You must be signed in to change notification settings - Fork 81
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
Roll esp-idf to 5.1. #2650
Roll esp-idf to 5.1. #2650
Changes from 2 commits
179d861
b0d5a68
4f1c4a7
afc8a0f
d0e93a3
960e8a1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Toit configuration for mbedtls | ||
|
||
This directory contains the configuration for building mbedtls with Toit. | ||
When compiling for the ESP32 family, the ESP-IDF configuration is used. | ||
|
||
This directory contains two files: [default_config.h](default_config.h) | ||
and [toit_config.h](toit_config.h). The default config is unused and | ||
serves as a reference for the configuration options. It makes it possible to | ||
easily see which configurations have changed. | ||
|
||
## Updating mbedtls | ||
|
||
When updating mbedtls to a new version, the configuration files should be | ||
updated to match the new version. Replace the `default_config.h` with the | ||
new version and update the `toit_config.h` to match the changes. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where do you get the new default version from? I guess it is a copy of mbedtls_config.h? Why do we need to have an unused copy? I'm not sure I follow the "serves as a reference for the configuration options" part. Is it because the mbedtls_config.h file lives in another repository? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's just to have the "old" config file as reference to make diffs and see what we changed. |
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.
So these two files are ignored on esp-idf? Maybe clarify. Also where is the esp-idf configuration stored?
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.
done.