This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Issues with latest Secure Boot Sample

The latest changes to the Secure Boot sample main.c file cause compilation issues;

new main.c @line 304 NRFX_PERIPHERAL_ID_GET(NRF_P0), 0);

Doesn't work.


old main.c @line 304 NRFX_PERIPHERAL_ID_GET(NRF_GPIO), 0);

Works!

The commit comment says that it was changed to use the autogenerated definition.  Autogenerated by what?

Parents
  • Hi Juan,

    There was a period where something got commited into the master branch, while some dependencies were missing.

    Please make sure to update every repository:

    cd <sourcecode_root>\ncs\zephyr ; git checkout master ; git pull
    cd <sourcecode_root>\ncs\mcuboot ; git checkout master ; git pull
    cd <sourcecode_root>\ncs\nrf ; git checkout master ; git pull
    cd <sourcecode_root>\ncs\nrfxlib ; git checkout master ; git pull

    Then you should work as expected.

Reply
  • Hi Juan,

    There was a period where something got commited into the master branch, while some dependencies were missing.

    Please make sure to update every repository:

    cd <sourcecode_root>\ncs\zephyr ; git checkout master ; git pull
    cd <sourcecode_root>\ncs\mcuboot ; git checkout master ; git pull
    cd <sourcecode_root>\ncs\nrf ; git checkout master ; git pull
    cd <sourcecode_root>\ncs\nrfxlib ; git checkout master ; git pull

    Then you should work as expected.

Children
Related