Skip to content
systemcoding.dev
Topic

RTOS

FreeRTOS, Zephyr, NuttX, ThreadX and RTEMS: tasks, priorities, queues, timing analysis, devicetree and Kconfig, and when a superloop is enough.

Flat illustration of RTOS tasks taking turns on a timeline, with the C, Rust and Arm logos.
RTOS

Run Periodic Code With Zephyr k_timer

Run code every N milliseconds in Zephyr with k_timer, including one-shot and periodic modes, the expiry callback rules and how to wake a thread from it.

7 min read
Flat illustration of RTOS tasks taking turns on a timeline, with the C, Espressif and Arm logos.
RTOS

Create Zephyr Threads With K_THREAD_DEFINE

Use K_THREAD_DEFINE to create a Zephyr thread at build time, with stack size, priority and start delay, plus the thread entry signature and how to stop it.

6 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.