Skip to content

Commit

Permalink
fix(Other): Fix MAX32650 zephyr cmake (#1349)
Browse files Browse the repository at this point in the history
Signed-off-by: Burak Babaoglu <[email protected]>
  • Loading branch information
Burakbabao authored Feb 13, 2025
1 parent ee6d734 commit ca783b2
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Libraries/zephyr/MAX/Source/MAX32650/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,12 @@ zephyr_include_directories(
${MSDK_PERIPH_SRC_DIR}/WDT
)

if(CONFIG_ARM)
zephyr_library_sources(${MSDK_CMSIS_DIR}/Source/system_max32650.c)
zephyr_library_sources(${MSDK_PERIPH_SRC_DIR}/SYS/mxc_lock.c)
elseif(CONFIG_RISCV)
zephyr_library_sources(${MSDK_CMSIS_DIR}/Source/system_riscv_max32650.c)
endif()

zephyr_library_sources(
./max32xxx_system.c

${MSDK_CMSIS_DIR}/Source/system_max32650.c
${MSDK_PERIPH_SRC_DIR}/SYS/mxc_lock.c

${MSDK_PERIPH_SRC_DIR}/SYS/mxc_assert.c
${MSDK_PERIPH_SRC_DIR}/SYS/mxc_delay.c
${MSDK_PERIPH_SRC_DIR}/SYS/pins_me10.c
Expand Down

0 comments on commit ca783b2

Please sign in to comment.