This is an automated email from the ASF dual-hosted git repository. lupyuen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit ef1cee2f44f67fbd8367b942873b0fd490a53668 Author: simbit18 <[email protected]> AuthorDate: Thu Jan 8 22:16:10 2026 +0100 arch/arm/xmc4: Aligned Cmake with Make - Add tickless support #11737 - Add XMC4 flash command sequence API #11728 - Add EtherCAT support on xmc4800-relax #11659 Signed-off-by: simbit18 <[email protected]> --- arch/arm/src/xmc4/CMakeLists.txt | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/arch/arm/src/xmc4/CMakeLists.txt b/arch/arm/src/xmc4/CMakeLists.txt index 6572bf81499..a681d48c465 100644 --- a/arch/arm/src/xmc4/CMakeLists.txt +++ b/arch/arm/src/xmc4/CMakeLists.txt @@ -29,26 +29,33 @@ list( xmc4_clockconfig.c xmc4_clockutils.c xmc4_clrpend.c + xmc4_flash.c xmc4_gpio.c xmc4_irq.c xmc4_lowputc.c xmc4_serial.c xmc4_start.c xmc4_usic.c - xmc4_timerisr.c) + xmc4_ccu4.c + xmc4_vadc.c) -if(CONFIG_BUILD_PROTECTED) - list(APPEND SRCS xmc4_userspace.c xmc4_mpuinit.c) +if(NOT CONFIG_ARCH_IDLE_CUSTOM) + list(APPEND SRCS xmc4_idle.c) endif() -if(CONFIG_XMC4_ECAT) - list(APPEND SRCS xmc4_ecat.c) +if(NOT CONFIG_SCHED_TICKLESS) + list(APPEND SRCS xmc4_timerisr.c) +else() + list(APPEND SRCS xmc4_tickless.c) endif() -if(NOT CONFIG_ARCH_IDLE_CUSTOM) - list(APPEND SRCS xmc4_idle.c) +if(CONFIG_BUILD_PROTECTED) + list(APPEND SRCS xmc4_userspace.c xmc4_mpuinit.c) endif() +if(CONFIG_DEBUG_GPIO_INFO) + list(APPEND SRCS xmc4_pindump.c) +endif() if(CONFIG_XMC4_USCI_SPI) list(APPEND SRCS xmc4_spi.c) endif() @@ -57,6 +64,9 @@ if(CONFIG_XMC4_USCI_I2C) list(APPEND SRCS xmc4_i2c.c) endif() +if(CONFIG_XMC4_ECAT) + list(APPEND SRCS xmc4_ecat.c) +endif() if(CONFIG_XMC4_PWM) list(APPEND SRCS xmc4_pwm.c) endif()
