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

Build zephyr.elf versus Build solution

I can see in Segger Embedded Studio v4.52 under the Build Tab, there are two methods to build the project.

1- Build > Build zephyr/zephyr.elf

2- Build > Build solution

What is the difference between the two methods?

Kind regards

  • Hi

    Learner said:
    Why can't I do that?

    You can, it's just that some changes might be needed. If you want to guarantee it works out of the box, you should use the NCS environment it's written in. But, just try to build and run and see how that goes. 

    You should run west update in the folder that contains the "west.yml" file, so ncs/nrf. This will update all the repositories in the NCS folder (so zephyr, mcuboot, bootloader, nrfxlib, etc)

     Best regards,

    Heidi

  • Thank you Heidi. I understand.

    Just in case I did not mention it before, I am using nRF5340 SoC under zephyr RTOS. So, I have two west.yml files. one under C:\Zypher\v1.3.0\nrf and another one under C:\Zypher\v1.3.0\zephyr. So, I think I should be running west update from C:\Zypher\v1.3.0\zephyr.

    What do you think?

    Kind regards

    Mohamed

  • Yes, there is a west.yml file in the "zephyr" directory as well and you can run west update there. However, the "west.yml" file in nrf is the one that describes what NCS environment the sample is written in, because that's the west.yml file that comes from the repository

« 6 7 8 9 10