Zephyr RTOS Embedded C Programming: Using Embedded RTOS POSIX API (Zephyr RTOS 嵌入式 C 程式設計:使用嵌入式 RTOS POSIX API)

Eliasz, Andrew

  • 出版商: Apress
  • 出版日期: 2024-09-07
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 190
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798868801068
  • ISBN-13: 9798868801068
  • 相關分類: C 程式語言嵌入式系統
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

相關主題

商品描述

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.

商品描述(中文翻譯)

這些天,當提到嵌入式微處理器或控制器中使用的作業系統時,常使用「即時作業系統(RTOS)」這個術語。其中的「即時」指的是能夠以確定性和可預測性的方式快速回應外部事件的應用程式的能力。基於RTOS的應用程式必須在滿足應用程式需求的同時,遵守嚴格的截止時間限制。確保可靠處理緊急操作的一種方法是為每個任務設定優先級,並將更高的優先級分配給需要更及時回應的任務。

即時應用程式的另一個特點是仔細設計和實現各個任務之間的通信和同步。Zephyr RTOS是由Wind River Systems開發,並隨後開源。它的設計和實現是針對開發時間關鍵的物聯網(IoT)和工業物聯網(IIoT)應用程式的,因此它具有豐富的功能集,可用於構建無線和有線網絡應用程式。然而,豐富的功能集也意味著相對陡峭的學習曲線。

本書介紹了使用Zephyr核心服務編程嵌入式系統應用程式的基礎知識。在介紹Zephyr架構以及Zephyr構建和配置過程之後,本書將重點介紹使用Zephyr核心服務API進行多任務和進程間通信。類比於嵌入式Linux編程書籍,本書類似於一門專注於使用Posix API進行應用程式開發的Linux課程。然而,在這種情況下,將使用Zephyr核心服務API以及Zephyr支持的Posix API功能。

你將學到什麼:
- Cortex-M架構概述。
- 高級數據結構和算法編程(鏈表、循環緩衝區和列表)。
- 如何構建Zephyr應用程式,包括在Linux上設置命令行Zephyr開發環境。
- 實時作業系統中使用的任務調度和抢占模式。
- 調度、中斷和同步,包括線程、調度和系統線程。
- 對稱多處理(SMP)概述以及Zephyr對SMP的支持。
- 內存管理,包括內存堆、內存片和內存池。

本書適合對象:
- 嵌入式系統程式設計師、物聯網和工業物聯網開發人員、研究人員、藍牙低功耗應用程式開發人員(工業控制系統、智能傳感器、醫療設備、智能手錶、製造業、機器人技術)。同樣適用於計算機科學和數字電子學本科和碩士課程的學生。

作者簡介

Andrew Eliasz is the Founder and Head at Croydon Tutorial College as well as the Director of First Technology Transfer Ltd. First Technology Transfer runs advanced training courses and consults on advanced projects in IT, real time and embedded systems. Most courses are tailored to customers' needs. Croydon Tutorial College evolved from Carshalton Tutorial College which was established to provide classes, distance level teaching, workshops and personal tuition in computer science, maths, and science subjects at GCSE, A Level, BTEC, undergraduate and masters levels. It has now changed its name and location to Croydon Tutorial College at Weatherill House Croydon. As well as teaching and tutoring they also provide mentoring and help for students having difficulties with assignments and projects (e.g., by suggesting how to add to a project to obtain a better grade, as well as reviewing project content and writing styles).

作者簡介(中文翻譯)

Andrew Eliasz是Croydon教學學院的創辦人和負責人,也是First Technology Transfer Ltd的董事。First Technology Transfer提供高級培訓課程,並在IT、實時和嵌入式系統領域提供專業諮詢。大多數課程都根據客戶的需求量身定制。Croydon教學學院起源於Carshalton教學學院,該學院成立的目的是提供計算機科學、數學和科學科目的課程、遠程教學、研討會和個人輔導,涵蓋GCSE、A Level、BTEC、本科和碩士水平。現在,它已經改變了名稱和位置,位於Croydon的Weatherill House的Croydon教學學院。除了教學和輔導外,他們還為學生提供指導和幫助,解決作業和項目方面的困難(例如,建議如何改進項目以獲得更好的成績,以及審查項目內容和寫作風格)。