Packt

C++ in Embedded Systems

Ends in 4 days! Get Coursera Plus for $239/year this Black Friday and explore skills that last.

Packt

C++ in Embedded Systems

Included with Coursera PlusLearn more

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Debunk common myths about using C++ in embedded systems

  • Set up a modern development environment for C++ in constrained settings

  • Apply strong typing and RAII to improve code safety and efficiency

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

November 2026

Assessments

19 assignments

Taught in English

There are 18 modules in this course

This module delves into common misconceptions about C++ in embedded systems, covering topics such as code optimization, template-based implementations, and the impact of language features like RTTI and exceptions. Learners will gain a deeper understanding of how C++ can be effectively used in resource-constrained environments and how to avoid common pitfalls.

What's included

1 video7 readings1 assignment

This module delves into the complexities of developing firmware for embedded systems with limited resources, covering real-time execution, A-B timing, and dynamic memory management in C++23. Learners will gain insights into optimizing performance and managing memory efficiently in resource-constrained environments.

What's included

1 video4 readings1 assignment

This module provides an in-depth look at the C++ development environment for Arm Cortex-M microcontrollers, covering essential tools like compilers, static analyzers, unit testing frameworks, and the Compiler Explorer. Learners will gain practical knowledge on setting up and using these tools to develop and test embedded systems effectively.

What's included

1 video4 readings1 assignment

This module guides learners through setting up a reliable and reproducible development environment for C++ embedded projects. It covers defining requirements, configuring containerized tools like Docker, and using CMake for firmware builds. Learners will gain practical skills in building and managing embedded systems with modern development practices.

What's included

1 video3 readings1 assignment

This module covers the fundamentals of C++ classes, including encapsulation, object creation, storage duration, inheritance, and UML class diagrams. Learners will gain skills in structuring code, managing object lifecycles, and designing hierarchical relationships in software systems.

What's included

1 video6 readings1 assignment

This module introduces essential C++ concepts such as namespaces, function overloading, references, and standard library containers. Learners will gain a deeper understanding of how to organize code effectively, improve function flexibility, and utilize powerful library tools for better performance and efficiency.

What's included

1 video4 readings1 assignment

This module provides an in-depth look at error handling techniques in C++ for embedded systems, covering error codes, exceptions, and modern alternatives like std::optional and std::expected. Learners will understand how to implement and choose the most appropriate error-handling strategies for reliable firmware development.

What's included

1 video3 readings1 assignment

This module covers the fundamentals of creating generic and reusable code using C++ templates, including template specialization and concepts. Learners will gain an understanding of how to write flexible and type-safe functions and improve code efficiency through advanced template techniques.

What's included

1 video3 readings1 assignment

This module covers essential techniques for improving type-safety in C++ through safe type conversions, understanding numeric promotions, and implementing strong types. Learners will gain insights into the risks of implicit and explicit conversions and how to design safer interfaces using modern C++ features.

What's included

1 video6 readings1 assignment

This module covers the use of lambda expressions in C++ for encapsulating functionality, storing them with std::function, and applying them in real-world scenarios like GPIO interrupt handling. Learners will gain practical skills in writing expressive and efficient code for embedded systems.

What's included

1 video3 readings1 assignment

This module covers advanced techniques for optimizing code at compile time using C++ features like constexpr and consteval. Learners will explore how to implement efficient, resource-friendly code through concepts such as templates, lookup tables, and compile-time parsing of data structures.

What's included

1 video6 readings1 assignment

This module teaches how to design and implement hardware abstraction layers (HALs) in C++ using memory-mapped peripherals, type-safe abstractions, and portable firmware techniques. Learners will gain hands-on experience with structuring C++ code to interface with embedded hardware, including working with bit fields and timer traits.

What's included

1 video4 readings1 assignment

This module focuses on integrating C libraries into C++ projects, emphasizing techniques like language linkage, static classes, and RAII for managing resources in embedded systems. Learners will gain practical skills in interoperability and resource management through real-world examples and implementations.

What's included

1 video4 readings1 assignment

This module explores the enhancement of a super-loop architecture in bare-metal systems using a sequencer. It covers the design and implementation of sequencers to manage task execution efficiently, as well as the use of callable objects like etl::delegate for improved code structure.

What's included

1 video2 readings1 assignment

This module explores the Observer design pattern and its implementation in embedded systems, focusing on real-time temperature updates. Learners will understand how to use variadic templates in C++ to create flexible and efficient observer-based systems. The module provides hands-on insights into designing and applying design patterns in practical scenarios.

What's included

1 video3 readings1 assignment

This module explores the design and implementation of scalable finite state machines using modern C++23 techniques. Learners will gain hands-on experience with state patterns, refactoring, and tag-dispatching to build efficient and maintainable systems, particularly in embedded environments.

What's included

1 video4 readings1 assignment

This module explores the use of libraries and frameworks in embedded systems, focusing on efficient memory management, compile-time configuration, and practical implementation of components like Pigweed and CIB. Learners will gain hands-on experience with tools that enhance performance and reliability in constrained environments.

What's included

1 video6 readings1 assignment

This module explores strategies for creating portable and maintainable code in embedded systems. It covers key software design principles like SOLID, with a focus on the Open/Closed Principle. Learners will gain practical insights into designing adaptable software for different platforms.

What's included

1 video2 readings2 assignments

Instructor

Packt - Course Instructors
Packt
2,690 Courses785,579 learners

Offered by

Packt

What brings you to Coursera today?

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions