Skip to content

Commit 6dd99a5

Browse files
committed
Fix the build for MbedTLS 3.4 which does not recognize MBEDTLS_CONFIG_FILE
1 parent 3236df0 commit 6dd99a5

File tree

17 files changed

+38193
-41932
lines changed

17 files changed

+38193
-41932
lines changed

esp-mbedtls-sys/gen/builder.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ impl MbedtlsBuilder {
191191
.join(&self.soc_config)
192192
.display()
193193
))
194-
//.cflag(&format!("-DMBEDTLS_CONFIG_FILE='<config.h>'"))
195-
//.cxxflag(&format!("-DMBEDTLS_CONFIG_FILE='<config.h>'"))
194+
.cflag(&format!("-DMBEDTLS_CONFIG_FILE='<config.h>'"))
195+
.cxxflag(&format!("-DMBEDTLS_CONFIG_FILE='<config.h>'"))
196196
.profile("Release")
197197
.out_dir(&target_dir);
198198

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

esp-mbedtls-sys/src/include/esp32.rs

+9,774-10,715
Large diffs are not rendered by default.

esp-mbedtls-sys/src/include/esp32c3.rs

+10,066-11,007
Large diffs are not rendered by default.

esp-mbedtls-sys/src/include/esp32s2.rs

+9,734-10,675
Large diffs are not rendered by default.

esp-mbedtls-sys/src/include/esp32s3.rs

+8,617-9,533
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)