Embedded Programming with C++ Cookbook: Practical recipes to help you build robust and secure embedded applications on Linux
Paperback
General ComputersGeneral ScienceProgramming
ISBN13: 9781838821043
Publisher: Packt Publishing
Published: Apr 17 2020
Pages: 412
Weight: 1.55
Height: 0.84 Width: 7.50 Depth: 9.25
Language: English
Explore various constraints and challenges that embedded developers encounter in their daily tasks and learn how to build effective programs using the latest standards of C++
Key Features
- Get hands-on experience in developing a sample application for an embedded Linux-based system
- Explore advanced topics such as concurrency, real-time operating system (RTOS), and C++ utilities
- Learn how to test and debug your embedded applications using logs and profiling tools
Book Description
Developing applications for embedded systems may seem like a daunting task as developers face challenges related to limited memory, high power consumption, and maintaining real-time responses. This book is a collection of practical examples to explain how to develop applications for embedded boards and overcome the 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 learn how to use 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 will cover topics such as error handling and guidelines for real-time systems and safety-critical systems.
By the end of this book, you will have become proficient in building robust and secure embedded applications with C++.
What you will learn
- Get to grips with the fundamentals of an embedded system
- Understand how to optimize code for the targeted hardware platforms
- Explore cross-compilation, build types, and remote debugging
- Discover the importance of logging for debugging and root cause analysis of failures
- Uncover concepts such as interrupt service routine, memory model, and ring buffer
- Recognize the need for custom memory management in embedded systems
- Delve into static code analyzers and tools to improve code quality
Who this book is for
This book is for developers, electronic hardware professionals, and software and system-on-chip engineers who want to build effective embedded programs in C++. Familiarity with the C++ programming language is expected, but no previous knowledge of embedded systems is required.
Also in
General Science
How It All Works: All Scientific Laws and Phenomena Illustrated & Demonstrated
Clegg, Brian
Dant, Adam
Hardcover
The Code Breaker: Jennifer Doudna, Gene Editing, and the Future of the Human Race
Isaacson, Walter
Hardcover
The Little Book of Big Explorations: Adventures Into the Unknown That Changed Everything
Osman, Jheni
Paperback
The Eureka Machine: Why AI Is the Key to Unlocking a New Era of Scientific Discoveries
Socher, Richard
Hardcover
Kobuk the Destroyer: And Other Tales from the Wild, Unseen World of Test Engineering
Davies, Alex
Hardcover
A Bird's IQ: Innovation, Intelligence, and Problem Solving in the Avian World
Lefebvre, Louis
Hardcover
The Ultimate Guide to Rebuilding a Civilization: A Technical Manual for the Post-Collapse Era
Evans, James
Paperback
Ancient Astrology in Theory and Practice: A Manual of Traditional Techniques, Volume I: Assessing Planetary Condition
George, Demetra
Paperback
The Reference Manual of Woody Plant Propagation: From Seed to Tissue Culture, Second Edition
Dirr, Michael A.
Heuser Jr, Charles W.
Paperback
The Quantum Power of GLP-1 Peptides: Unlocking the Science that Leads to Lasting Weight Loss and Optimal Healthspan
Seeds, William A.
Paperback
Judas Dentistry: How Dentists Scorn Science, Break the Hippocratic Oath, and Wreck Their Patients' Minds and Bodies
Yoho, (Ret) Robert
Paperback
Force of Nature: Understanding Evolution's Deepest Logic-And Putting It to Use
Jones, Owen D.
Hardcover
Elledge's Nontrivial Trivia: The Seriously Enlightening Stories Behind Supposedly Simple Facts
Elledge, Jonn
Paperback
5 Steps to a 5: AP Biology 2027: Practice AP Tests + AP Content Review + Digital Exams
Anestis, Mark
Burris, Kelcey
Paperback
You Look Like a Thing and I Love You: How Artificial Intelligence Works and Why It's Making the World a Weirder Place
Shane, Janelle
Paperback
Liquid Rules: The Delightful and Dangerous Substances That Flow Through Our Lives
Miodownik, Mark
Paperback
The New Guys: The Historic Class of Astronauts That Broke Barriers and Changed the Face of Space Travel
Bagby, Meredith
Paperback
180 Days(r) Science for Sixth Grade: Practice, Assess, Diagnose
Homayoun, Lauren
Bayne, Bebra
Paperback
Baked to Perfection: Winner of the Fortnum & Mason Food and Drink Awards 2022
Cermelj, Katarina
Hardcover
Notes on Complexity: A Scientific Theory of Connection, Consciousness, and Being
Theise, Neil
Paperback
Science in Seconds for Kids: Over 100 Experiments You Can Do in Ten Minutes or Less
Potter, Jean
Stier, Samuel Cord
Paperback
Gray's Anatomy (Deluxe Leatherbound Edition): Anatomy Descriptive and Surgical
Gray, Henry, Frs
Hardcover
Stay Curious and Keep Exploring: 50 Amazing, Bubbly, and Creative Science Experiments to Do with the Whole Family
Calandrelli, Emily
Hardcover
Designing for People: An Introduction to Human Factors Engineering
Boyle, Linda Ng
Wickens, Christopher D.
Liu, Yili
Paperback
When the Forest Breathes: Renewal and Resilience in the Natural World (Large Print Edition)
Simard, Suzanne
Paperback
Why Nobody Understands Quantum Physics: The Story of the Science That Shapes Our World
Verstraete, Frank
Broeckaert, Céline
Hardcover
Stuff Matters: Exploring the Marvelous Materials That Shape Our Man-Made World
Miodownik, Mark
Paperback
(Super) Natural Science: The Real Science of Superheroes, Mythic Creatures, and the (Sci-Fi) Universe
Liu, Charles
Paperback
Think in Systems: The Art of Strategic Planning, Effective Problem Solving, And Lasting Results
McKey, Zoe
Paperback
The Next Big Thing: Innovations for a Better, Smarter, Stronger Tomorrow
Marciano, Rob
Trefil, James
Hardcover
Allies for Awakening: Guidelines for productive and safe experiences with entheogens
Metzner, Ralph
Paperback
Is This an Agate?: An Illustrated Guide to Lake Superior's Beach Stones Michigan
Robinson, Susan
Paperback
Pseudoscience: An Amusing History of Crackpot Ideas and Why We Love Them
Kang, Lydia
Pedersen, Nate
Hardcover
Elementary Science Education: Building Foundations of Scientific Understanding, Vol. II, grades 3-5, 2nd ed.
Nebel, Bernard J.
Paperback
The Theoretical Minimum: What You Need to Know to Start Doing Physics
Hrabovsky, George
Susskind, Leonard
Paperback
The Physics of Wall Street: A Brief History of Predicting the Unpredictable
Weatherall, James Owen
Paperback
The Radioactive Boy Scout: The Frightening True Story of a Whiz Kid and His Homemade Nuclear Reactor
Silverstein, Ken
Paperback
The Salmon Cannon and the Levitating Frog: And Other Serious Discoveries of Silly Science
York, Carly Anne
Hardcover
The Peptide Protocols: Exploring the Science for Human Optimization: Exploring the
Smith, W. T.
Paperback
The Autobiography of Nikola Tesla and Other Works (Deluxe Leatherbound Edition)
Tesla, Nikola
Martin, Thomas Commerford
Hardcover
Counterclockwise: Using Peptides to Renew, Rejuvenate, and Rediscover (Large Print Edition)
Ferree, Suzanne J.
Hardcover
They Had Names: Tracing the History of the North American Indigenous People
Jeanson, Nathaniel
Hardcover
Middle School Science Education: Building Foundations of Scientific Understanding, Vol. III, Grades 6-8
Nebel, Bernard J.
Paperback
Avoiding the Great Filter: Illuminating Pathways to Humanity's Future in the Cosmos
Jiang, Jonathan H.
Rosen, Philip E.
Hardcover
180 Days(r) Geography for Fourth Grade: Practice, Assess, Diagnose
Aracich, Chuck
Aracich, Charles
Paperback
Outer Space Is Closer Than Antarctica: And Other Things I Learned While Falling in Love at the Bottom of the World
Ott, Michelle
Hardcover
Signals from the Subatomic World: How to Build a Proton Precession Magnetometer
Hollos, Stefan
Hollos, Richard
Paperback
Labwork to Leadership: A Concise Guide to Thriving in the Science Job You Weren't Trained for
Heemstra, Jen
Hardcover
Art-Science Undisciplined: A Playbook for Transformative Collaboration
Gosnell, Natalie
Balasubramanian, Janani
Paperback
The One Thing You Need to Know: The Simple Way to Understand the Most Important Ideas in Science
Chown, Marcus
Paperback
Ether Day: The Strange Tale of America's Greatest Medical Discovery and the Haunted Men Who Made It
Fenster, J. M.
Paperback
Science and Cooking: Physics Meets Food, from Homemade to Haute Cuisine
Brenner, Michael
Sörensen, Pia
Weitz, David
Hardcover
GED Test Prep - Science & Social Studies: A Quickstudy Laminated Reference Guide
Miskevich, Frank
Berg Scherer, Rachel
Other
Hunt for the Skinwalker: Science Confronts the Unexplained at a Remote Ranch in Utah
Knapp, George
Kelleher, Colm A.
Paperback
The Pale Blue Data Point: An Earth-Based Perspective on the Search for Alien Life
Willis, Jon
Hardcover
Storytime Stem: Nursery Rhymes: 10 Favorite Rhymes with Hands-On Investigations
Rhodes, Immacula A.
Rhodes, Immacula
Paperback
Life in Sync: The Science of Internal Clocks and How We're Disrupting Them
Gander, Philippa
Hardcover
Reactions: An Illustrated Exploration of Elements, Molecules, and Change in the Universe
Gray, Theodore
Paperback
The Scientist's Guide to Writing, 3rd Edition: How to Write More Easily and Effectively Throughout Your Scientific Career
Heard, Stephen B.
Paperback
