mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(mbedtls): enable pthread threading by default
This commit is contained in:
@@ -32,7 +32,7 @@ menu "mbedTLS"
|
||||
|
||||
config MBEDTLS_THREADING_C
|
||||
bool "Enable the threading abstraction layer"
|
||||
default n
|
||||
default y
|
||||
help
|
||||
If you do intend to use contexts between threads, you will need to enable
|
||||
this layer to prevent race conditions.
|
||||
@@ -40,14 +40,14 @@ menu "mbedTLS"
|
||||
config MBEDTLS_THREADING_ALT
|
||||
bool "Enable threading alternate implementation"
|
||||
depends on MBEDTLS_THREADING_C
|
||||
default y
|
||||
default n
|
||||
help
|
||||
Enable threading alt to allow your own alternate threading implementation.
|
||||
|
||||
config MBEDTLS_THREADING_PTHREAD
|
||||
bool "Enable threading pthread implementation"
|
||||
depends on MBEDTLS_THREADING_C
|
||||
default n
|
||||
default y
|
||||
help
|
||||
Enable the pthread wrapper layer for the threading layer.
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
# Core Configuration
|
||||
CONFIG_MBEDTLS_FS_IO=y
|
||||
CONFIG_MBEDTLS_THREADING_C=n
|
||||
CONFIG_MBEDTLS_THREADING_C=y
|
||||
CONFIG_MBEDTLS_ERROR_STRINGS=y
|
||||
CONFIG_MBEDTLS_VERSION_C=n
|
||||
CONFIG_MBEDTLS_HAVE_TIME=y
|
||||
|
||||
Reference in New Issue
Block a user