
Build Your First nRF Connect SDK Application With west
Install the nRF Connect SDK v2.9, build a Zephyr blinky for the nRF52840 DK with west build, flash it with west flash and read printk output over serial.
FreeRTOS, Zephyr, NuttX, ThreadX and RTEMS: tasks, priorities, queues, timing analysis, devicetree and Kconfig, and when a superloop is enough.

Install the nRF Connect SDK v2.9, build a Zephyr blinky for the nRF52840 DK with west build, flash it with west flash and read printk output over serial.

Install Zephyr 4.1 and its SDK with west on Linux or macOS, build the blinky sample for a Nucleo board, flash it, and learn what each command does.

Move UART bytes from an interrupt to a task with a FreeRTOS stream buffer: trigger level, ISR send, blocking receive and the single-writer rule.

Move large buffers between FreeRTOS tasks and ISRs without copying them: a fixed buffer pool, a queue of small descriptors and a strict one-owner rule.

Send data from an interrupt to a task with xQueueSendFromISR: the woken-task flag, portYIELD_FROM_ISR, interrupt priority rules and a full-queue policy.

Read the oldest FreeRTOS queue item without removing it using xQueuePeek, and pair it with xQueueOverwrite to share a latest-value status between tasks.

FreeRTOS queues copy items by value so senders can reuse variables, stack data stays safe and ownership is clear. See the trade-offs and when to pass pointers.

Pass messages between FreeRTOS tasks with a queue: create it, send with xQueueSend, receive with xQueueReceive, set timeouts and check the return values.

Preemptive schedulers take the CPU away on their own, cooperative ones wait for a task to yield. Compare latency, safety and code cost with FreeRTOS examples.

Follow a FreeRTOS context switch on Cortex-M4F from the yield request to the PendSV handler, and see which registers hardware stacks and which software saves.

Compare FreeRTOS, Zephyr, NuttX and ThreadX on licensing, scope, hardware support and learning curve, then pick the right RTOS with a decision table.

Hard, firm and soft real-time differ in what a missed deadline costs, not in how short it is. Learn to classify requirements with examples and a utility test.
We send one email when a new post is published. No spam.