Hi, could you please point me towards how to solve the following:
CMake Warning at C:/ncs/v2.6.2/zephyr/CMakeLists.txt:862 (message):
No SOURCES given to Zephyr library: drivers__clock_control
Excluding target from build.
At the build end, this ends in "undefined reference to `z_nrf_clock_control_lf_on'" build error
Thank you
nrf9161, not sure if this could be related to: Build error: 'HUK_KEYSLOT_MEXT' undeclared (another ticket posted)
The prj.conf:
CONFIG_CLOCK_CONTROL=y #### "debugging" ########################################## ### debug network timing # CONFIG_NET_LOG=y ### debug MQTT timing # CONFIG_MQTT_LOG_LEVEL_DBG=y ### debug optimizations (-Og) CONFIG_DEBUG=y CONFIG_DEBUG_OPTIMIZATIONS=y CONFIG_DEBUG_THREAD_INFO=y ### to try to debug unwanted soft resets (n=not resetting): CONFIG_RESET_ON_FATAL_ERROR=n # Enable SEGGER RTT CONFIG_LOG=y CONFIG_USE_SEGGER_RTT=y CONFIG_LOG_BACKEND_RTT=y # Increase the log buffer size (in bytes) CONFIG_LOG_BUFFER_SIZE=4096 # Enable asynchronous logging (optional, for better performance) CONFIG_LOG_MODE_DEFERRED=y CONFIG_TFM_CRYPTO_KEY_DERIVATION_MODULE_ENABLED=y # # CONFIG_LOG_MODE_IMMEDIATE=y # CONFIG_NVS_LOG_LEVEL_DBG=y # CPU load #CONFIG_CPU_LOAD_LOG_PERIODIC=y #CONFIG_CPU_LOAD_LOG_INTERVAL=1000 ### debugging threads CONFIG_THREAD_ANALYZER=y CONFIG_THREAD_ANALYZER_AUTO=y ### NVS CONFIG_FLASH=y CONFIG_FLASH_PAGE_LAYOUT=y CONFIG_NVS=y CONFIG_REBOOT=y CONFIG_MPU_ALLOW_FLASH_WRITE=y # CONFIG_REBOOT=n # ### SECURE TFM logging ### disabling logging of TF-M # CONFIG_TFM_LOG_LEVEL_SILENCE=y ### forward TF-M secure logging to the same UART as application logging (comment the previous) CONFIG_TFM_SECURE_UART=y CONFIG_TFM_SECURE_UART_SHARE_INSTANCE=y CONFIG_TFM_SECURE_UART0=y CONFIG_TFM_PARTITION_LOG_LEVEL_DEBUG=y CONFIG_TFM_SPM_LOG_LEVEL_DEBUG=y # Dump exception info. Must be combined with enabling log output. CONFIG_TFM_EXCEPTION_INFO_DUMP=y ############################################################# # CONFIG_NEWLIB_LIBC_NANO=n # Enable snprintf float CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y ### Possible solution for Fatal error??? # Don't use the minimal TF-M configuration as that doesn't support logging CONFIG_TFM_PROFILE_TYPE_NOT_SET=y ### Memory CONFIG_MAIN_STACK_SIZE=2048 CONFIG_HEAP_MEM_POOL_SIZE=4096 CONFIG_ISR_STACK_SIZE=4096 # try to increase MODEM library heap size: # CONFIG_NRF_MODEM_LIB_HEAP_SIZE=4096 # Modem trace CONFIG_AT_HOST_LIBRARY=y # uart CONFIG_UART_ASYNC_API=y # ! the following must be done not to loosing RX characters: assigning timer 2 to RX processing: CONFIG_UART_1_NRF_HW_ASYNC=y CONFIG_UART_1_NRF_HW_ASYNC_TIMER=2 # if dynamic uart configuration needed CONFIG_UART_USE_RUNTIME_CONFIGURE=y # Newlib CONFIG_NEWLIB_LIBC=y # Networking CONFIG_NETWORKING=y CONFIG_NET_NATIVE=n CONFIG_NET_SOCKETS_OFFLOAD=y CONFIG_NET_SOCKETS=y CONFIG_NET_SOCKETS_POSIX_NAMES=y # Modem library CONFIG_NRF_MODEM_LIB=y # LTE link control CONFIG_LTE_LINK_CONTROL=y CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT=y # MQTT CONFIG_MQTT_LIB=y CONFIG_MQTT_CLEAN_SESSION=y #ADC CONFIG_ADC=y #I2C, IMU CONFIG_I2C=y