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.
Thank you for the suggestion. I've done this.
A blog on the order of creating directories, cloning of Zephyr, creating the emStudio project, etc. might be useful for others that need to follow this path.
I gotten further, but I'm having a problem with emStudio doing the Zephyr build.
Thank you again,
-Craig
Hi
We're painfully aware of this matter. Can you copy the error SES outputs when you try to open the nRFConnect project?
Best regards,
Simon
Sorry if I caused some confusion.
By following your suggestion, I've gotten beyond opening the nRF Connect project.
I have a trouble when I try to build the project. The problem occurs deep within building Zephyr.
I get the following in the output log...
1> Combining ‘zephyr/include/generated/offsets.h’
1> Traceback (most recent call last):
1> File "C:/Users/info/Dropbox/64Seconds/NHM5G-Z/zephyr/scripts/gen_offset_header.py", line 72, in <module>
1> input_file = open(args.input, 'rb')
1> FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/info/Dropbox/64Seconds/NHM5G-Z/build/zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj'
Build failed
"C:/Users/info/Dropbox/64Seconds/NHM5G-Z" is the base directory for my nRF52840 project.
Perhaps interesting is that this error looks identical to one reported in Case ID: 223311, although the reported circumstances seem totally different. I posted a similar comment yesterday in that case.
My concern is that I have no way of knowing why the file is not available. I presume it needs to be built by emStudio, but I do not know why this build did not occur.
Any help would be appreciated.
-Craig Goldman
I just noticed that I failed to copy an important line in the log
Rebuilding ‘zephyr/include/generated/offsets.h’ from solution ‘build’ in configuration ‘Common’
1> Combining ‘zephyr/include/generated/offsets.h’
1> Traceback (most recent call last):
1> File "C:/Users/info/Dropbox/64Seconds/NHM5G-Z/zephyr/scripts/gen_offset_header.py", line 72, in <module>
1> input_file = open(args.input, 'rb')
1> FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/info/Dropbox/64Seconds/NHM5G-Z/build/zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj'
Build failed
Sorry.
-Craig
Hi Craig
Did this solve what you were struggling with, or are you still having trouble? It is not clear to me.
Best regards,
Simon