I recently received a nRF9151-DK and try running example "hello_dect".
Apart from setting the CARRIER in "Kconfig" to "1" i did no changes to the code.
Building and flashing results in two problems:
[{
"resource": "/c:/Users/xyz/hello_dect/src/main.c",
"owner": "Kconfig options",
"code": "missing_kconfig_param",
"severity": 4,
"message": "The Modem library must be enabled by CONFIG_NRF_MODEM_LIB to be included in the build",
"startLineNumber": 10,
"startColumn": 1,
"endLineNumber": 10,
"endColumn": 34
}]
[{
"resource": "/c:/Users/xyz/hello_dect/src/main.c",
"owner": "Kconfig options",
"code": "missing_kconfig_param",
"severity": 4,
"message": "The hardware info drivers must be enabled by CONFIG_HWINFO to be included in the build",
"startLineNumber": 11,
"startColumn": 1,
"endLineNumber": 11,
"endColumn": 36
}]
I searched and found the two code snippets, each giving me new errors when i add them to "Kconfig" but still not removing the initial two errors:
menuconfig HWINFO
bool "Hardware Information driver"
help
Enable hwinfo driver.
throwing:
[{
"resource": "/cmake/version.cmake",
"owner": "nrf-connect",
"severity": 4,
"message": "CMake Warning at cmake/version.cmake:31 (message):",
"source": "cmake",
"startLineNumber": 31,
"startColumn": 1,
"endLineNumber": 31,
"endColumn": 2147483647
}]
menuconfig NRF_MODEM_LIB
bool "Enable Modem library"
default y if TRUSTED_EXECUTION_NONSECURE && !ZTEST
select NRF_MODEM
imply NRFX_IPC
imply NET_SOCKETS_OFFLOAD
imply NET_SOCKETS_POSIX_NAMES if !POSIX_API
depends on SOC_NRF9160_SICA
help
Use Nordic Modem library.
throwing:
[{
"resource": "/cmake/version.cmake",
"owner": "nrf-connect",
"severity": 4,
"message": "TFM_VERSION_MANUAL mismatches to actual TF-M version. Please update",
"source": "cmake",
"startLineNumber": 31,
"startColumn": 1,
"endLineNumber": 31,
"endColumn": 2147483647
}]
and
[{
"resource": "/c:/Users/lxyz/hello_dect/nRF1_build",
"owner": "Kconfig no context",
"severity": 4,
"message": "Kconfig Language Server cannot start for build 'nRF1_build'. Try rebuilding or do the pristine build to fix this issue.",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1
}]
Where is the configuration missing and what would be the right one?
Is