nrf9160 memfault sample code failed to build with Nordic nrf9160DK

Hi,

I’m using the nRF SDK 1.6.0 and trying to build the “memfault” sample for nRF9160 using the

nrf9160dk_nrf9160ns” board. The sample location is:

C:\Users\username\git\nRF9160\v1.6.0\nrf\samples\nrf9160\memfault

And the memfault SDK is installed in:

C:\Users\username\git\nRF9160\v1.6.0\modules\lib\memfault-firmware-sdk

I have created a new account on https://app.memfault.com/ and followed the instructions described here https://docs.memfault.com/docs/mcu/nrf-connect-sdk-guide to use the sample code. I have also updated the CONFIG_MEMFAULT_NCS_PROJECT_KEY in the prj.conf file. When I’m building the project in Segger Studio and it is supposed to be compiled without errors but I’m getting files missing errors or fatal errors such as the following two lines from build output:

2> C:/Users/username/git/nRF9160/v1.6.0/modules/lib/memfault-firmware-sdk/components/demo/src/panics/memfault_demo_cli_aux.c:20:1 fatal error: opening dependency file C:/Users/ username /git/nRF9160/v1.6.0/nrf/samples/nrf9160/memfault/build_nrf9160dk_nrf9160ns/modules\memfault-firmware-sdk\CMakeFiles\..__modules__lib__memfault-firmware-sdk__ports__zephyr.dir\C_\Users\Username\git\nRF9160\v1.6.0\modules\lib\memfault-firmware-sdk\components\demo\src\panics\memfault_demo_cli_aux.c.obj.d: No such file or directory

2> compilation terminated.

6> C:/Users/Username/git/nRF9160/v1.6.0/modules/lib/memfault-firmware-sdk/components/core/src/memfault_batched_events.c:35:1 fatal error: opening dependency file C:/Users/Username/git/nRF9160/v1.6.0/nrf/samples/nrf9160/memfault/build_nrf9160dk_nrf9160ns/modules\memfault-firmware-sdk\CMakeFiles\..__modules__lib__memfault-firmware-sdk__ports__zephyr.dir\C_\Users\Username\git\nRF9160\v1.6.0\modules\lib\memfault-firmware-sdk\components\core\src\memfault_batched_events.c.obj.d: No such file or directory

6> compilation terminated.

 

Kindly provide any suggestions on this how to resolve the files issue. I've attached a complete build output text file as well for more reference.

Segger Build Output.txt

Parents Reply Children
Related