Skip to content

Commit e5b30df

Browse files
committed
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.
1 parent b7e824c commit e5b30df

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

pkg/esp32_sdk_mbedtls/Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
PKG_NAME=esp32_sdk_mbedtls
2+
PKG_URL=https://github.com/espressif/mbedtls.git
3+
PKG_VERSION=98fcfd6d2cea90d306e8fde8e5bffd6087c9cda8
4+
PKG_LICENSE=Apache-2.0
5+
6+
include $(RIOTBASE)/pkg/pkg.mk
7+
8+
all:
9+
$(QQ)"$(MAKE)" -C $(PKG_SOURCE_DIR) -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)

pkg/esp32_sdk_mbedtls/Makefile.dep

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This package can only be used with the ESP32 CPU
2+
FEATURES_REQUIRED += arch_esp32
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
INCLUDES += -I$(PKGDIRBASE)/mbedtls/include
2+
INCLUDES += -I$(PKGDIRBASE)/mbedtls/include/mbedtls

pkg/esp32_sdk_mbedtls/doc.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/**
2+
* @defgroup pkg_esp32_sdk_mbdetls ESP32x SDK Mbed TLS package
3+
* @ingroup pkg
4+
* @brief A fork of the Mbed TLS used by the ESP-IDF.
5+
*/

0 commit comments

Comments
 (0)