Compiling the rest fota examples give me errors

Hey,

I was trying to compile the nordic example nrf_cloud_rest_fota with Debug optons enabled. It gives me the error that the "TF-M non-secure address start is not aligned on SPU region size":

However, If I disable the Debug option it compiles. What am I doing wrong? 

I have not change anything, I just pulled the example and build it. Do I need to anything else? 

Thanks for the help!

OS: Windows

SDK: 2.3.0

IDE: Visual Studio Code

Hardware: nRF9160 Development Kid

  • Hi, I am using the SDK 3.0.0 and in this SDK version I go the error mesage "TF-M non-secure address start is not aligned on SPU region size" as posted in the first message. Do I need to downgrade my SDK or use the 2.2.9?

  • Hi, 

    J0sh1101 said:
    I am using the SDK 3.0.0

    I think it's a typo. The latest version currently is v2.3.0. The bug exists in v2.3.0. 

    To install the latest development version, you have to install it manually. 

    After installing the main version, your directory structure now looks similar to this:

    ncs
      |
      main
            |___ .west
            |___ bootloader
            |___ modules
            |___ nrf
            |___ nrfxlib
            |___ zephyr
            |___ ...
      v2.3.0
            |___ .west
            |___ bootloader
            |___ modules
            |___ nrf
            |___ nrfxlib
            |___ zephyr
            |___ ...

    The toolchain manager would look like this 

    -Amanda H.

  • Hello,

    I followed the instructions on this website: developer.nordicsemi.com/.../installing.html which is basically the same as the one you showed in your snippet images. It does install the SDK, but I didn't know how to install the toolchain. I then uninstalled it and reinstalled it using the toolchain manager and it worked.

    At the moment I have a compiled version that I can test and look at a bit.


    Thanks a lot for the help and wish you a nice day

Related