Lesson 2, Excerise 1 Build problem

So I've been trying out the nRF9161DK, and had a lot of problems creating builds with the included samples. Mostly CMAKE errors.

Guess I'm missing some basic knowledge here, and I'm starting to loose faith in my self.

Decided to try the Thingy:91 as a change, but going through lesson 2, exercise 1 trying to build the at_client sample application got these errors:


[{
"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
},{
"resource": "/subsys/dfu/Kconfig",
"owner": "nrf-connect",
"severity": 4,
"message": "MCUBOOT_UPDATE_FOOTER_SIZE (defined at subsys/dfu/Kconfig:54) was assigned the value",
"source": "kconfig",
"startLineNumber": 54,
"startColumn": 1,
"endLineNumber": 54,
"endColumn": 2147483647
},{
"resource": "/subsys/pm/Kconfig",
"owner": "nrf-connect",
"severity": 4,
"message": "PM_DEVICE_RUNTIME (defined at subsys/pm/Kconfig:96) was assigned the value 'y' but got the",
"source": "kconfig",
"startLineNumber": 96,
"startColumn": 1,
"endLineNumber": 96,
"endColumn": 2147483647
},{
"resource": "/c:/ncs/v2.8.0/nrf/samples/cellular/at_client/build_1",
"owner": "Kconfig no context",
"severity": 4,
"message": "Kconfig Language Server cannot start for build 'build_1'. Try rebuilding or do the pristine build to fix this issue.",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1
},{
"resource": "/c:/ncs/v2.8.0/zephyr/CMakeLists.txt",
"owner": "nrf-connect",
"severity": 4,
"message": "CMake Warning at C:/ncs/v2.8.0/zephyr/CMakeLists.txt:2134 (message):",
"source": "cmake",
"startLineNumber": 2134,
"startColumn": 1,
"endLineNumber": 2134,
"endColumn": 2147483647
}]


Anyone know what I'm doing wrong? 

Parents
  • Hello, 

    Could you please provide more details on how you are building these projects? Can you provide more details on your setup? 

    going through lesson 2, exercise 1 trying to build the at_client sample application

    I assume you mean lesson 2, exercise 1 of the Cellular Fundamentals course?

    Please note that in the downloads tab of the nRF9161DK product page we have a precompiled application and modem firmware package that you can download and test with, without building.

    Kind regards,
    Øyvind

  • Yes the Cellular Fundamentals Course. I'm now trying out the Thingy91.
    Exercise 1 - Nordic Developer Academy
    What kind of details? I'm at step two in L2 ex1. L1 ex1. went ok. Got connected and got location data etc. No asset orientation data though. Seems to loose connection as data now is not available.

    HP Laptop 14bp0xx
    Processor Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz 2.40 GHz
    Installed RAM 16,0 GB (15,9 GB usable)
    System type 64-bit operating system, x64-based processor
    Edition Windows 10 Home
    Version 22H2
    Installed on ‎17.‎11.‎2024
    OS build 19045.5198
    Experience Windows Feature Experience Pack 1000.19060.1000.0

    nRF Connect SDKv2.8.0

    Tried new build. Got even more errors.

    [{
    "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
    },{
    "resource": "/subsys/dfu/Kconfig",
    "owner": "nrf-connect",
    "severity": 4,
    "message": "MCUBOOT_UPDATE_FOOTER_SIZE (defined at subsys/dfu/Kconfig:54) was assigned the value",
    "source": "kconfig",
    "startLineNumber": 54,
    "startColumn": 1,
    "endLineNumber": 54,
    "endColumn": 2147483647
    },{
    "resource": "/subsys/pm/Kconfig",
    "owner": "nrf-connect",
    "severity": 4,
    "message": "PM_DEVICE_RUNTIME (defined at subsys/pm/Kconfig:96) was assigned the value 'y' but got the",
    "source": "kconfig",
    "startLineNumber": 96,
    "startColumn": 1,
    "endLineNumber": 96,
    "endColumn": 2147483647
    },{
    "resource": "/c:/ncs/v2.8.0/nrf/samples/cellular/at_client/build/at_client/zephyr/.config.sysbuild",
    "owner": "kconfig",
    "severity": 4,
    "message": "CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE couldn't be set. Missing dependencies:\nMCUBOOT_IMG_MANAGER && IMG_MANAGER",
    "startLineNumber": 28,
    "startColumn": 1,
    "endLineNumber": 28,
    "endColumn": 34
    },{
    "resource": "/c:/ncs/v2.8.0/nrf/samples/cellular/at_client/build/at_client/zephyr/.config.sysbuild",
    "owner": "kconfig",
    "severity": 4,
    "message": "MCUBOOT_BOOTLOADER_MODE_SWAP_WITHOUT_SCRATCH set more than once. Old value \"y\", new value \"y\".",
    "startLineNumber": 33,
    "startColumn": 1,
    "endLineNumber": 33,
    "endColumn": 1
    },{
    "resource": "/C:/ncs/v2.8.0/nrf/samples/cellular/at_client/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:/ncs/v2.8.0/nrf/samples/cellular/at_client/src/main.c",
    "owner": "Kconfig options",
    "code": "missing_kconfig_param",
    "severity": 4,
    "message": "The clock control drivers must be enabled by CONFIG_CLOCK_CONTROL to be included in the build",
    "startLineNumber": 12,
    "startColumn": 1,
    "endLineNumber": 12,
    "endColumn": 43
    },{
    "resource": "/c:/ncs/v2.8.0/zephyr/CMakeLists.txt",
    "owner": "nrf-connect",
    "severity": 4,
    "message": "__ASSERT() statements are globally ENABLED",
    "source": "cmake",
    "startLineNumber": 2134,
    "startColumn": 1,
    "endLineNumber": 2134,
    "endColumn": 2147483647
    }]

  • I may have figured it out. Seems I had the Manage West Workspace.

Reply Children
No Data
Related