Reading Thingy:53 sensor data

Hello everyone !

I am following the tutorial "Reading Thingy:53 sensor data using Bluetooth LE".
It doesn't matter if I don't do it myself or if I take the source program from github the project doesn't build.
I have the following error:
FATAL ERROR: command exited with status 1: 'c:\ncs\toolchains\v2.3.0\opt\bincmake.EXE' --build 'c:\Users\fduvi\Desktop\stage\Nordic_LTEthingy53_sensor_hub-masterthingy53_sensor_hub-master'

Can someone help me ? 

Kind regards,

Pierre

Here we can see the error with the source program

  • I have restarted my computer and it does not work.

    I looked for this error:
    C:\ncs\v2.3.0\modules\crypto\mbedtls\library\psa_crypto_rsa.c:43: fatal error: opening dependency file secure_fw\partitions\crypto\mbedcrypto\nrf_security_src\CMakeFiles\crypto_service_mbedcrypto. dir\C_\ncs\v2.3.0\modules\crypto\mbedtls\library\psa_crypto_rsa.o.d: No such file or directory

    I have the psa_crypto_rsa.c file with its .h and VSCode does not give me an error.
    However, I don't have the "psa_crypto_rsa.o.d" should I add it?

  • Could you try to move your build folder to a shorter path? For this test something like C/test? it could be the path length to the build folder

    if not:

    In your build configuration, is your build set tu xxx_cpuapp or app_ns? Can you try to change to the other one, delete your build folder and do a prestine build?

    Regards

    Runar

  • Could you try to move your build folder to a shorter path? For this test something like C/test? it could be the path length to the build folder

    if not:

    In your build configuration, is your build set tu xxx_cpuapp or app_ns? Can you try to change to the other one, delete your build folder and do a prestine build?

    Regards

    Runar

  • My build is set for "ingy53_nrf5340_cpuapp_ns" like the tutorial say.

    I tried deleting the build folder and the missing folder changes every time. However, it's still a .o.d

    If i'm building for "ingy53_nrf5340_cpuapp"  the terminal tells me I'm missing some includes like the "#include <drivers/adc.h>" except I checked and it's in the right place in zéphyr...

  • If I try to put my build target on a shroter path like "C/test" i don't have the .o.d anymore but this one

    C:\ncs\v2.3.0\nrf\modules\tfm\tfm\boards\common\assert.c:17:2: error: #error "TF-M non-secure address start is not aligned on SPU region size"
       17 | #error "TF-M non-secure address start is not aligned on SPU region size"
          |  ^~~~~
    ninja: build stopped: subcommand failed.

Related