In-Depth Notes on ZephyrRTOS (3): Why I Like Zephyr’s Cross-Platform Capability

In-Depth Notes on ZephyrRTOS (3): Why I Like Zephyr's Cross-Platform Capability

I believe the cross-platform abstraction provided by ZephyrRTOS is a very important feature. Of course, the abstraction itself also brings a more complex software architecture and a steeper learning curve. Recently, I tried to use the nRF52840 to create a low-power Bluetooth + LTE + GNSS board. Initially, the distributor lent me an nRF52840 DK, … Read more

Zephyr Kernel Debugging Tool Object Cores

Zephyr Kernel Debugging Tool Object Cores

Overview Object Cores is a kernel debugging tool provided by Zephyr, used to identify registered objects and perform statistical operations on them. Most RTOS kernel objects have their own lists for collecting and reporting statistics, while Zephyr abstracts Object Cores to provide a unified method for collecting and retrieving information. Various kernel objects in Zephyr … Read more

Zephyr Settings Subsystem User Guide

Zephyr Settings Subsystem User Guide

The Settings subsystem provides methods for persistent storage configuration and runtime status. Developers can flexibly choose the backend to store configuration and status in specified permanent storage based on actual conditions. In simple terms, the Settings subsystem can be used to store data such as volume and duration, which remain effective even after rebooting. The … Read more

Introduction to Zephyr C Standard Library

Introduction to Zephyr C Standard Library

C Standard Library Zephyr provides several C standard libraries for users: Generic C Library Minimal libc Newlib Picolibc Generic C Library The Generic C Library is not a complete C standard library; it provides some C library functions to be used in conjunction with other C standard libraries, mainly to address: Providing functionalities that other … Read more

Picolibc: A C Standard Library for Embedded Systems

Picolibc: A C Standard Library for Embedded Systems

Picolibc is a C standard library suitable for small microcontroller embedded systems, which can operate in low memory (RAM) devices. Picolibc is an upgraded version of “newlib-nano” that lacks a mature stdio lib, using a lightweight stdio lib from avrlibc, making it more suitable for low memory embedded devices. Zephyr introduced Picolibc in v3.3.0, and … Read more

Understanding Zephyr Build System Process

Understanding Zephyr Build System Process

The build process of Zephyr is divided into two main stages: the configuration stage and the compilation stage. The configuration stage generates the necessary configuration items, while the compilation stage selects the source code to compile based on the configuration items and links them into the final executable file. The configuration stage is driven by … Read more

Zephyr: A New Generation RTOS That Is Efficient and Secure

Zephyr: A New Generation RTOS That Is Efficient and Secure

What Is Zephyr? Zephyr is a new generation real-time operating system (RTOS) designed for various hardware architectures. It offers scalability, optimization, and security, making it one of the preferred choices among developers. Scalability One of Zephyr’s greatest advantages is its scalability. It can be easily applied to various hardware architectures, including ARM, x86, RISC-V, etc., … Read more

Zephyr Kernel Time Management

Zephyr Kernel Time Management

Zephyr provides a powerful and extensible time framework for obtaining and tracking timing events from hardware timing sources of any precision. Time Units The kernel time is tracked in the following time units: Real Time Hardware Counter Cycles Ticks Real Time The kernel time is described in real-time units: milliseconds/microseconds, which is easy to understand … Read more

Detailed Explanation of the Zephyr Model

Detailed Explanation of the Zephyr Model

Click the “Deephub Imba“, follow the public account, and don’t miss out on great articles!! Zephyr utilizes dDPO, significantly improving intent alignment and AI feedback (AIF) preference data, following steps similar to InstructGPT. Training Method Distilled Supervised Fine-Tuning (dSFT) Starting from the original LLM, it is first trained to respond to user prompts, traditionally done … Read more

Zephyr Timing Measurement

Zephyr Timing Measurement

Zephyr provides a set of timing APIs for measuring code execution time, helping to analyze and optimize code. These timing APIs may use a different timer than the default kernel timer, and the timer used is specified by the architecture, SoC, or board configuration. API The timing APIs are defined in zephyr/include/zephyr/timing/timing.h and will only … Read more