Embedded Programming with C++ Cookbook: Practical recipes to help you build robust and secure embedded applications using C++17 and C++20

Embedded Programming with C++ Cookbook: Practical recipes to help you build robust and secure embedded applications using C++17 and C++20

English | 2020 | ISBN: 978-1838821043 | 389 Pages | PDF, EPUB | 94 MB

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
Homepage