Skip to content
systemcoding.dev

Tag

zephyr

18 posts

Flat illustration of a microcontroller wired to an LED and a sensor, with the Bluetooth, Nordic Semiconductor and Arm logos.
Embedded

Create a Custom BLE GATT Service on nRF52

Define a custom 128-bit GATT service on nRF52 with Zephyr: characteristic properties, read and write callbacks, notifications through the CCC and MTU limits.

9 min read
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