Merge branch 'bugfix/fix_wolfssl_option_error' into 'master'

esp-wolfssl: fix esp-wolfssl global option error

See merge request sdk/ESP8266_RTOS_SDK!1212
This commit is contained in:
Dong Heng
2019-12-04 18:51:22 +08:00
2 changed files with 8 additions and 6 deletions

View File

@ -8,4 +8,10 @@ config ESP_WOLFSSL_INTERNAL
If users want to use external wolfssl, please disable this option. If users want to use external wolfssl, please disable this option.
config WOLFSSL_DEBUG
bool "Enable esp-wolfssl(internal) debugging"
default n
help
Enable esp-wolfssl(internal) debugging functions at compile time.
endmenu endmenu

View File

@ -1,10 +1,6 @@
# Anyone compiling mbedTLS code needs the name of the # Anyone compiling mbedTLS code needs the name of the
# alternative config file # alternative config file
#ifdef CONFIG_SSL_USING_MBEDTLS ifdef CONFIG_ESP_WOLFSSL_INTERNAL
CPPFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"'
#endif
#ifdef CONFIG_SSL_USING_WOLFSSL
CPPFLAGS += -DWOLFSSL_USER_SETTINGS CPPFLAGS += -DWOLFSSL_USER_SETTINGS
#endif endif