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.
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
OK. I've started a brand new project.
I created a base directory.
Cloned zephyr into <baseDir>/zephyr.
Followed instructions in "Getting Started Assistant" to do
"git checkout tags/v1.13.99-ncs2" and
"pip3 install -r zephyr\scripts\requirements.txt"
Created empty 'build' directory.
Then I activated emStudio and selected "Open Connect nRF SDK Project..."
This failed.
Error message:
"Can't load project file"
"The project file 'C:Users/info/Dropbox/64Seconds/NHM5G-Z/build/NHM5G-Z.emProject' is invalid"
"The reported error is 'solution load command failed (1)'
This was followed by second error message:
"Can't read file"
"Can't open zephyr/cmake/extensions.cmake for reading"
The file "<baseDire>/zephyr/cmake/extensions.cmake" does exist.
Any thoughts?
OK. I've started a brand new project.
I created a base directory.
Cloned zephyr into <baseDir>/zephyr.
Followed instructions in "Getting Started Assistant" to do
"git checkout tags/v1.13.99-ncs2" and
"pip3 install -r zephyr\scripts\requirements.txt"
Created empty 'build' directory.
Then I activated emStudio and selected "Open Connect nRF SDK Project..."
This failed.
Error message:
"Can't load project file"
"The project file 'C:Users/info/Dropbox/64Seconds/NHM5G-Z/build/NHM5G-Z.emProject' is invalid"
"The reported error is 'solution load command failed (1)'
This was followed by second error message:
"Can't read file"
"Can't open zephyr/cmake/extensions.cmake for reading"
The file "<baseDire>/zephyr/cmake/extensions.cmake" does exist.
Any thoughts?