Skip to content

Commit

Permalink
Add I3C to MAX32657 Zephyr build
Browse files Browse the repository at this point in the history
MAX32657 does not have a separate I2C controller. Replace references to
I2C with I3C.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
  • Loading branch information
ttmut committed Sep 13, 2024
1 parent 74a08bd commit 760aa9a
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 760aa9a

Please sign in to comment.