mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-26 10:06:51 +00:00
feat(mbedtls): restructure mbedtls configuration page
This commit is contained in:
@@ -2,8 +2,13 @@
|
||||
# CMakeLists in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
# Include the default mbedTLS preset configuration
|
||||
# This provides optimized settings for general-purpose TLS applications
|
||||
# You can customize these settings using 'idf.py menuconfig' or additional config files
|
||||
list(APPEND sdkconfig_defaults $ENV{IDF_PATH}/components/mbedtls/config/mbedtls_preset_default.conf)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
|
||||
idf_build_set_property(MINIMAL_BUILD ON)
|
||||
|
||||
project(https_request)
|
||||
|
@@ -6,6 +6,7 @@
|
||||
# Few example dependencies need to be enabled by default for the build to succeed
|
||||
##############
|
||||
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
|
||||
CONFIG_MBEDTLS_SSL_PROTO_TLS1_3=n
|
||||
CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y
|
||||
CONFIG_MBEDTLS_AES_C=y
|
||||
##############
|
||||
|
Reference in New Issue
Block a user