Is there an example for setting up a Segger Embedded Studio project for using an nRF52840 with Zephyr. The instructions on the Zephry site for adding Zephyr files to a project build do not seem to apply to how SES sets up a project.
Is there an example for setting up a Segger Embedded Studio project for using an nRF52840 with Zephyr. The instructions on the Zephry site for adding Zephyr files to a project build do not seem to apply to how SES sets up a project.
Still having problems. SES build of project fails when trying to execute "Rebuilding ‘zephyr/include/generated/offsets.h’ from solution ‘build’ in configuration ‘Common’". Log information is above. Not sure if this is a problem with emStudio, the Zephyr files, the structure of the Zephyr source directories or something else.
As I noted in earlier posts. There appears to be no documentation how to create a new project for an NRF52 or NRF91 that includes the Zephry directories. I followed the Zephyr documentation for adding the Zephry directories into the project, and I followed Nordic documentation for a new emStudio NRF Connect project. There is still a need to inform emStudio about the Zephyr build. I presumed this is done by creating a CMakeLists.txt in the top-level project directory. That seems to work- partially. Some of Zephry builds but (as seen in the log information above), the build eventually fails.
As I noted yesterday, I fit it interesting that this error I am getting looks identical to one reported in Case ID: 223311, although the reported circumstances seem totally different.
I do not know how to proceed.
-Craig
Hi Craig
I think this error is caused by what my colleague mentions in case 223311, as the latest master branch of Zephyr, does not currently works with SES. I think it affects your project either way if it is a 91 or 52 project, which explains why you get the same error. Reverting back to v0.3.0 refers to the nrf libraries, so I think this would help you, please try it by following the instructions in the other case.
And yes, I am sorry to report that there is no documentation or tutorial on how to create a new project for Zephyr in SES as of yet.
Best regards,
Simon
I appreciate your help and the clarification. I will try the instructions provided. Because of other project deadlines, I may not be able to work on this and communicate results until mid next week.
Thank you,
-Craig
I noticed that my new project does not include (yet) any Nordic libraries - just has my source code and zephyr.
I invoked cmd.exe in my zephyr directory and tried the git checkout tags/v1.13.99-ncs2. If failed. Error message is...
"error: pathspec 'tags/v1.13.99-ncs2' did not match any file(s) known to git"
I am not a git expert. Is this a directory path problem?
Disregard issue with last message. I had created the project using Zephry instructions and not the Nordic Playground version of Zephyr.
I will re-build the project cloning github.com/.../fw-nrfconnect-zephyr.git and following the directions in "Getting Started Assistant".
-Craig