Hands-On Embedded Programming with C++17: Create versatile and robust embedded solutions for MCUs and RTOSes with modern C++

Maya Posch

  • 出版商: Packt Publishing
  • 出版日期: 2019-01-31
  • 售價: $1,600
  • 貴賓價: 9.5$1,520
  • 語言: 英文
  • 頁數: 458
  • 裝訂: Paperback
  • ISBN: 1788629302
  • ISBN-13: 9781788629300
  • 相關分類: C++ 程式語言嵌入式系統
  • 立即出貨 (庫存=1)

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

相關主題

商品描述

Build safety-critical and memory-safe stand-alone and networked embedded systems

Key Features

  • Know how C++ works and compares to other languages used for embedded development
  • Create advanced GUIs for embedded devices to design an attractive and functional UI
  • Integrate proven strategies into your design for optimum hardware performance

Book Description

C++ is a great choice for embedded development, most notably, because it does not add any bloat, extends maintainability, and offers many advantages over different programming languages. Hands-On Embedded Programming with C++17 will show you how C++ can be used to build robust and concurrent systems that leverage the available hardware resources.

Starting with a primer on embedded programming and the latest features of C++17, the book takes you through various facets of good programming. You'll learn how to use the concurrency, memory management, and functional programming features of C++ to build embedded systems. You will understand how to integrate your systems with external peripherals and efficient ways of working with drivers. This book will also guide you in testing and optimizing code for better performance and implementing useful design patterns. As an additional benefit, you will see how to work with Qt, the popular GUI library used for building embedded systems.

By the end of the book, you will have gained the confidence to use C++ for embedded programming.

What you will learn

  • Choose the correct type of embedded platform to use for a project
  • Develop drivers for OS-based embedded systems
  • Use concurrency and memory management with various microcontroller units (MCUs)
  • Debug and test cross-platform code with Linux
  • Implement an infotainment system using a Linux-based single board computer
  • Extend an existing embedded system with a Qt-based GUI
  • Communicate with the FPGA side of a hybrid FPGA/SoC system

Who this book is for

If you want to start developing effective embedded programs in C++, then this book is for you. Good knowledge of C++ language constructs is required to understand the topics covered in the book. No knowledge of embedded systems is assumed.

Table of Contents

  1. What are embedded systems?
  2. C++ as an embedded language
  3. Developing for embedded Linux and similar systems
  4. Resource-restricted embedded systems
  5. Example: Soil humidity monitor with WiFi
  6. Testing OS-based Applications
  7. Testing Resource-restricted Platforms
  8. Example: Linux-based infotainment system
  9. Example: Building monitoring and control
  10. Developing Embedded Systems with Qt
  11. Developing for Hybrid SoC/FPGA Systems
  12. Best Practices

商品描述(中文翻譯)

建立安全關鍵和記憶體安全的獨立和網絡嵌入式系統


主要特點



  • 了解C++的運作方式,並與其他用於嵌入式開發的語言進行比較
  • 創建用於嵌入式設備的高級GUI,以設計具有吸引力和功能性的用戶界面
  • 將成熟的策略整合到設計中,以實現最佳硬件性能


書籍描述


C++是嵌入式開發的絕佳選擇,尤其是因為它不會增加任何贅餘代碼,提高可維護性,並且相對於其他編程語言具有許多優勢。《Hands-On Embedded Programming with C++17》將向您展示如何使用C++來構建強大且並發的系統,以充分利用可用的硬件資源。


從嵌入式編程和C++17的最新功能入門開始,本書將帶您深入了解良好編程的各個方面。您將學習如何使用C++的並發、內存管理和函數式編程功能來構建嵌入式系統。您將了解如何將系統與外部外設集成,以及與驅動程序高效工作的方法。本書還將指導您進行測試和優化代碼以獲得更好的性能,並實施有用的設計模式。作為額外的好處,您將了解如何使用Qt,這是一個用於構建嵌入式系統的流行GUI庫。


通過閱讀本書,您將增強使用C++進行嵌入式編程的信心。


您將學到什麼



  • 選擇正確的嵌入式平台用於項目
  • 為基於操作系統的嵌入式系統開發驅動程序
  • 在各種微控制器單元(MCU)上使用並發和內存管理
  • 使用Linux調試和測試跨平台代碼
  • 使用基於Linux的單板計算機實現信息娛樂系統
  • 使用Qt為現有嵌入式系統擴展GUI
  • 與混合FPGA / SoC系統的FPGA端通信


本書適合對象


如果您想開始使用C++開發有效的嵌入式程序,那麼本書適合您。您需要對C++語言結構有良好的了解,以理解本書涵蓋的主題。不需要對嵌入式系統有任何了解。


目錄



  1. 什麼是嵌入式系統?
  2. C++作為嵌入式語言
  3. 開發基於嵌入式Linux和類似系統
  4. 資源受限的嵌入式系統
  5. 示例:帶有WiFi的土壤濕度監測器
  6. 測試基於操作系統的應用程序
  7. 測試資源受限的平台
  8. 示例:基於Linux的信息娛樂系統
  9. 示例:建築監測和控制
  10. 使用Qt開發嵌入式系統
  11. 開發混合SoC / FPGA系統
  12. 最佳實踐