-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a variant with TLS-server support. (#60)
Co-authored-by: Kasper Lund <kasper@toit.io>
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# ESP32-TLS-SERVER | ||
|
||
A variant of the ESP32 envelope that enables TLS server support, so | ||
running an HTTPS server on the ESP32 is possible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- toit/toolchains/esp32/sdkconfig.defaults | ||
+++ synthesized/esp32-tls-server/sdkconfig.defaults | ||
@@ -63,7 +63,6 @@ | ||
CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN=3700 | ||
CONFIG_MBEDTLS_X509_TRUSTED_CERT_CALLBACK=y | ||
# CONFIG_MBEDTLS_HARDWARE_MPI is not set | ||
-CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y | ||
CONFIG_MBEDTLS_POLY1305_C=y | ||
CONFIG_MBEDTLS_CHACHA20_C=y | ||
CONFIG_MBEDTLS_CHACHAPOLY_C=y |