Category "zephyr-rtos"

Timer or Delayed work which is more accurate in Zephyr OS?

In Zephyr Operating System, I have to write an application, which will update a variable (can be treated as a counter) every 30ms. Basically I have 2 options A

How does a debugger identify a thread?

When using a debugger to debug a mutli-thread application, the debugger usually shows the currently running threads. Either with some GUI or command like info t

How to access the child nodes in a device tree (DTS) in Zephyr using DT_FOREACH_CHILD

I'm developing an application for an nRF52 SoC to access some external devices, kind of detectors in this case, so I have defined a custom format (and its corre

Visual Code Studio with C/C++ extension: How to disable warnings

I'm working with Zephyr OS in the Visual Code Studio IDE. Zephyr uses a lot of Macros but the C/C++ extension does not like that and throws Warnings. One exampl

ZephyrOS: how to add driver module to out of tree project

I haven't found a definitive info on how to add a driver module to out-of-tree Zephyr project, so I will provide the answer by my own.