Zephyr RTOS Embedded C Programming: Using Embedded RTOS POSIX API
- Length: 696 pages
- Edition: F
- Language: English
- Publisher: Apress
- Publication Date: 2024-09-21
- ISBN-10: B0CMZ4FSCJ
- ISBN-13: 9798868801068
- Sales Rank: #4188566 (See Top 100 Books)
These days the term Real-Time Operating System (RTOS) is used when referring to an operating system designed for use in embedded microprocessors or controllers. The “Real Time” part refers to the ability to implement applications that can rapidly responding to external events in a deterministic and predictable manner. RTOS-based applications have to meet strict deadline constraints while meeting the requirements of the application. One way of ensuring that urgent operations are handled reliably is to set task priorities on each task and to assign higher priorities to those tasks that need to respond in a more timely manner.
Another feature of real-time applications is the careful design and implementation of the communication and synchronization between the various tasks. The Zephyr RTOS was developed by Wind River Systems, and subsequently open sourced. Its design and implementation are oriented towards the development of time critical IoT (Internet of Things) and IIoT (Industrial Internet of Things) applications, and, consequently it has a rich feature set for building both wireless and wired networking applications. However, with a rich feature set comes a fairly steep learning curve.
This book covers the foundations of programming embedded systems applications using Zephyr’s Kernel services. After introducing the Zephyr architecture as well as the Zephyr build and configuration processes, the book will focus on multi-tasking and inter-process communication using the Zephyr Kernel Services API. By analogy with embedded Linux programming books, this book will be akin a Linux course that focuses on application development using the Posix API. In this case, however, it will be the Zephyr Kernel Services API that will be the API being used as well as the Posix API features supported by Zephyr.
What You’ll learn
- An Overview of the Cortex-M Architecture.
- Advanced data structures and algorithms programming (linked lists, circular buffers and lists).
- How to build Zephyr Applications, including setting up a Command Line Zephyr Development Environment on Linux.
- Task scheduling and pre-emption patterns used in Real Time Operating Systems.
- Scheduling, Interrupts and Synchronization, including threads, scheduling, and system threads.
- Overview of Symmetric Multiprocessing (SMP) and Zephyr support for SMP.
- Memory management, including memory heaps, memory slabs, and memory pools.
Who This Book Is For
Embedded Systems programmers, IoT and IIoT developers, researchers, BLE application developers (Industrial Control Systems, Smart Sensors, Medical Devices, Smart Watches, Manufacturing, Robotics). Also of use to undergraduate and masters in computer science and digital electronics courses.
How to download source code?
1. Go to: https://github.com/Apress
2. In the Find a repository… box, search the book title: Zephyr RTOS Embedded C Programming: Using Embedded RTOS POSIX API
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.