Understanding Zephyr System Timer Implementation

Understanding Zephyr System Timer Implementation

The kernel time of Zephyr is driven by sys_clock_announce. Regardless of the SOC type, the system timer is driven by interfacing with this API. For details, refer to the Zephyr Tick Clock Introduction. All system timer drivers for Zephyr are located under zephyr/drivers/timer. How Zephyr Chooses Which Driver to Use All system timer drivers supported … Read more

An Overview of Makefile, Kconfig, and .config in the Kernel

An Overview of Makefile, Kconfig, and .config in the Kernel

The Linux kernel source code is extensive, and it can be confusing to understand the relationship between Makefile, Kconfig, and .config. Not knowing how the kernel compilation system works can lead to issues when trying to modify the kernel, integrate your own drivers, or configure the kernel. These problems are all related to Makefile, Kconfig, … Read more

Understanding Makefile, Kconfig, and .config Files

Understanding Makefile, Kconfig, and .config Files

1 We want to add a program (such as a driver) to the kernel and ensure that this driver can be compiled into the kernel, which is fundamentally divided into two main parts. First, we need to tell the kernel, “Please include me in the next compilation,” which requires us to configure the kernel appropriately. … Read more

An Overview of Makefile, Kconfig, and .config in Linux Kernel Source

An Overview of Makefile, Kconfig, and .config in Linux Kernel Source

Click on the above“Embedded and Linux Matters”, select“Pin/Star the Official Account” Welfare and valuable content delivered first-hand The Linux kernel source code files are numerous, and it can be confusing to understand the relationship between Makefile, Kconfig, and .config. Not knowing the kernel compilation system can lead to issues when compiling or modifying the kernel, … 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