From 71cb6ff497e9f70ca349de666c590f9f2d39ac8d Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 14 Nov 2024 14:34:46 +0000 Subject: [PATCH] Update Zephyr MSDK Hal based on MSDK PR: https://github.com/analogdevicesinc/msdk/pull/1268 --- MAX/Source/MAX32655/CMakeLists.txt | 6 +++++- MAX/Source/MAX32657/CMakeLists.txt | 6 +++++- MAX/msdk_sha | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/MAX/Source/MAX32655/CMakeLists.txt b/MAX/Source/MAX32655/CMakeLists.txt index c78155ea..3dcf1822 100644 --- a/MAX/Source/MAX32655/CMakeLists.txt +++ b/MAX/Source/MAX32655/CMakeLists.txt @@ -176,11 +176,15 @@ zephyr_library_sources( ) endif() -if (CONFIG_CRYPTO_MAX32) +if (CONFIG_CRYPTO_MAX32 OR CONFIG_BT) zephyr_library_sources( ${MSDK_PERIPH_SRC_DIR}/AES/aes_me17.c ${MSDK_PERIPH_SRC_DIR}/AES/aes_revb.c +) +endif() +if (CONFIG_CRYPTO_MAX32) +zephyr_library_sources( ${MSDK_PERIPH_SRC_DIR}/CRC/crc_me17.c ${MSDK_PERIPH_SRC_DIR}/CRC/crc_reva.c ) diff --git a/MAX/Source/MAX32657/CMakeLists.txt b/MAX/Source/MAX32657/CMakeLists.txt index b05b325a..c037d8a6 100644 --- a/MAX/Source/MAX32657/CMakeLists.txt +++ b/MAX/Source/MAX32657/CMakeLists.txt @@ -142,11 +142,15 @@ zephyr_library_sources( ) endif() -if (CONFIG_CRYPTO_MAX32) +if (CONFIG_CRYPTO_MAX32 OR CONFIG_BT) zephyr_library_sources( ${MSDK_PERIPH_SRC_DIR}/AES/aes_me30.c ${MSDK_PERIPH_SRC_DIR}/AES/aes_revb.c +) +endif() +if (CONFIG_CRYPTO_MAX32) +zephyr_library_sources( ${MSDK_PERIPH_SRC_DIR}/CRC/crc_me30.c ${MSDK_PERIPH_SRC_DIR}/CRC/crc_reva.c ) diff --git a/MAX/msdk_sha b/MAX/msdk_sha index f413775f..d69d2626 100644 --- a/MAX/msdk_sha +++ b/MAX/msdk_sha @@ -1 +1 @@ -9bb8b5042bcb70100e9b8449fbba74fbba9801c0 +bde1c220037bfecf1b810ad3ea0bcdbf373ef011