Hi,
I keep running into an error with the following output when building the configuration for nRF52840. I thought my prj.conf would fix the issue, however, the error still seems to persist. Note: The code i'm trying to run is l4_e2_sol from NordicDevAcademy Bluetooth Fundamentals. You can find the l4_e2_sol in this link.
In function 'm_config_clock_source_get':
/opt/nordic/ncs/v3.0.2/nrf/subsys/mpsl/init/mpsl_init.c:335:10: error: #error "Clock source is not supported or not defined"
335 | #error "Clock source is not supported or not defined"
| ^~~~~
/opt/nordic/ncs/v3.0.2/nrf/subsys/mpsl/init/mpsl_init.c: In function 'mpsl_lib_init_internal':
/opt/nordic/ncs/v3.0.2/nrf/subsys/mpsl/init/mpsl_init.c:377:34: error: 'CONFIG_CLOCK_CONTROL_NRF_ACCURACY' undeclared (first use in this function); did you mean 'CONFIG_CLOCK_CONTROL_NRF_FORCE_ALT'?
377 | clock_cfg.accuracy_ppm = CONFIG_CLOCK_CONTROL_NRF_ACCURACY;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| CONFIG_CLOCK_CONTROL_NRF_FORCE_ALT
/opt/nordic/ncs/v3.0.2/nrf/subsys/mpsl/init/mpsl_init.c:377:34: note: each undeclared identifier is reported only once for each function it appears in
ninja: build stopped: subcommand failed.
My prj.conf looks like this:
# # Copyright (c) 2018 Nordic Semiconductor # # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause # CONFIG_CLOCK_CONTROL_NRF=y CONFIG_CLOCK_CONTROL=y CONFIG_CLOCK_CONTROL_NRF_K32SRC_20PPM=y # Logger module CONFIG_LOG=y # Button and LED library CONFIG_DK_LIBRARY=y # Bluetooth LE CONFIG_BT=y CONFIG_BT_PERIPHERAL=y CONFIG_BT_DEVICE_NAME="MY_LBS2" # Increase stack size for the main thread and System Workqueue CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_MAIN_STACK_SIZE=2048



