diff --git a/examples/zephyr/http-client/CMakeLists.txt b/examples/zephyr/http-client/CMakeLists.txt index a4b28de3..75174f0e 100644 --- a/examples/zephyr/http-client/CMakeLists.txt +++ b/examples/zephyr/http-client/CMakeLists.txt @@ -7,5 +7,5 @@ cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(http_client) #add_definitions(-DMG_ENABLE_LINES=1) -add_definitions(-DMG_ENABLE_MBEDTLS=1 -DMG_MBEDTLS_DEBUG_LEVEL=4) +add_definitions(-DMG_TLS=MG_TLS_MBED -DMG_MBEDTLS_DEBUG_LEVEL=4) target_sources(app PRIVATE src/main.c src/mongoose.c) diff --git a/examples/zephyr/http-server/CMakeLists.txt b/examples/zephyr/http-server/CMakeLists.txt index ca982051..312d514a 100644 --- a/examples/zephyr/http-server/CMakeLists.txt +++ b/examples/zephyr/http-server/CMakeLists.txt @@ -6,5 +6,5 @@ cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(http_server) -add_definitions(-DMG_ENABLE_MBEDTLS=1) +add_definitions(-DMG_TLS=MG_TLS_MBED) target_sources(app PRIVATE src/main.c src/mongoose.c) diff --git a/examples/zephyr/mqtt-aws-client/CMakeLists.txt b/examples/zephyr/mqtt-aws-client/CMakeLists.txt index dbc442e8..f9cf91ae 100644 --- a/examples/zephyr/mqtt-aws-client/CMakeLists.txt +++ b/examples/zephyr/mqtt-aws-client/CMakeLists.txt @@ -7,5 +7,5 @@ cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(mqtt_aws_client) #add_definitions(-DMG_ENABLE_LINES=1) -add_definitions(-DMG_ENABLE_MBEDTLS=1 -DMG_MBEDTLS_DEBUG_LEVEL=4) +add_definitions(-DMG_TLS=MG_TLS_MBED -DMG_MBEDTLS_DEBUG_LEVEL=4) target_sources(app PRIVATE src/main.c src/mongoose.c) diff --git a/examples/zephyr/websocket-server/CMakeLists.txt b/examples/zephyr/websocket-server/CMakeLists.txt index 6b2697a9..317f8bb5 100644 --- a/examples/zephyr/websocket-server/CMakeLists.txt +++ b/examples/zephyr/websocket-server/CMakeLists.txt @@ -7,5 +7,5 @@ cmake_minimum_required(VERSION 3.20.0) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(websocket_server) #add_definitions(-DMG_ENABLE_LINES=1) -add_definitions(-DMG_ENABLE_MBEDTLS=1) +add_definitions(-DMG_TLS=MG_TLS_MBED) target_sources(app PRIVATE src/main.c src/mongoose.c)