Embedded Programming with C++ Cookbook: Practical recipes to help you build robust and secure embedded applications using C++17 and C++20
by: Igor Viarheichyk
Print Length 页数: 389 pages
Publisher finelybook 出版社: Packt Publishing – ebooks Account (11 May 2020)
Language 语言: English
ISBN-10: 183882104X
ISBN-13: 9781838821043
Book Description
By finelybook
Build on your knowledge effectively,from building your first embedded application through to solving challenges in performing multithreading,memory management,and microcontrollers
Developing applications for embedded systems may seem like a daunting task as developers face challenges in terms of limited memory,power consumption,and maintaining real-time responses. This book is a collection of practical examples for understanding how to develop applications for embedded boards and solve challenges that you may encounter while developing.
The book will start with an introduction to embedded systems and how to set up the development environment. By teaching you to build your first embedded application,the book will help you progress from the basics to more complex concepts such as debugging,logging and profiling. Moving ahead,you will understand the use of specialized memory and custom allocators. From here,you will delve into recipes that will teach you how to work with the C++ memory model,atomic variables,and synchronization. The book will then take you through recipes on inter-process communication,data serialization,and timers. Finally,you ll cover topics such as error handling,and guidelines for real-time systems and safety-critical systems.
By the end of this book,you will be proficient in building robust and secure embedded applications with C++.
What you will learn
Become well-versed with how to deploy software to an embedded system
Create specialized Linux distributives for embedded systems using the Yocto Project
Understand concepts such as interrupt vector array,Separating Device Driver and interrupt controller management
Discover the importance of logging for debugging and failure root cause analysis
Understand the need for custom memory allocators for better memory management
Use toolkit implementers for code optimization
Table of Contents
Preface
Chapter 1: Fundamentals of Embedded Systems
Chapter 2: Setting Up the Environment
Chapter 3: Working with Different Architectures
Chapter 4: Handling Interrupts
Chapter 5: Debugging,Logging,and Profiling
Chapter 6: Memory Management
Chapter 7: Multithreading and Synchronization
Chapter 8: Communication and Serialization
Chapter 9: Peripherals
Chapter 10: Reducing Power Consumption
Chapter 11: Time Points and Intervals
Chapter 12: Error Handling and Fault Tolerance
Chapter 13: Guidelines for Real-Time Systems
Chapter 14: Guidelines for Safety-Critical Systems
Chapter 15: Microcontroller Programming
Other Books You May Enjoy
Index