summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-03-21 22:33:33 +0100
committerxengineering <me@xengineering.eu>2025-03-21 22:33:33 +0100
commit58e8dd56e233f482dc0dbe0cb8f56ef3bab7b998 (patch)
treefe85c43a151adcc864a8b47413ebe8afbab927e2
parentfb9bf2457dae53cd10a916c9beac6d292e28654a (diff)
downloadiot-contact-58e8dd56e233f482dc0dbe0cb8f56ef3bab7b998.tar
iot-contact-58e8dd56e233f482dc0dbe0cb8f56ef3bab7b998.tar.zst
iot-contact-58e8dd56e233f482dc0dbe0cb8f56ef3bab7b998.zip
fw: zephyr: Add mbedtls module
This is required for upcoming WebSocket APIs.
-rw-r--r--.gitmodules3
-rw-r--r--fw/CMakeLists.txt1
m---------fw/zephyrproject/modules/crypto/mbedtls0
3 files changed, 4 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 033084e..98ea5fb 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -7,3 +7,6 @@
[submodule "zephyrproject/modules/hal/cmsis"]
path = fw/zephyrproject/modules/hal/cmsis
url = https://github.com/zephyrproject-rtos/cmsis.git
+[submodule "fw/zephyrproject/modules/crypto/mbedtls"]
+ path = fw/zephyrproject/modules/crypto/mbedtls
+ url = https://github.com/zephyrproject-rtos/mbedtls.git
diff --git a/fw/CMakeLists.txt b/fw/CMakeLists.txt
index b7a3783..c0b9484 100644
--- a/fw/CMakeLists.txt
+++ b/fw/CMakeLists.txt
@@ -8,6 +8,7 @@ set(BOARD "native_sim/native/64")
set(ZEPHYR_MODULES
"${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/hal/cmsis"
"${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/hal/stm32"
+ "${CMAKE_CURRENT_SOURCE_DIR}/zephyrproject/modules/crypto/mbedtls"
)
find_package(Zephyr
REQUIRED
diff --git a/fw/zephyrproject/modules/crypto/mbedtls b/fw/zephyrproject/modules/crypto/mbedtls
new file mode 160000
+Subproject 4952e1328529ee549d412b498ea71c54f30aa3b