Skip to content

Commit

Permalink
fix(BLE): zephyr: enable aes driver when BT selected.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcornall-adi committed Nov 13, 2024
1 parent da894c7 commit c11a074
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 c11a074

Please sign in to comment.