Skip to content

Commit

Permalink
fix(Other): Add I3C to MAX32657 Zephyr build (#1174)
Browse files Browse the repository at this point in the history
Signed-off-by: Tahsin Mutlugun <[email protected]>
  • Loading branch information
ttmut authored Sep 13, 2024
1 parent ac3e34b commit 7d512b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Libraries/zephyr/MAX/Source/MAX32657/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ zephyr_include_directories(
${MSDK_PERIPH_SRC_DIR}/DMA
${MSDK_PERIPH_SRC_DIR}/FLC
${MSDK_PERIPH_SRC_DIR}/GPIO
${MSDK_PERIPH_SRC_DIR}/I2C
${MSDK_PERIPH_SRC_DIR}/I3C
${MSDK_PERIPH_SRC_DIR}/ICC
${MSDK_PERIPH_SRC_DIR}/LP
${MSDK_PERIPH_SRC_DIR}/RTC
Expand Down Expand Up @@ -97,10 +97,10 @@ zephyr_library_sources(
)
endif()

if (CONFIG_I2C_MAX32)
if (CONFIG_I3C_MAX32)
zephyr_library_sources(
${MSDK_PERIPH_SRC_DIR}/I2C/i2c_me30.c
${MSDK_PERIPH_SRC_DIR}/I2C/i2c_reva.c
${MSDK_PERIPH_SRC_DIR}/I3C/i3c_me30.c
${MSDK_PERIPH_SRC_DIR}/I3C/i3c_reva.c
)
endif()

Expand Down

0 comments on commit 7d512b1

Please sign in to comment.