Skip to content

Commit

Permalink
ESP32: Use mbedtls in idf
Browse files Browse the repository at this point in the history
  • Loading branch information
wqx6 committed May 16, 2023
1 parent 5f1a60b commit a8791b5
Show file tree
Hide file tree
Showing 39 changed files with 109 additions and 2,548 deletions.
4 changes: 2 additions & 2 deletions config/esp32/components/chip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ target_include_directories(${COMPONENT_LIB} INTERFACE
"${CHIP_ROOT}/config/esp32/${CONFIG_CHIP_EXTERNAL_PLATFORM_DIR}/../../"
)

idf_component_get_property(esp32_mbedtls_lib esp32_mbedtls COMPONENT_LIB)
idf_component_get_property(mbedtls_lib mbedtls COMPONENT_LIB)

if(CONFIG_BT_ENABLED)
idf_component_get_property(bt_lib bt COMPONENT_LIB)
Expand Down Expand Up @@ -385,7 +385,7 @@ endif()

target_link_libraries(${COMPONENT_LIB} INTERFACE -Wl,--start-group
${chip_libraries}
$<TARGET_FILE:mbedcrypto> $<TARGET_FILE:${esp32_mbedtls_lib}>
$<TARGET_FILE:mbedcrypto> $<TARGET_FILE:${mbedtls_lib}>
-Wl,--end-group)

# Make the component dependent on our CHIP build
Expand Down
3 changes: 0 additions & 3 deletions config/esp32/components/esp32_mbedtls/CMakeLists.txt

This file was deleted.

191 changes: 0 additions & 191 deletions config/esp32/components/esp32_mbedtls/hkdf.c

This file was deleted.

Loading

0 comments on commit a8791b5

Please sign in to comment.