Skip to content

Commit

Permalink
fix(BLE): Zephyr: enable aes driver when BT selected. (#1268)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcornall-adi authored Nov 14, 2024
1 parent 9bb8b50 commit bde1c22
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Libraries/zephyr/MAX/Source/MAX32655/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
6 changes: 5 additions & 1 deletion Libraries/zephyr/MAX/Source/MAX32657/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit bde1c22

Please sign in to comment.