So I’m a beginner at this whole Embedded Dev/Zephyr RTOS/PlatformIO, so apologies in advance for any stupid questions.
I’ve been trying to work through the examples provided by Zephyr to learn how to use it, however I’ve encountered some difficulties. To help myself (and others) I’ve decided to document this all in a Github rep. This should make it easier to resolve the questions.
Right now I’m struggling with missing files, so I can’t build correctly. I suspect this might have something to do with my CMakeLists.txt or PlatformIO setup, but I can’t figure it out. Could someone help me to resolve these include errors I’m getting?
Github ← will update this as questions get resolved, also contains my examples code.
cannot open source file “syscalls/sample_driver.h” (dependency of “sample_driver.h”)
Userspace Protected Memory
storage size of ‘pt_domain’ isn’t known
storage size of ‘enc_domain’ isn’t known
‘enc_part’ undeclared (first use in this function); did you mean ‘enc_parts’?
identifier “enc_part” is undefined
cannot open source file “syscall_list.h” (dependency of “zephyr.h”)
Socket Echo Client (see examples.md)
cannot open source file “echo-apps-cert.der.inc” (dependency of “ca_certificate.h”)
And last but not least, is there any option of having (Zephyr) RTOS aware debugging inside PlatformIO?