1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 07:21:18 +01:00

pkg/esp32_sdk_mbedtls: add MbedTLS as used by ESP-IDF

It is needed in the future to implement WPA3. In that case ESP-IDF uses crypto and tls from mbedtls.
This commit is contained in:
Gunar Schorcht 2025-03-04 15:01:10 +01:00
parent 2150ec41db
commit da7f93f108
4 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,9 @@
PKG_NAME=esp32_sdk_mbedtls
PKG_URL=https://github.com/espressif/mbedtls.git
PKG_VERSION=98fcfd6d2cea90d306e8fde8e5bffd6087c9cda8
PKG_LICENSE=Apache-2.0
include $(RIOTBASE)/pkg/pkg.mk
all:
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)

View File

@ -0,0 +1,2 @@
# This package can only be used with the ESP32 CPU
FEATURES_REQUIRED += arch_esp32

View File

@ -0,0 +1,2 @@
INCLUDES += -I$(PKGDIRBASE)/mbedtls/include
INCLUDES += -I$(PKGDIRBASE)/mbedtls/include/mbedtls

View File

@ -0,0 +1,3 @@
@defgroup pkg_esp32_sdk_mbdetls ESP32x SDK Mbed TLS package
@ingroup pkg
@brief A fork of the Mbed TLS used by the ESP-IDF.