diff --git a/boards/arm/cxd56xx/common/CMakeLists.txt b/boards/arm/cxd56xx/common/CMakeLists.txt index 65bbb9e36c..a836fd6cd9 100644 --- a/boards/arm/cxd56xx/common/CMakeLists.txt +++ b/boards/arm/cxd56xx/common/CMakeLists.txt @@ -27,8 +27,8 @@ if(CONFIG_ARCH_BOARD_COMMON) list(APPEND SRCS src/cxd56_audio.c) endif() - if(CONFIG_MODEM_ALTMDM) - list(APPEND SRCS src/cxd56_altmdm.c) + if(CONFIG_MODEM_ALT1250) + list(APPEND SRCS src/cxd56_alt1250.c) endif() if(CONFIG_BOARDCTL_UNIQUEID) @@ -179,6 +179,10 @@ if(CONFIG_ARCH_BOARD_COMMON) list(APPEND SRCS src/cxd56_usbdevserialstr.c) endif() + if(CONFIG_PM) + list(APPEND SRCS src/cxd56_pm.c) + endif() + if(CONFIG_CXD56_GNSS_ADDON) list(APPEND SRCS src/cxd56_gnss_addon.c) endif() diff --git a/boards/arm/cxd56xx/spresense/src/CMakeLists.txt b/boards/arm/cxd56xx/spresense/src/CMakeLists.txt index 8146b4f4aa..cc804ceeb5 100644 --- a/boards/arm/cxd56xx/spresense/src/CMakeLists.txt +++ b/boards/arm/cxd56xx/spresense/src/CMakeLists.txt @@ -41,9 +41,7 @@ if(CONFIG_ARCH_BUTTONS) list(APPEND SRCS cxd56_buttons.c) endif() -if(CONFIG_CXD56_GPIO_IRQ) - list(APPEND SRCS cxd56_gpioif.c) -endif() +list(APPEND SRCS cxd56_gpioif.c) if(CONFIG_CXD56_PWM) list(APPEND SRCS cxd56_pwm.c)