No SOURCES given to Zephyr library

I am building firmware using nrf connect sdk v2.8.0 and I am seeing those warning on the build

CMake Warning at F:/ncs/v2.8.0/zephyr/CMakeLists.txt:952 (message):
No SOURCES given to Zephyr library: subsys__mgmt__mcumgr__grp__zephyr_basic

Excluding target from build.


CMake Warning at F:/ncs/v2.8.0/zephyr/CMakeLists.txt:952 (message):
No SOURCES given to Zephyr library: drivers__pwm

Excluding target from build.

Here is the prj.conf

# Config PWM
CONFIG_PWM=y
# CONFIG_PWM_NRFX=y
CONFIG_LED=n
# CONFIG_PWM_LOG_LEVEL_DBG=n

# Config PWM for LEDs and Buzzer
CONFIG_NRFX_PWM0=n  # Disable other instances unless needed
CONFIG_NRFX_PWM1=y  # Enable the first PWM instance
CONFIG_NRFX_PWM2=n  # Disable other instances unless needed
CONFIG_NRFX_PWM3=n  # Disable other instances unless needed


# Enable mcumgr.
CONFIG_MCUMGR=y
# Ensure an MCUboot-compatible binary is generated.
CONFIG_BOOTLOADER_MCUBOOT=y
# Enable FOTA over BLE
CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y
CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU_SPEEDUP=y
CONFIG_SECURE_BOOT=y
CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y
CONFIG_IMG_ERASE_PROGRESSIVELY=y
# This is enabled only in prodcution, but will limit debugging and breakpoints
# CONFIG_DISABLE_FLASH_PATCH=y # already defined in mcuboot.conf
# Enable the Bluetooth (unauthenticated) and shell mcumgr transports.
CONFIG_BT_SMP=y
CONFIG_ZCBOR=y
CONFIG_STREAM_FLASH=y
CONFIG_MCUMGR_TRANSPORT_BT=y
CONFIG_MCUMGR_TRANSPORT_BT_PERM_RW=n
CONFIG_MCUMGR_TRANSPORT_BT_CONN_PARAM_CONTROL=y
CONFIG_MCUMGR_GRP_IMG=y
CONFIG_MCUMGR_GRP_OS=y
# Enable MCUmgr Packet Reassembly feature over Bluetooth and its
# configuration dependencies. MCUmgr buffer size is optimized to fit one SMP
# packet divided into five Bluetooth Write Commands, transmitted with the
# maximum possible MTU value: 498 bytes.
CONFIG_MCUMGR_TRANSPORT_BT_REASSEMBLY=y
CONFIG_MCUMGR_TRANSPORT_NETBUF_SIZE=2475
CONFIG_MCUMGR_GRP_OS_MCUMGR_PARAMS=y
# Enable custom SMP request to erase settings partition.
CONFIG_MCUMGR_GRP_ZBASIC=y
CONFIG_MCUMGR_GRP_ZBASIC_STORAGE_ERASE=n
CONFIG_MCUMGR_GRP_OS_ECHO=y
CONFIG_MCUMGR_GRP_OS_INFO=y

Related