Embedded Systems Engineering Roadmap
This roadmap is designed to help beginners aspiring to build a career as an Embedded Engineer/Developer, as well as assist current practitioners in expanding their skills.
Embedded engineering demands a solid understanding of hardware functionality as well as software development and programming skills. If you really want to pursue this career you must be highly motivated and passionate about it. As the well-known saying goes, "Hardware is hard!". But don't panic and be patient for the challenges you may encounter along this exciting journey. By dedicating enough time and effort practicing and doing projects you will soon find yourself as a real embedded engineer! 😀
❓ What is an Embedded System?
▶️ ISO/IEC/IEEE 24765 Standard:
computer system that is part of a larger system and performs some of the requirements of that system. For example, a computer system used in an aircraft or rapid transit system.
The hardware and software of an embedded system are usually minimized and optimized for specific functions. The embedded system includes at least one microcontroller, microprocessor or digital signal processor. The embedded system designed to optimize reliability, cost, size and power saving for applications.
▶️ "Making Embedded Systems" Book:
An embedded system is a computerized system that is purpose built for its application.
▶️ "Computer Organization and Embedded Systems" Book:
A physical system that employs computer control for a specific purpose, rather than for general-purpose computation, is referred to as an embedded system.
An embedded system is a system in which the computer (generally a microcontroller or microprocessor) is included as an integral part of the system.
Often, the computer is relatively invisible to the user, without obvious applications, files, or operating systems. Examples of products with invisible embedded systems are the controller that runs a microwave oven or the engine control system of a modern automobile.
A combination of computer hardware and software, and perhaps additional mechanical or other parts, designed to perform a dedicated function.
In some cases, embedded systems are part of a larger system or product, as in the case of an antilock braking system in a car.
🗺️ The Roadmap
🌐 Open the interactive roadmap to explore it in your browser. Click any topic to read its description and see its learning resources, hover over it to see the topics it is related to, highlight topics by learning priority (required, recommended or optional), and search across all topics and resources. The roadmap can also be downloaded there as a PDF or PNG image.
The embedded systems engineering roadmap is structured into three fundamental areas: SOFTWARE, HARDWARE, and SOFT SKILLS.
While the intersection of hardware and software is prevalent in embedded systems, specific job titles tend to emphasize one aspect over the other. For instance, roles like "Embedded Software Engineer/Developer," "Firmware Engineer/Developer," and "Embedded Linux Engineer/Developer" predominantly focus on software development. In contrast, positions such as "Embedded Hardware Engineer" and "Hardware Design Engineer" primarily deal with hardware design and electronics. Moreover, there are roles like "Embedded Systems Engineer" that necessitate a comprehensive understanding of both hardware and software.
It's crucial to note that each company in the embedded industry may have unique requirements for a given job title. Therefore, it's essential to tailor your focus based on your career aspirations. If you're seeking an embedded software position, prioritize the software-related skills outlined in the roadmap. Conversely, if you're interested in an embedded hardware job, concentrate on hardware skills and dedicate more time to learning electronics.
The roadmap provides a comprehensive guide to the essential topics for a typical "Embedded Systems Engineer" role. By delving into both software and hardware aspects, you can develop the necessary skills to thrive in this dynamic field. However, if you have a clear preference for software or hardware, you can tailor your learning path accordingly.
🔗 For more information about the history behind this roadmap, read this article: Embedded Systems Roadmap: Bridging the Gap
Note
Remember that the priority of individual software and hardware skills can differ depending on the specific requirements of the company and the job role.
Tip
To differentiate between the types of learning resources and the quality of their content, specific symbols are used before each item.
Resource types:
- 📘 : Books
- 🎞️ : Videos
- 📝 : Write-ups, articles, and blog posts
- 🔗 : Other links that do not fit into any of the above categories
Content quality symbols:
- 👶 : Easy-to-understand and beginner-friendly resources. Refer to them if you do not have prior knowledge in a topic.
- 💎 : Well-known references that have truly invaluable and comprehensive content. Refer to them if you want to deepen your understanding of a topic.
Important
This repository is not affiliated with or financially supported by any content creator, publisher, or organization. We do not endorse or recommend any specific paid resources. Both free and paid resources are included to provide a range of options, allowing you to choose what best suits your needs and preferences.
😕 Don't Know Where to Start!
If you feel overwhelmed by the extensive list of topics in the roadmap, you're not alone. Before delving too deeply, let's ease into it with some simple starter projects. Learning embedded systems engineering takes time and effort. Don't get discouraged if you don't understand something right away. Keep practicing and you will eventually get there.
⚒️ Projects
Engaging in hands-on projects is the most effective approach to learning. Rather than solely relying on theoretical knowledge from books or articles. Undertaking projects allows for practical learning experiences. Even a seemingly basic project has the potential to teach you more than hours of aimless reading. You can refer to books, articles, and courses when faced with difficulties in understanding the problems in real-world projects.
Don't try to build a complex project right away. Start with small, manageable projects to get your feet wet.
- 🔗 Random Nerd Tutorials | Learn ESP32, ESP8266, Arduino, and Raspberry Pi
- 🔗 Last Minute Engineers
- 🔗 51 STM32 Projects & Tutorials for Beginners and Up - Hackster.io
- 🔗 STM32 (STM32F103C8) Projects & Tutorials
- 🔗 ElectronicWings Projects
- 🔗 STM32 Firmware - Phil’s Lab (YouTube Playlist)
- 🔗 Raspberry Pi Based Embedded Project Ideas
- 🔗 Embedded Linux On ARM | Projects
- 🔗 Embedded System Project Series - Artful Bytes (YouTube Playlist)
- 🔗 ESP32 ESP-IDF Tutorials & IoT Protocols
- 🔗 flip-card - RP2350 fluid-simulation business card (Rust firmware and PCB design)
- 🔗 picoZ80 - RP2350 + ESP32 drop-in Z80 CPU replacement for retro computers
🔎 Search and Ask!
Use search engines to find the answers to your questions.
If you can't find what you're looking for using search engines, AI chatbots can also provide assistance. Keep in mind that AI may provide incorrect answers in some cases. It's best to confirm any answers with more reliable references.
If you have reservations about relying on AI advice alone, you can also ask your questions from real people:
💼 Career Development
As an embedded systems engineer, it's essential to stay up-to-date with industry trends, best practices, and new technologies to advance your career. Here are some resources to help you achieve your career goals:
- 🔗 EmbeddedJobs - A job board focused exclusively on Embedded Systems job market.
🎥 Courses and YouTube Contents
You may have heard that YouTube is a university. And it's true - there is an extensive amount of invaluable free content on embedded systems available on YouTube. You'll also find some excellent free courses through Coursera and EdX. Additionally, Udemy offers some high-quality paid course options.
- 🎞️ DigiKey (YouTube Channel)
- 🎞️ Coursera - Introduction to Embedded Systems Software and Development Environments
- 🎞️ Coursera - Embedded Software and Hardware Architecture
- 🎞️ Coursera - ARM Cortex STM32 Deep Dive: Mastering Embedded Systems
- 🎞️ Fastbit Embedded Brain Academy
- 🎞️ Modern Embedded Systems Programming Course (YouTube Playlist)
- 🎞️ element14 presents (YouTube Channel)
- 🎞️ Ben Eater (YouTube Channel)
- 🎞️ Phil’s Lab (YouTube Channel)
- 🎞️ Embedded Systems - Jacob Sorber (YouTube Playlist)
- 🎞️ edX - Embedded Systems - Shape The World: Microcontroller Input/Output
- 🎞️ edX - Embedded Systems - Shape The World: Multi-Threaded Interfacing
- 🎞️ edX - Embedded Systems Essentials with Arm: Getting Started
- 🎞️ Low Byte Productions
🕹️ Arduino
If you do not have any background in programming embedded systems, Arduino boards and libraries are the best choice for you to start and learn the basics. Just keep in mind that most of the Arduino libraries are developed for learning purposes and are not optimized to be used in industry.
Additionally, the Arduino Core (the platform-specific implementation of the hardware-independent ArduinoCore-API) takes care of most of the low-level hardware-associated operations that you, as an embedded engineer, should be able to handle yourself or at least have a clear understanding of. If you want to become a professional embedded developer, you should be able to effectively use industry-standard APIs and SDKs provided and approved by microcontroller vendors, such as CMSIS for ARM Cortex-M microcontrollers, STM32Cube for STM32, ESP-IDF for Espressif microcontrollers, etc.
- 🔗 Getting Started with Arduino
- 🔗👶 Arduino Built-in Examples
- 🔗 Arduino Language Reference
- 🎞️ All New Arduino R4 WiFi LESSONS for Absolute Beginners (YouTube Playlist)
- 🎞️ New Arduino Tutorials (YouTube Playlist)
- 🎞️ Arduino in a commercial product?
- 🎞️ Arduino Project to Product (YouTube Playlist)
👨🏫 Educational Websites
- 🔗 DeepBlueMbedded
- 🔗 Digital Electronics Deeds
- 🔗💎 Interrupt Blog by Memfault
- 🔗💎 EmbeddedRelated.com
- 🔗 ElectronicWings - Hardware Developers Community
- 🔗 EduTecnica (Italian)
- 🔗 Microchip University
- 🔗 Nordic Developer Academy
- 🔗 Electronics Tutorials
- 🔗 SparkFun Learn: Learn at SparkFun Electronics
- 🔗 Adafruit Learning System
- 🔗 STM32 World
- 🔗 ControllersTech
- 🔗 Embedded Systems News - CNX Software
🗺️ Other Helpful Roadmaps
- 🔗 Embedded Artistry Beginners Roadmap
- 🔗 Embedded Systems Skill Tree
- 🔗 Interactive Embedded Systems Skill Tree (with progress tracking & sync)
- 🔗 PCB Design Skill Tree
- 🔗 FPGA / ASIC Engineering Roadmap
🛠️ IDEs
Vendor IDEs bundle the toolchain, debugger integration and peripheral configuration tools for their microcontrollers, which makes them a quick way to bring up a first target.
- 🔗 Keil MDK & µVision
- 🔗 IAR Embedded Workbench
- 🔗 STM32CubeIDE
- 🔗 Microchip Studio for AVR® and SAM Devices
- 🔗 MPLAB® X IDE
- 🔗 MCUXpresso IDE
👨💻 VS Code Extensions
🐜 PlatformIO
PlatformIO is a cross-platform, cross-architecture, multiple framework, professional tool for embedded systems engineers and for software developers who write applications for embedded products.
PlatformIO is not yet extensively adopted in industrial and large-scale projects, however, it is an excellent choice for individuals working on smaller projects. This is because it greatly reduces the need to install frameworks and setup build and debug tools, allowing you to concentrate on programming.
📚 Learning Resources
Warning
It is not necessary to read all the books, articles, or watch all the videos you see here. If you try to do so, you will finally get tired and disappointed. You cannot study all the available content here in a reasonable time because it may take years. It is important to study enough to have at least a basic understanding of the required topics. Of course, the more time you dedicate to studying and doing projects, the more profound your knowledge and expertise will become.
Some of the resources mentioned here will just be used as references. Refer to them only when you need them.
✳️ Soft Skills
Similar to other professions, embedded engineers require soft skills that can't be solely obtained from reading or watching videos. These skills are cultivated through interactions and tackling various work obstacles. Improving soft skills is not a one-size-fits-all approach. It will vary based on one's individual traits and requires self-awareness of your strengths and areas for growth. Enhancing these skills takes time and effort.
- 📝 Soft Skills For Embedded Systems Software Developers
- 📝 10 Skills Every Embedded Engineer Should Have
🔵 Communication Skills
- 🔗👶 Technical Writing Courses - Google for Developers
- 📝💎 How To Ask Questions The Smart Way - Eric S. Raymond
- 🔗 Software documentation guide - Write the Docs
🔵 Problem-Solving Skills & Critical Thinking
- 📘💎 Debugging: The 9 Indispensable Rules for Finding Even the Most Elusive Software and Hardware Problems - David J. Agans
- 📝 When debugging, your attitude matters - Julia Evans
🔵 Teamwork & Collaborative Abilities
- 📝 How to Work Well on Teams - Software Engineering at Google
- 📝 Knowledge Sharing - Software Engineering at Google
- 🔗💎 Code Review Developer Guide - Google Engineering Practices
- 🔗 Atlassian Team Playbook
🔵 Organizational & Time Management Skills
- 📘💎 Getting Things Done: The Art of Stress-Free Productivity - David Allen
- 🎞️👶 Work Smarter, Not Harder: Time Management for Personal & Professional Productivity - Coursera
- 📝💎 Maker's Schedule, Manager's Schedule - Paul Graham
🔵 Being Self-Driven and Independent
- 🎞️👶 Learning How to Learn - Coursera
- 📝💎 Teach Yourself Programming in Ten Years - Peter Norvig
- 📝💎 How to Do Great Work - Paul Graham
- 📝 You and Your Research - Richard Hamming
🔵 Adaptability & Patience
- 📘 Mindset: The New Psychology of Success - Carol S. Dweck
- 🎞️👶 The power of believing that you can improve - Carol Dweck (TED Talk)
✳️ Electronics
Electronics knowledge lets firmware engineers read schematics and datasheets, understand voltage levels, current limits and timing, and tell a hardware fault from a software bug.
🔵 Basic Calculus
Calculus underpins signal processing, control theory and the behavior of circuits with capacitors and inductors.
🔵 Principles of Electric Circuits
Ohm's and Kirchhoff's laws, RC and RL circuits and AC basics are what you need to size pull-up resistors, filters and power supplies around a microcontroller.
- 🔗👶 Lessons in Electric Circuits (All About Circuits)
- 🔗👶💎 Electronics Tutorials
- 📘👶💎 Fundamentals of Electric Circuits - Charles K. Alexander, Matthew Sadiku
- 📘👶💎 Principles of Electric Circuits: Conventional Current Version - Thomas L Floyd, David M. Buchla
- 🎞️💎 Basic Circuit Theory I (By Prof. Razavi) (YouTube Playlist)
🔵 Electronics Fundamentals
The building blocks that appear around every microcontroller: resistors, capacitors, diodes, transistors and op-amps, and how they behave in real circuits.
- 🔗👶💎 Build Electronic Circuits - Øyvind Nydal Dahl
- 🎞️👶 Electronic Basics - GreatScott! (YouTube Playlist)
- 📘👶 Make: Electronics: Learning by Discovery - Charles Platt
- 📘👶💎 Electronic Devices: Conventional Current Version - Thomas Floyd, David Buchla, Steven Wetterling
- 📘👶💎 Electronics Fundamentals: Circuits, Devices & Applications - Thomas L Floyd, David M. Buchla, Gary D. Snyder
- 📘👶 Practical Electronics for Inventors - Paul Scherz, Simon Monk
- 📘💎 The Art of Electronics - Paul Horowitz, Winfield Hill
- 📝 Here’s a Quick Way to Know about Major Electronic Components
- 📘 Encyclopedia of Electronic Components - Charles Platt
- 🔗 Awesome Electronics: A curated list of electronics resources
🔵 Digital Design
Logic gates, flip-flops and registers are the hardware inside microcontrollers and FPGAs; understanding them explains how peripherals, buses and timing work.
- 🔗👶 Tiny Tapeout > Digital Design Guide
- 🔗👶 Mvidia - From Transistors to Teraflops (interactive course)
- 📘💎 Digital Design - Morris Mano, Michael Ciletti
- 📘👶💎 Digital Design and Computer Architecture: ARM Edition - Sarah Harris, David Harris
- 📘👶💎 Digital Design and Computer Architecture: RISC-V Edition - Sarah Harris, David Harris
- 📘👶 Digital Fundamentals - Thomas L. Floyd
🔵 Computer Architecture
Computer architecture is the backbone of embedded systems, governing the hardware and software interactions. Embedded developers need a grasp of computer architecture to design, develop, and debug embedded software effectively. Expertise in ARM and RISC-V, two prevalent instruction set architectures (ISAs) in embedded systems, is paramount for embedded developers. ARM is the dominant ISA, while RISC-V's open-source nature and flexibility are gaining traction.
- 📘👶💎 Computer Organization and Design: ARM Edition - David A. Patterson, John L. Hennessy
- 📘👶💎 Digital Design and Computer Architecture: ARM Edition - Sarah Harris, David Harris
- 📘👶💎 Digital Design and Computer Architecture: RISC-V Edition - Sarah Harris, David Harris
- 📘👶 The Elements of Computing Systems - Noam Nisan, Shimon Schocken
- 📘 Computer Organization and Embedded Systems - Carl Hamacher, Zvonko Vranesic, Safwat Zaky, Naraig Manjikian
- 📘 Embedded Systems Architecture - Tammy Noergaard
- 📘 Embedded Systems Architecture - Daniele Lacamera
- 📘 The Definitive Guide to ARM® Cortex®-M0 and Cortex-M0+ Processors - Joseph Yiu
- 📘 The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors - Joseph Yiu
- 🔗 Build an 8-bit computer from scratch
✳️ Using Test Equipment
Embedded systems are verified with instruments as well as code. Multimeters, oscilloscopes, logic analyzers, power supplies and function generators let you measure signals, inject stimuli and see what the hardware really does.
🔵 Multimeter
Measures voltage, current, resistance and continuity. It is the first tool for checking power rails, connections and short circuits.
🔵 Logic / Protocol Analyzer
Captures digital signals and decodes protocols such as UART, I2C, SPI and CAN, so you can see exactly what is exchanged on the wires.
🔵 Oscilloscope
Shows signals over time: edges, rise times, noise, glitches and power supply ripple that a logic analyzer cannot show.
- 🎞️👶 What’s an OSCILLOSCOPE?
- 🎞️👶 How to Use an Oscilloscope
- 🎞️👶 How to use an oscilloscope / What is an oscilloscope / Oscilloscope tutorial
- 🎞️ Understanding EMI Debugging with Oscilloscopes
✳️ Prototyping Skills
While hardware design and prototyping are primarily the responsibility of electronic hardware design engineers, embedded software engineers can benefit from a basic understanding of these concepts. This knowledge can be instrumental in identifying and resolving hardware-related issues during embedded system debugging. By having a grasp of hardware principles, embedded software engineers can effectively pinpoint the root causes of problems, leading to quicker and more efficient troubleshooting.
🔵 Breadboarding
Breadboarding is a hands-on approach to prototyping circuits, providing a versatile platform for experimentation and circuit design. Embedded systems often utilize breadboards for their ease of use, flexibility, and cost-effectiveness. By connecting components on a breadboard, embedded systems developers can quickly test and refine their designs without the need for permanent soldering. This allows for rapid iterations and efficient debugging, making breadboarding an invaluable tool for embedded system development.
🔵 Hardware Design Basics
Reading schematics, choosing components, and designing the power supply, reset and clock circuits that a microcontroller needs to run.
- 🎞️👶💎 Hardware Design - Phil’s Lab (YouTube Playlist)
- 🎞️ Electronic Circuit Design - IFE - TU Graz (YouTube Playlist)
- 🎞️ Microcontroller-Based Hardware Design With Altium Designer (YouTube Playlist)
🔵 PCB Design / EMC
Turning a schematic into a board. Layout, grounding and decoupling decide signal integrity and electromagnetic compatibility (EMC), and whether a product passes certification.
- 🎞️💎 Altium Academy YouTube Channel
- 🎞️💎 Robert Feranec YouTube Channel
- 🎞️👶 Altium Tutorials for Beginners - Robert Feranec (YouTube Playlist)
- 🎞️👶 Create PCBs for Rapid Prototyping - DigiKey (YouTube Playlist)
- 🎞️👶💎 PCB Design for Beginners - Altium Academy (YouTube Playlist)
- 🎞️ How to Make a Raspberry Pi Compute Module 4 Carrier Board - DigiKey (YouTube Playlist)
- 🎞️💎 How To Learn PCB Design (My Thoughts, Journey, and Resources) - Phil's Lab #87
- 🎞️👶 KiCad 6 STM32 PCB Design Full Tutorial - Phil's Lab #65
- 🎞️👶 Intro to KiCad - DigiKey (YouTube Playlist)
- 🎞️💎 PCB Design for EMI & SI - Phil's Lab #64
- 🎞️💎 PCB Design for Advanced Users (YouTube Playlist)
- 🎞️💎 PCB Knowledge [PCB Production Tips By PCBWay] (YouTube Playlist)
- 🎞️💎 Udemy – High-Speed Board Design Course System On Module - EsteemPCB
- 🎞️💎 Udemy – Advanced Hardware and PCB Design Masterclass 2022
- 🎞️💎 9 Simple Tricks to Improve EMC / EMI on Your Boards - Practical examples (with Min Zhang)
- 🎞️💎 Many EMC Tips to Help You Design Better PCB Boards (with Keith Armstrong)
- 🔗 LearnEMC - EMC Resources
- 🔗 A Better Way to Build PCBs - Flux AI
- 🔗 EasyEDA
- 🔗 KiCad - Free and open-source schematic capture and PCB design software
- 🔗 Fritzing
- 🔗 Cirkit Designer
🔵 Soldering / Rework
Assembling prototypes and repairing boards, from through-hole parts to fine-pitch SMD components, including replacing parts with hot air.
- 🎞️👶 How To Solder - Electronics with Becky Stern | Digi-Key Electronics
- 🎞️👶 HOW TO SOLDER! (Beginner's Guide)
- 🎞️👶 Soldering Crash Course: Basic Techniques, Tips and Advice!
- 🎞️ How to Solder Through-Hole Components - Another Teaching Moment | DigiKey Electronics
- 🎞️ How to Solder QFN MLF Package by Hand (Using a Hot Air Rework Station) | Digi-Key Electronics
- 🎞️ From Solderless Breadboard to Soldered Circuit - Electronics with Becky Stern | Digi-Key Electronics
✳️ FPGA Development
FPGAs (Field-Programmable Gate Arrays) are specialized integrated circuits that can be configured to perform various digital logic functions. They are widely used in embedded systems to achieve high performance, flexibility, and cost-effectiveness. FPGA designers use hardware description languages (HDLs) to create customized circuits that map directly to the FPGA architecture. Since FPGA engineering and verification differ significantly from embedded software development, it stands as a specialized domain within embedded systems.
- 🔗 FPGA / ASIC Engineering Roadmap
- 📝 What are FPGAs?
- 🎞️ FPGA vs. Microcontroller: How to choose the right one for your project
- 🎞️👶 Introduction to FPGA (YouTube Playlist)
- 🔗👶 FPGA Fundamentals - Nandland
- 🎞️💎 Coursera – FPGA Design for Embedded Systems Specialization
- 📘💎 A Hands-On Guide to Designing Embedded Systems - Adam Taylor, Dan Binnun, Saket Srivastava
✳️ Programming Fundamentals
Mastering programming fundamentals and software development principles is essential for a successful embedded design. Embedded systems demand efficient code, optimized data management, reusable design patterns, and effective memory management to function effectively in resource-constrained environments. Embedded developers must possess a strong foundation in these core concepts to create reliable and performant embedded systems.
🔵 Discrete Mathematics
Discrete mathematics is the theoretical basis of computer science and engineering. The parts most useful to embedded engineers are logic and switching algebra (digital circuit design), automata theory (state machines and protocols), combinatorics, coding theory (data transmission and audio/video codecs) and modular arithmetic (checksums and cryptography).
- 🎞️ Coursera - Introduction to Discrete Mathematics for Computer Science Specialization
- 📘👶 Open Access Discrete Mathematics Books by LibreTexts
- 📘👶 Essential Discrete Mathematics for Computer Science - Harry Lewis, Rachel Zax
- 📘👶 Guide to Discrete Mathematics - Gerard O'Regan, Springer
- 📘💎 Bridge to Abstract Mathematics, AMS
- 📘💎 Discrete Mathematics and its applications by Rosen
- 📘💎 Discrete Mathematics with Applications by Susanna S. Epp
- 📘💎 Switching and Finite Automata Theory, Cambridge Press
- 📘💎 The Mathematics of Cellular Automata by Jane Hawkins, AMS
🔵 Algorithms & Data Structures
Tight RAM and CPU budgets shape the choices: fixed-size buffers, ring buffers, queues and lookup tables are more common in firmware than dynamic structures.
- 📘👶💎 Grokking Algorithms - Aditya Y. Bhargava
- 📘💎 Introduction to Algorithms - Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford Stein
- 🔗 Collection of various algorithms in mathematics, machine learning, computer science, physics, etc implemented in C for educational purposes
- 🎞️ Udemy – Embedded Systems State Machines & Data Structures
- 🔗 Data Structures in C
- 🎞️ Data Structures - Full Course Using C and C++
- 🔗 Hello Algo
🔵 Design Patterns
Patterns that work without heavy object orientation or dynamic allocation, such as state, observer, opaque pointers and layered hardware abstractions.
- 📝 Practical Design Patterns: Opaque Pointers and Objects in C
- 📘💎 Design Patterns for Embedded Systems in C - Bruce Powel Douglass
- 📘💎 Making Embedded Systems: Design Patterns for Great Software - Elecia White
- 🎧💎 Making Embedded Systems: Design Patterns for Great Software - Elecia White (Audio Book)
- 🔗 Design Patterns - Refactoring Guru
🔵 State Machines
Most embedded behavior, such as protocols, user interfaces and device modes, is a state machine reacting to events. Making states explicit keeps it predictable and testable.
- 📝 Programming embedded systems the easy way – with state machines
- 🎞️💎 State Machines (YouTube Playlist)
- 🎞️💎 Event-Driven Programming (YouTube Playlist)
- 🎞️💎 Udemy - Embedded System Design using UML State Machines
- 📝 “Input-Driven” vs. Event-Driven State Machines
- 📝 State Machines for Event-Driven Systems
- 📘 Practical UML Statecharts in C/C++ by Miro Samek
🔵 Memory Management
Firmware usually avoids malloc after startup and relies on static allocation, stacks of known size and memory pools. Understanding the stack, the heap and the linker's memory map helps prevent overflows and fragmentation.
- 🎞️ Understanding the C runtime memory model
- 🎞️ Pointers and dynamic memory - stack vs heap
- 🎞️ Dynamic Memory Allocation | C Programming Tutorial
- 🎞️ Dynamic memory allocation in C - malloc calloc realloc free
- 📝 What is Memory Leak in C/C++? How can we avoid?
- 📝 Understanding Memory Management in Rust
- 📝 Memory Management in Python
✳️ Programming Languages
Low-level languages like C and assembly provide direct hardware access, enabling efficient code optimization for resource-constrained embedded systems. System-level languages like C++ and Rust offer a higher level of abstraction for complex embedded applications, while Python is often employed for testing embedded systems due to its simplicity.
🔵 C
The dominant language of embedded firmware: close to the hardware, with a minimal runtime, predictable memory use and support in every toolchain.
- 🎞️👶 Microchip University - Syntax And Structure of C - Simply C
- 🎞️💎 Microchip University - Advanced C Programming
- 🎞️💎 Microchip University - Advanced Embedded C Tips, Tricks, and Cautions
- 🎞️💎 Microchip University - C Programming: Linked List Data Structures
- 🎞️💎 Microchip University - C Programming Callbacks
- 🎞️👶 C Programming for Beginners | Full Course
- 🎞️ C Programming Tutorials (YouTube Playlist)
- 📘💎 The C Programming Language - Brian W. Kernighan, Dennis M. Ritchie
- 🔗👶 C by Example
- 📘👶 The Little Book of C
- 📘👶 Beej's Guide to C Programming
- 📘 C How to Program - Paul Deitel, Harvey Deitel
- 📘 Effective C - An Introduction to Professional C Programming - Robert C. Seacord
- 📘 Modern C - Jens Gustedt
- 🔗 Embedded C Coding Standard
- 🔗 newlib C Library Documentation
- 🔗 The GNU C Library (glibc)
- 📝 From Zero to main(): Bare metal C
- 📝 From Zero to main(): Bootstrapping libc with Newlib
- 🎞️👶 Learn C Programming and OOP with Dr. Chuck
- 📘 Extreme C - Kamran Amini
- 🎞️👶 Coursera - C Programming with Linux Specialization
🔵 C++
Adds classes, templates and stronger type checking on top of C at little or no runtime cost, when used without exceptions, RTTI and heavy dynamic allocation.
- 📝 Modern C++ in Embedded Development: (Don't Fear) The ++
- 📝 C++ On Embedded Systems
- 📝💎 Bare Metal C++ - Alexey Rybachuk
- 🎞️💎 C++ in Constrained Environments - Bjarne Stroustrup - CppCon 2022
- 🎞️👶 C++ Tutorial for Beginners - Full Course
- 🎞️ C++ by The Cherno (YouTube Playlist)
- 🎞️👶💎 Udemy - Beginning C++ Programming - From Beginner to Beyond
- 🎞️💎 CppCon Conferences - YouTube
- 📘💎 A Tour of C++ (3rd Edition) - Bjarne Stroustrup
- 📘💎 The C++ programming Language (C++11) - Bjarne Stroustrup
- 📘💎 Programming -- Principles and Practice Using C++ (3rd Edition) - Bjarne Stroustrup
- 📘💎 Real-Time C++: Efficient Object-Oriented and Template Microcontroller Programming - Christopher Kormanyos
- 📘 Effective Modern C++ - Scott Meyers
Additional resources from Bjarne Stroustrup, creator of C++
- 🎞️👶 The Essence of C++ by Bjarne Stroustrup - YouTube
- 🎞️👶💎 Delivering Safe C++ by Bjarne Stroustrup - CppCon 2023
🔵 Assembly
Needed for startup code, interrupt entry and the rare hot spot, and for reading disassembly while debugging. ARM and RISC-V are the most common instruction sets.
- 📝👶 Introduction to ARM Assembly Basics
- 🎞️ Udemy – ARM GNU Assembly Programming From Ground Up
- 🎞️ Assembly Language Programming with ARM – Full Tutorial for Beginners
- 📝 How to Use Inline Assembly Language in C Code
- 📘 Raspberry Pi Assembly Language Programming : ARM Processor Coding
- 🔗 Battery info program for x86-64 Linux laptops in 298 bytes of machine code
🔵 Python
Used on the host for test automation, tooling and scripting, and on microcontrollers through MicroPython and CircuitPython.
- 📝 Python for embedded systems testing
- 📝👶 The Python Handbook – Learn Python for Beginners
- 🔗💎 Real Python: Python Tutorials
- 📘👶💎 Python Crash Course - Eric Matthes
🔶 Python for Microcontrollers
- 🔗 MicroPython - Python for microcontrollers
- 🔗 MicroPython 101 | Arduino Documentation
- 🔗 CircuitPython
- 📝 The Pros and Cons of Designing Embedded Systems with MicroPython
- 📝 Programming the ESP32 with MicroPython
🔵 Rust
A memory-safe systems language without a garbage collector. It is gaining ground in embedded for firmware that must be both safe and efficient.
- 📝 5 roadblocks to Rust adoption in embedded systems
- 🔗 The Embedded Rust Book
- 🎞️ The Future of Programming: Rust (YouTube Playlist)
- 🔗 Community Rust support projects for STM32 microcontrollers
- 🔗 Rust on ESP Community
- 🎞️ Embedded Rust su ESP32 (Italian) - YouTube Playlist
- 📝 Rust on STM32: Getting started
- 📝 From Zero to main(): Bare metal Rust
- 📝 Writing an OS in Rust - Philipp Oppermann's blog
- 📝 Kernel Driver with Rust in 2022
- 🔗 Rustlings - Small exercises to get you used to reading and writing Rust code!
- 🔗 Learn Rust the Effective Way
🔵 Zig
- 📝 Testing Zig for embedded development
- 🔗 Zig Embedded Group
- 🔗 MicroZig - Unified abstraction layer and HAL for several microcontrollers
- 📝 Zig Bare Metal Programming on STM32F103 — Booting up
✳️ Microcontrollers
Microcontrollers are integrated circuits (ICs) that combine a microprocessor, memory, and input/output (I/O) peripherals on a single chip. They are designed for embedded applications, where they are used to control devices in a variety of industries, including automotive, industrial, consumer electronics, and healthcare.
Some popular microcontroller families include AVR, PIC, STM32, MSP430, nRF, and ESP32. Choosing the right microcontroller involves assessing application requirements, processing power, memory needs, and input/output capabilities. Consider ease of use, cost, reliability, availability, and future expansion.
- 📝 What Is a Microcontroller? The Defining Characteristics and Architecture of a Common Component
- 📝 How to Choose the Right Microcontroller for Your Application
- 📝 How to Read a Microcontroller Datasheet: Introduction and First Steps
- 📘👶 Make: AVR Programming - Elliot Williams
- 🎞️👶💎 NewbieHack - Microcontroller Tutorial - A Beginners Guide (AVR)
- 🎞️👶 Getting Started with STM32 and Nucleo (YouTube Playlist)
- 📘💎 Mastering STM32 - Carmine Noviello
- 📘💎 Developing IoT Projects with ESP32 - Vedat Ozan Oner
- 🎞️👶 Intro to Raspberry Pi Pico and RP2040 (YouTube Playlist)
- 🔗 Getting started with STM32: STM32 step-by-step
- 🎞️ Getting Started With AVR (YouTube Playlist)
- 🎞️ Fundamentals of Microcontrollers - Arduino bare-metal breakdown (YouTube Playlist)
- 🎞️ Bare Metal Embedded Programming: Theory and Practice Using STM32 (YouTube Playlist)
- 📘 Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC - Warren Gay
- 🎞️ Udemy – Microcontroller Embedded C Programming: Absolute Beginners
- 🎞️ Udemy – Embedded Systems STM32 Low-Layer APIs(LL) Driver Development
- 🎞️ Udemy – Embedded Systems STM32 HAL APIs Driver Development
- 📘 Embedded System Design with ARM Cortex-M Microcontrollers: Applications with C, C++ and MicroPython - Cem Ünsalan, Hüseyin Deniz Gürhan, Mehmet Erkin Yücel
- 📘💎 Embedded Systems Design using the MSP430FR2355 LaunchPad - Brock J. LaMeres
- 📘💎 Building Embedded Systems: Programmable Hardware - Changyi Gu
- 🔗 Awesome Embedded: A curated list of awesome embedded programming
🔵 GPIO
Pins that firmware configures as digital inputs or outputs, with pull-ups, open-drain or alternate functions. The basis for LEDs, buttons and bit-banged protocols.
🔵 ADC
Converts an analog voltage into a digital value. Resolution, sampling rate, reference voltage and noise determine how accurate readings are.
- 🎞️ How Do ADCs Work? - The Learning Circuit
- 🎞️ Tutorial 13: ADC in STM32F4
- 🎞️ Tutorial 14: ADC by Polling
🔵 DAC
Converts a digital value into an analog voltage, used for audio, waveform generation and set-points.
🔵 Timers / Counters
Count clock cycles to measure time, generate periodic interrupts and capture or generate signals. They are the base of scheduling and PWM.
- 📝 Introduction to Microcontroller Timers: Periodic Timers
- 📝 Timers and Counters (AVR) - Nick Gammon
- 🎞️ STM32 TIMERS (YouTube Playlist)
🔵 PWM (Pulse Width Modulation)
A digital output whose duty cycle is adjustable, used to control motor speed, LED brightness and power converters.
- 🎞️ What is PWM?
- 📝 Pulse-width Modulation (PWM) Timers in Microcontrollers
- 🎞️ STM32 Guide #3: PWM + Timers
🔵 RTC (Real Time Clock)
A low-power clock that keeps calendar time, often from a backup battery, and can wake the microcontroller from sleep.
🔵 Watchdog
A timer that resets the microcontroller if the firmware stops servicing it, so the device recovers from hangs on its own.
- 📝 A Guide to Watchdog Timers for Embedded Systems
- 📝 Watchdog Timers in Microcontrollers
- 🎞️ The Watchdog Timer on Arduino
- 🎞️ WATCHDOGS in STM32 || IWDG and WWDG || CubeIDE
🔵 Interrupts
Let hardware events preempt the running code immediately. Priorities, latency and short handlers are central to responsive firmware.
- 🎞️ Polling/Interrupt/DMA differences explained easily
- 🎞️ Level Up Your Arduino Code: External Interrupts
- 🎞️ Tutorial 10: Peripheral 2 - Nested Vector Interrupt controller (NVIC) in STM32
- 🎞️ Tutorial 11: LAB - External Interrupt ( EXTI ) Interfacing in STM32 using STM32CUBEMX
- 🎞️ Tutorial 12: Interrupt Priorities in STM32
🔵 DMA
Moves data between peripherals and memory without the CPU, freeing it for other work and sustaining high-rate transfers from ADCs, SPI or UART.
- 🎞️ Introduction to Direct Memory Access (DMA)
- 🎞️ STM32 DMA PT 1
- 🎞️ STM32 DMA PT 2
- 🎞️ Getting Started With STM32 & Nucleo Part 4: Working with ADC and DMA - Maker.io
- 🎞️ STM32 UART DMA and IDLE LINE || Receive unknown length DATA
🔵 Clock Management
Clock sources, PLLs and dividers set CPU and peripheral speed and affect accuracy and power. A misconfigured clock is a common source of mysterious problems.
- 📝 Clock Configuration in STM32
- 🎞️ STM32: Change clock speed via registers
- 🎞️ #1. Intro to STM32F4 Register Based Programming || Clock Setup || LED Blinking || NO HAL
- 🎞️ Tutorial 8: MCU Clocks configuration in STM32 using STM32CUBEMX
- 🎞️ Clock sources and PLL in ARM Cortex M4
🔵 Power Management
Sleep and low-power modes, wake-up sources and clock gating are what let battery-powered devices last for months or years.
- 🎞️ SLEEP Mode in STM32F103 || CubeIDE || Low Power Mode || Current Consumption
- 🎞️ STOP MODE in STM32 || CubeIDE || Low Power Mode
🔵 Bootloader / DFU (Device Firmware Update)
A small program that starts first, checks the application image and can update the firmware over UART, USB or the air.
- 📝 Basics to Developing Bootloader for Arduino
- 📝 From Zero to main(): How to Write a Bootloader from Scratch
- 🎞️ How to Create a Super Simple Bootloader
- 🎞️ Blinky To Bootloader: Bare Metal Programming Series (YouTube Playlist)
- 📝 Simple AVR Bootloader tutorial
- 🎞️💎 Udemy – STM32Fx Microcontroller Custom Bootloader Development
- 📝💎 Device Firmware Update Cookbook
✳️ Interfaces, Protocols & Communication Technologies
Embedded systems exchange data with sensors, memories, displays, other chips and the outside world. An interface is the physical connection and a protocol defines how data is exchanged over it. The right choice depends on bandwidth, distance, number of wires, power consumption, cost and available hardware support.
🔵 Basic Protocols
Short-distance serial buses such as UART, I2C and SPI that connect a microcontroller to sensors, memories, displays and other chips on the same board.
- 🎞️👶 Understanding Serial Protocols
- 🎞️👶 Serial Protocol Fundamentals
- 📝👶 Understanding and Selecting in 2024: I2C, SPI, UART Explained
- 📝👶 Basics of Wired Embedded Protocols
- 🎞️ PROTOCOLS: UART - I2C - SPI - Serial communications #001
🔶 UART
- 🎞️👶 Understanding UART
- 🎞️ how does UART work??? (explained clearly)
- 🎞️ Basics of UART Communication | UART Frame Structure | RS 232 Basics | Part1
- 🎞️ Understanding UART Communication Programming | UART Peripherals | Part 2
- 🎞️ The RS-232 protocol
🔶 I2C
🔶 SPI
- 🎞️👶 Understanding SPI
- 🎞️ SPI: The serial peripheral interface
- 🎞️ Getting Started with STM32 and Nucleo Part 5: How to Use SPI | Digi-Key Electronics
🔶 SDIO
- 📝 SDIO Protocol
- 📝 Interface SD CARD with SDIO in STM32
- 🔗 SDIO Card Slave Driver - ESP32 - Technical Documents
🔶 I3C
- 🎞️ What is I3C®?
- 🔗 MIPI I3C Sensor Specification
- 📝 I3C Protocol: Understanding and Debug
- 🎞️ MIPI I3C Basic - The next generation sensor interface enabling low-power IoT applications
🔶 1-Wire
🔵 Digital Audio Protocols
Interfaces that move audio samples between a microcontroller or processor and codecs, microphones and amplifiers.
🔶 I2S
- 📝 Introduction to the I2S Interface
- 🎞️ Building a Digital Music Player with I2S?! What is I2S! EB#45
- 🔗 UM11732 - I2S bus specification
🔶 PCM
🔵 Display & Camera Protocols
Interfaces for displays and image sensors, from simple control buses to the high-speed MIPI links used with application processors.
🔶 SCCB
🔶 MIPI CSI-2
🔶 MIPI DSI
🔶 HDMI
- 🎞️ TI Precision Labs - Video Interface: What are HDMI & Dual-Mode DisplayPort?
- 🎞️ HDMI 2.1 & TMDS Crash Course - ENMU EET 457 - Presentation
🔵 Wireless Protocols
Radio links trade off range, data rate, power consumption and ecosystem: low-power short range (BLE, Zigbee, Thread), long range (LoRa), high throughput (Wi-Fi) and ranging (UWB).
🔶 Bluetooth / BLE
- 🎞️👶💎 Microchip University - First Steps into Bluetooth Low Energy (BLE)
- 📝 Bluetooth Basics
- 📝 Bluetooth Low Energy: A Primer
- 📝 A Practical Guide to BLE Throughput
- 🎞️ SparkFun According to Pete #49 - How Bluetooth Works
- 🔗 Bluetooth Low Energy Fundamentals - Nordic Semiconductor
- 🔗 Bluetooth API - ESP-IDF Programming Guide
🔶 Wi-Fi
- 🎞️ 802.11 How WiFi Works - Wireless Networks | Computer Networks Ep. 7.3 | Kurose & Ross
- 🎞️ 802.11 Frame Analysis
- 🔗 Wi-Fi Driver - ESP-IDF Programming Guide
- 📝 ESP32 Set an Access Point (AP) using ESP-IDF
- 📝 ESP32 ESP-IDF Connect with WiFi – Station Mode Example
🔶 LoRa / LoRaWAN
- 📝 The Arduino Guide to LoRa® and LoRaWAN®
- 🔗💎 The Things Fundamentals on LoRaWAN!
- 📝 What are LoRa® and LoRaWAN®?
- 🎞️ #112 LoRa / LoRaWAN De-Mystified / Tutorial
- 🔗 ESP32 with LoRa using Arduino IDE – Getting Started
🔶 Zigbee
- 🎞️ What is ZIGBEE And How It Works?
- 🎞️ How to take advantage of Zigbee and Bluetooth LE 5.2 on STM32WB wireless MCUs - Webinar Replay
🔶 Thread
- 🔗 OpenThread - An open-source implementation of Thread®
- 🎞️ What is Thread? Low-power IoT Networking for Smart Home Devices | Digi-Key Electronics
- 🔗 OpenThread - ESP-IDF Programming Guide
🔶 Matter
🔶 UWB
- 📘👶 Ultra-Wideband For Dummies - Qorvo
- 🔗 FiRa Consortium - Advancing Ultra-Wideband (UWB) Technology
- 📝 Ultra-wideband - Wikipedia
🔵 Industrial Protocols
Fieldbus and industrial Ethernet protocols that connect controllers, sensors and drives in factories and automation systems.
🔶 Modbus
- 🎞️ What is Modbus and How does it Work?
- 🎞️ How does Modbus Communication Protocol Work?
- 🎞️ MODBUS STM32 (YouTube Playlist)
🔶 RS485
🔶 EtherCAT
🔶 Profinet
- 🎞️👶 How PROFINET Works? A Beginner's Guide - PI North America
- 🎞️ PROFINET Video Series
- 🔗 PROFINET University
🔶 CoAP & MQTT
- 🎞️ #144 Internet Protocols: CoAP vs MQTT, Network Sniffing, and preparation for IKEA Tradfri Hacking
- 🎞️ MQTT vs. CoAP | Comparison of IoT Protocols
- 🎞️ Simple ESP32 IoT Sensor Node Tutorial: WiFi Enabled MQTT Sensor Data Node
🔵 High-Speed Protocols
Wired links for high data rates, such as Ethernet, USB and PCIe. They usually need a hardware controller, a protocol stack and careful PCB layout.
🔶 Ethernet
- 🎞️👶 Microchip University - Ethernet Fundamentals
- 📝 How the Ethernet Protocol Works – A Complete Guide
- 🎞️ What is an Ethernet PHY?
- 🎞️ The Data Link Layer, MAC Addressing, and the Ethernet Frame
- 🎞️ Microchip University - Serializer/Deserializer (SerDes) Basics for Your Next Microchip Ethernet PHY Design
- 🎞️ Microchip University - Ethernet Switch Fundamentals
🔶 USB
- 🎞️👶 Microchip University - Introduction to USB 2.0
- 🎞️👶 Microchip University - USB 3 Fundamentals
- 🎞️ Training - USB 101 - Introduction to USB
- 🔗 USB 101: An Introduction to Universal Serial Bus 2.0
- 🎞️ How does a USB keyboard work?
- 🎞️ How does USB device discovery work?
- 🎞️ MOOC - STM32 USB training (YouTube Playlist)
- 🎞️ Microchip University - USB2 Hub Fundamentals
- 🔗 Beyond Logic - USB in a NutShell
- 📝 USB for Software Developers: An introduction to writing userspace USB drivers
🔶 PCIe
🔵 Automotive Protocols
Vehicle networks that connect electronic control units (ECUs), from the low-cost LIN to CAN, FlexRay and MOST. They are built for robust, real-time communication in electrically noisy environments.
🔶 CAN
- 🎞️👶 Microchip University - CAN and CAN FD Protocol and Physical Layer Basics
- 📝👶 CAN bus in 2024: Operation, Advantages and Recent Developments
- 🎞️👶 CAN Bus: Serial Communication - How It Works?
- 🎞️👶 CAN Bus: A Beginners Guide Part 1
- 🎞️👶 CAN Bus: A Beginners Guide Part 2
- 🎞️💎 Microchip University - Designing and Implementing a CAN FD Network
- 🎞️ Improving my electric longboard with a CAN Bus! What can the CAN Bus do? EB#44
- 🎞️ CAN Bus, OBD2 & J1939 Explained (YouTube Playlist)
- 🎞️ J1939 Explained - A Simple Intro [v2.0 | 2021]
- 🎞️ Unified Diagnostic Services (UDS) Explained - A Simple Intro [2022]
🔶 LIN
🔶 MOST
🔶 FlexRay
🔵 Network Protocols / Socket Programming
How devices communicate over IP networks: TCP and UDP sockets, and the lightweight IP stacks such as lwIP that run on microcontrollers and embedded Linux.
- 🎞️ Networking Fundamentals - Practical Networking (YouTube Playlist)
- 🎞️ TCP vs UDP - Explaining Facts and Debunking Myths - TCP Masterclass
- 🎞️ TCP - 12 simple ideas to explain the Transmission Control Protocol
- 🎞️ UDP doesn't suck! It's the BEST L4 protocol for THESE types of applications...
- 🎞️ Networking tutorial - Ben Eater (YouTube Playlist)
- 📘💎 Hands-On Network Programming with C - Lewis Van Winkle
- 📘💎 Network Algorithmics - George Varghese, Jun Xu
- 🔗 tcpdump & libpcap libraries
- 🔗 lwIP - A Lightweight TCP/IP stack
- 🔗 lwIP (ESP-IDF)
- 🔗 Developing applications on STM32Cube with LwIP TCP/IP stack
- 📝 Understanding Traceroute
🔵 Cellular Communication
Cellular modems give a device wide-area connectivity: 4G modems for high throughput, and low-power IoT variants (LTE-M, NB-IoT) designed for battery-powered devices.
🔶 GSM / LTE
🔶 LTE-M & NB-IoT
✳️ Memory Technologies & File Systems
Embedded systems employ a combination of volatile (SRAM, DRAM, PSRAM) and non-volatile (flash, EEPROM, FRAM) memory to store and access data, based on factors like performance, cost, power consumption, and durability.
🔵 Flash Memory
Non-volatile memory that stores firmware and data. It is erased in blocks and wears out with writes; NOR flash suits code execution, NAND flash suits bulk storage.
🔶 NOR / NAND
- 🎞️ QSPI in STM32 || Write and Read || N25Q
- 🎞️ QSPI in STM32 || Boot from EXT Memory || XIP || N25Q
- 🎞️ Flash Memory in Embedded Linux Systems
🔶 eMMC
🔶 SD Card
🔵 EEPROM
Byte-erasable non-volatile memory for small amounts of data such as settings and calibration values, with a limited number of write cycles.
🔵 SRAM / DRAM
Fast volatile memory. SRAM is built into the microcontroller and needs no refresh; DRAM is larger and cheaper but needs a memory controller and periodic refresh.
- 📝 SRAM vs DRAM: Difference Between SRAM & DRAM Explained
- 🎞️ What is SRAM?
- 🎞️ SDRAM Hardware & Firmware Tutorial (STM32) - Phil's Lab #80
- 🎞️ SDRAM in STM32 || MT48LC4
🔵 File Systems
A file system organizes data on a storage device. Embedded devices need ones designed for the medium: flash wears out and is erased in blocks, so wear leveling and power-loss safety matter more than speed (for example LittleFS, FAT on SD cards, or UBIFS and ext4 on eMMC under Linux). Small microcontrollers often need no file system at all.
- 📝 Flash filesystems
- 📝 Block filesystems
- 📝 Understanding the UBI File System in Embedded Devices
- 📝 UBI File System
- 📝 JFFS : The Journalling Flash File System
- 📝 Preventing Filesystem Corruption In Embedded Linux
- 🔗 LittleFS - A high-integrity embedded file system
- 🔗 SPIFFS - Wear-leveled SPI flash file system for embedded devices
- 🔗 EEPROM File System (EEFS)
✳️ Hardware Simulation / Emulation
Embedded system development often involves simulating or emulating hardware environments to test and debug software before deploying it on actual hardware. Simulation tools create virtual models of hardware systems, while emulation tools replicate the actual hardware behavior using real hardware components. These tools offer several advantages, including reducing development time, minimizing hardware costs, and enhancing software reliability.
- 🔗👶 Wokwi - Online ESP32, STM32, Arduino Simulator
- 🔗👶 SimulIDE Circuit Simulator
- 🔗👶 Digital logic designer and circuit simulator designed for educational purposes
- 🔗👶 EveryCircuit
- 🔗👶 Circuit Simulator Applet
- 🔗👶 Tinkercad
- 🔗👶 Voltsim
- 🔗 Velxio - Arduino & Embedded Board Emulator
🔵 QEMU
A general machine emulator that can boot kernels and firmware for many architectures and boards without hardware, widely used for embedded Linux and RTOS development.
- 🔗 QEMU’s documentation
- 📝 Running AVR code in QEMU - A quick-start guide to accelerate AVR firmware development
- 📝 QEMU Simulation - Blinky - STM32F767ZI Full Stack
- 📝 Emulating a Raspberry Pi in QEMU
- 📝👶 Building an ARM Embedded Linux System in QEMU
🔵 Renode
An open-source framework that simulates whole embedded systems, including peripherals and multiple nodes, which makes firmware testable in CI without boards.
- 🔗 Renode - GitHub Repo
- 🔗 Renode - Documentation
- 🔗 Renode - Running your first demo
- 📝 Cortex-M MCU Emulation with Renode
- 📝 A simple guide to get started on renode
- 🎞️ Using CI-based workflow with Renode in bringing TensorFlow Lite to Zephyr
✳️ Sensors & Actuators
Sensors and actuators are the eyes and hands of embedded systems. They are responsible for gathering information about the environment and taking actions based on that information. Sensors convert physical phenomena, such as temperature, light, or sound, into electrical signals that can be processed by the embedded system. Actuators, on the other hand, convert electrical signals into physical actions, such as controlling the speed of a motor or opening and closing a valve.
🔵 Sensors
- 📝 Calibrating Sensors
- 📝 DHT11 vs DHT22 vs LM35 vs DS18B20 vs BME280 vs BMP180
- 🎞️ Getting Started With STM32 and Nucleo Part 2: How to Use I2C to Read Temperature Sensor TMP102
- 🎞️ GPS Module and STM32 || NEO 6M || Get coordinates, Date, Time, Speed, etc.
- 🎞️ Interface MPU6050/GY-521 with STM32 || LCD 20x4 || CubeMx || HAL || SW4STM
- 📝 Arduino with PIR Motion Sensor
- 📝 Complete Guide for Ultrasonic Sensor HC-SR04 with Arduino
- 🎞️ Electronic Basics #15: Temperature Measurement (Part 1) || NTC, PT100, Wheatstone Bridge
🔵 Actuators
- 📝 Adafruit Motor Selection Guide
- 🎞️ DC Motor Speed Controller PWM With Potentiometer Using STM32
- 📝 All About Stepper Motors
- 📝 Using Servos With CircuitPython and Arduino
- 🎞️ Electronic Basics #25: Servos and how to use them
- 🎞️ Electronic Basics #24: Stepper Motors and how to use them
- 🎞️ Electronic Basics #18: DC & Brushless DC Motor + ESC
✳️ Digital Signal Processing
Digital signal processing manipulates sampled signals such as audio, sensor data and radio signals. On microcontrollers it appears as digital filters, FFTs and sensor fusion, running on CPUs with DSP instructions (for example Cortex-M4 and M7), dedicated DSP cores or FPGAs, often in fixed-point arithmetic to save time and energy.
🔵 DSP Basics & Filter Design
Sampling theory, FIR and IIR filters and fixed-point arithmetic: the tools for cleaning up sensor and audio signals in firmware.
- 📘💎 The Scientist and Engineer's Guide to Digital Signal Processing - Steven W. Smith
- 🎞️ FIR Filter Design and Software Implementation - Phil's Lab #17
- 🎞️ IIR Filters - Theory and Implementation (STM32) - Phil's Lab #32
- 🎞️ Digital Signal Processing (ECSE-4530) Lectures, Fall 2014 (YouTube Playlist)
- 🎞️ Udemy – Digital Signal Processing (DSP) From Ground Up in C
- 📘 Real-Time Digital Signal Processing: Fundamentals, Implementations and Applications - Sen M. Kuo, Bob H. Lee, Wenshun Tian
- 📘 Real-Time Digital Signal Processing from MATLAB to C with the TMS320C6x DSPs - Thad B. Welch, Cameron H.G. Wright, Michael G. Morrow
- 📘 Schaum's Outline of Signals and Systems - Hwei P. Hsu
- 📘💎 Digital Signal Processing - John G. Proakis, Dimitris K. Manolakis
- 📘 Introduction to Computer Music
🔵 Discrete Fourier Transform / FFT
Turns time-domain samples into frequencies, used for vibration analysis, audio and sensor data, typically through optimized libraries such as CMSIS-DSP.
- 🎞️ Discrete Fourier Transform - Simple Step by Step
- 🎞️ The Fast Fourier Transform (FFT): Most Ingenious Algorithm Ever?
- 🎞️ The FFT Algorithm - Simple Step by Step
- 🎞️ STM32 Fast Fourier Transform (CMSIS DSP FFT) - Phil's Lab #111
✳️ Control Theory
Control theory covers how a system holds a target despite disturbances, such as motor speed, temperature or a drone's attitude. In firmware it appears as control loops running at a fixed sampling rate with sensor feedback and filtering.
- 🎞️ Understanding Control Systems (YouTube Playlist)
- 🎞️ Control Systems - CircuitBread (YouTube Playlist)
- 🎞️💎 Brian Douglas' Control Systems Lectures (YouTube Channel)
- 📘💎 Control Systems Engineering - Norman S. Nise
- 📘💎 Modern Control Systems - Richard C. Dorf, Robert H. Bishop
- 🔗 Kalman Filter
🔵 PID Controller
The most widely used controller. It combines proportional, integral and derivative action on the error, and is discretized and tuned in firmware for motors, heaters and many other loops.
- 🎞️👶 What is a PID Controller? | DigiKey
- 🎞️👶 How to Tune a PID Controller for an Inverted Pendulum | DigiKey
- 🎞️ PID Controller Explained
- 🎞️ Understanding PID Control (YouTube Playlist)
- 🎞️ PID Controller Implementation in Software - Phil's Lab #6
🔵 MATLAB / Simulink
Model-based design: simulate controllers and algorithms first, then generate C code for the target microcontroller.
- 🎞️ MATLAB Tutorials: Getting Started with MATLAB (YouTube Playlist)
- 🎞️ Getting Started with Simulink (YouTube Playlist)
- 🎞️ Udemy – MATLAB/SIMULINK Bible|Go From Zero to Hero!
✳️ Operating Systems
Embedded systems can be programmed with either an operating system (OS) or directly on the hardware, known as bare-metal programming. Each approach has its own advantages and disadvantages. Embedded operating systems provide a layer of abstraction between the hardware and the application code, offering benefits like resource management, task scheduling, error handling, and communication capabilities. However, they add overhead and may not be suitable for memory-constrained applications.
🔵 Operating System Fundamentals
Processes, scheduling, memory management and drivers: the concepts behind what an RTOS or Linux does for your application.
- 📝👶 Putting the “You” in CPU
- 📝👶 Operating System in 1,000 Lines
- 📘👶 The little book about OS development
- 📘👶 Operating Systems: From 0 to 1
- 🔗 An operating system
- 📝 Porting Mac OS X to the Nintendo Wii
- 📘💎 Operating Systems: Three Easy Pieces - Remzi H Arpaci-Dusseau, Andrea C Arpaci-Dusseau
- 📘💎 Modern Operating Systems - Andrew S. Tanenbaum, Herbert Bos
- 📝 Writing an OS in Rust - Philipp Oppermann's blog
- 🔗 Operating System development tutorials in Rust on the Raspberry Pi
🔵 Real-Time Operating Systems
Real-time operating systems (RTOS) are specialized operating systems designed to meet strict timing deadlines. They are used in embedded systems where timing is critical, such as avionics, robotics, and medical devices. RTOSs provide a deterministic environment in which tasks can be executed with predictable timing. This ensures that critical tasks are always executed on time, even in the presence of interrupts and other disruptions.
🔶 RTOS Basics
- 📝 Bare-metal and RTOS Based Embedded Systems
- 📝 RTOS vs. Bare Metal: Navigating Performance, Complexity, and Efficiency
- 📝 The Pros and Cons of RTOS vs Bare Metal: Which Will You Choose?
- 📝 FreeRTOS vs Linux for Embedded Systems
- 🔗 tinyOS RTOS
- 🔗 Real-Time Systems Concepts
- 🔗 RTOS Fundamentals
- 📝 A Simple Scheduler via an Interrupt-driven Actor Model
- 📝 ARM Cortex-M RTOS Context Switching
- 🎞️ RTOS (YouTube Playlist)
- 🎞️ Beyond the RTOS (YouTube Playlist)
🔶 FreeRTOS
- 🔗 FreeRTOS - Market leading RTOS
- 🎞️👶 Introduction to RTOS (YouTube Playlist)
- 📘💎 Mastering the FreeRTOS Real Time Kernel - a Hands On Tutorial Guide
- 🎞️👶 Microchip University - FreeRTOS Simplified: A Beginner's Guide to Develop and Debug FreeRTOS Applications
- 🎞️ Getting Started With STM32 and Nucleo Part 3: FreeRTOS - How To Run Multiple Threads w/ CMSIS-RTOS
- 📘 Hands-On RTOS with Microcontrollers: Building real-time embedded systems using FreeRTOS, STM32 MCUs, and SEGGER debug tools - Brian Amos
- 📘 Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC - Warren Gay
- 🔗 SafeRTOS - Safety Critical Real-Time OS
🔶 Zephyr
- 🔗 Zephyr® Project
- 📝💎 Getting Started With Zephyr
- 🔗 Zephyr: Tutorial for Beginners
- 📝 Why We Moved from FreeRTOS to Zephyr RTOS
- 🔗 nRF Connect SDK
- 🎞️ ESP32 on Zephyr OS (YouTube Playlist)
- 🎞️💎 Introduction to Zephyr - Digikey (YouTube Playlist)
🔶 μC/OS / Micriμm OS
- 🔗 Micriμm OS
- 🔗 µC/OS-III Documentation
- 📘 µC/OS-III Books
- 📘💎 µC/OS-II Documentation (Previously published as a book titled "MicroC/OS-II: The Real-Time Kernel")
🔶 NuttX
- 🔗 NuttX - The Apache Software Foundation
- 🔗 NuttX Documentation
- 🎞️ Getting Started to NuttX (YouTube Playlist)
🔶 RT-Thread
- 🔗 RT-Thread | An Open Source Embedded Real-time Operating System
- 🔗 RT-Thread document center
- 🎞️ RT-Thread Beginners Guide (YouTube Playlist)
🔶 Mbed OS
🔶 QNX
🔶 VxWorks
- 🔗 VxWorks | Industry Leading RTOS for Embedded Systems
- 🔗 VxWorks Documentation
- 🎞️ VxWORKS-RTOS - Kumar M (YouTube Playlist)
🔶 Eclipse ThreadX (formerly Azure RTOS)
- 🔗 Eclipse ThreadX - Advanced Embedded RTOS
- 🔗 Eclipse ThreadX documentation (formerly Azure RTOS docs)
- 🔗 Eclipse ThreadX source code
🔵 Embedded Linux
Embedded Linux runs on application processors rather than small microcontrollers. It is chosen for its networking, file system, USB and graphics stacks and its large software ecosystem, at the cost of more memory, longer boot times and no hard real-time guarantees unless the PREEMPT_RT patch is used.
- 📝 What Is Embedded Linux?
- 📝 FreeRTOS vs Linux for Embedded Systems
- 🎞️👶 Introduction to Embedded Linux (YouTube Playlist)
- 📝 Mastering Embedded Linux Series (Part 1) - George Hilliard's blog
- 📘💎 Mastering Embedded Linux Programming - Chris Simmonds
- 🎞️💎 Coursera - Advanced Embedded Linux Development Specialization
- 🔗 Linux From Scratch - step-by-step instructions for building your own custom Linux system
- 🔗 Automotive Grade Linux (AGL)
- 🔗 Real Time Linux and
PREEMPT_RTPatch
🔶 Linux Kernel
- 📘👶 Linux Kernel Development - Robert Love
- 📘💎 The Linux Programming Interface - Michael Kerrisk
- 📘 How Linux Works - Brian Ward
🔶 Linux Device Drivers
- 📘💎 Linux Device Drivers - Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman
- 📘 The Linux Kernel Module Programming Guide
- 🔗👶 Kernel modules - Linux Kernel Teaching Labs
- 📘 Mastering Linux Device Driver Development - John Madieu
- 📝 Kernel Driver with Rust in 2022
🔶 U-Boot
🔶 Buildroot
- 🔗 Buildroot Documentation
- 🎞️ Introduction to Embedded Linux Part 1 - Buildroot | Digi-Key Electronics
- 📝 Building Tiny Raspberry Pi Linux Images With Buildroot
🔶 Yocto
- 🔗 Yocto Project Quick Build
- 🔗💎 Yocto Project Documentation
- 🎞️ Introduction to Embedded Linux Part 2 - Yocto Project | Digi-Key Electronics
- 🎞️ Yocto Project Tutorial Series (Basic to Advance) (YouTube Playlist)
- 🎞️ Udemy – Embedded Linux using Yocto
- 📘💎 Embedded Linux Systems with the Yocto Project - Rudolf J.Streif
- 📘 Embedded Linux Development using Yocto Project Cookbook - Alex Gonzalez
- 📘 Bootlin Embedded Linux, Kernel, drivers, Yocto, Buildroot and Graphics Training
- 🔗 meta-raspberrypi - Yocto/OpenEmbedded layer for Raspberry Pi boards
🔶 Embedded Android
Embedded Android builds on Embedded Linux: the device runs a Linux kernel with Android-specific additions, and the Android Open Source Project (AOSP) adds its own build system, hardware abstraction layers (HALs) and framework on top. Learn Embedded Linux first, then how AOSP is built, ported to a board and extended with HALs and native (NDK) code.
- 🔗💎 Android Open Source Project
- 🔗👶 AOSP Architecture Overview
- 🔗 Try Android Development - Download, Build and Flash AOSP
- 🔗 Android Kernel Overview
- 🔗 Hardware Abstraction Layer (HAL) Overview
- 🔗 Get Started with the Android NDK
- 📘💎 Embedded Android - Karim Yaghmour
- 📘 Android System Development Training (Slides and Labs) - Bootlin
- 🔗 Android Automotive
🔵 Multithreading & Parallel Processing
Running several tasks concurrently on one or more cores brings shared-data hazards such as race conditions, priority inversion and deadlocks. Mutexes, queues and careful design keep them under control.
- 📝 Threading/Concurrency vs Parallelism
- 📝 Multi-threading and Parallel Programming
- 📝 Multitasking vs Multithreading vs Multiprocessing
- 📘💎 Programming with POSIX Threads - David Butenhof
- 📘 C++ Concurrency in Action - Anthony Williams
🔶 High-Performance Computing (HPC)
- 🔗 Parallel Programming and Performance Optimization With OpenMP
- 🎞️ Introduction to OpenMP - Tim Mattson (Intel) (YouTube Playlist)
- 🔗 OpenCL Tutorials
- 🔗 CUDA Programming Guide
- 📝👶 An Even Easier Introduction to CUDA - NVIDIA Technical Blog
- 🔗👶 GPU Puzzles - Solve puzzles, learn CUDA
🔵 Inter-Process Communication (IPC)
How tasks and processes exchange data and signals: queues, shared memory, sockets, pipes and message buses such as D-Bus.
- 📝 Inter Process Communication (IPC)
- 📝 What Is Inter-Process Communication In Linux?
- 🎞️ Udemy – Linux Inter Process Communication (IPC) from Scratch in C
- 📘 Extreme C - Kamran Amini | Chapter 19: Single-Host IPC and Sockets
- 🎞️ Udemy – Multi-Threading and IPC with Qt 5 C++
- 📝 D-Bus Tutorial
🔵 Qt Framework
A C++ framework for GUIs and applications on embedded Linux, with QML for declarative interfaces and a lighter Qt for MCUs edition for microcontrollers.
✳️ Debugging
Embedded bugs often involve hardware, timing and software together. Debugging combines in-circuit debuggers, logging, tracing, static analysis, simulation and instruments such as oscilloscopes to find the root cause.
🔵 JTAG / SWD
JTAG and SWD (Serial Wire Debug) are two popular interface protocols used for debugging and programming embedded systems. JTAG is a more general-purpose protocol that can be used to debug and program a wider range of devices, while SWD is a simpler and more compact protocol that is specifically designed for ARM microcontrollers.
- 📝 A Deep Dive into ARM Cortex-M Debug Interfaces
- 🔗 Guide: Connecting your debugger
- 🎞️ STM32 + SWD + ST-Link + CubeIDE | Debugging on Custom Hardware Tutorial - Phil's Lab #4
- 📝 Diving into JTAG protocol. Part 1 — Overview
- 📝 Diving into JTAG protocol. Part 2 — Debugging
- 📝 Diving into JTAG protocol. Part 3 — Boundary Scan
🔵 GDB
GDB is the standard open-source debugger for C, C++ and Rust firmware. Connected through a debug probe and a GDB server such as OpenOCD, it lets you set breakpoints, step through code, and inspect registers, memory and the call stack on the target.
- 📝 Advanced GDB Usage
- 📝 How do breakpoints even work?
- 🔗 GNU GDB Debugger Command Cheat Sheet
- 🔗 gdbgui - A browser-based frontend to gdb (gnu debugger)
- 🎞️ everyone needs to stop using print debugging (do THIS instead)
- 🎞️ GDB is REALLY easy! Find Bugs in Your Code with Only A Few Commands
- 📝 Introduction to ARM Semihosting
🔵 OpenOCD
OpenOCD is the open-source bridge between a debug probe (ST-Link, J-Link, CMSIS-DAP and others) and GDB. It talks JTAG or SWD to the target and supports flashing, debugging and boundary scan on a wide range of microcontrollers.
- 🔗 OpenOCD - GitHub repository
- 🎞️ This Is 100% How You Should Be Debugging | How to Use OpenOCD to Debug Embedded Software with GDB
✳️ Build System
Firmware is cross-compiled for a target that differs from the development machine, linked with a memory layout script and converted to a flashable image. Build systems automate these steps so builds are repeatable on every machine and in CI.
🔵 Compilers / GCC
A cross-compiler such as GCC (arm-none-eabi-gcc, riscv-gcc) or Clang turns C and C++ into code for a specific microcontroller. Its flags, optimization levels, linker scripts and startup code determine size, speed and behavior. Commercial compilers such as Keil and IAR offer vendor-tuned optimization and support that some projects prefer.
- 📝 GCC and Make - Compiling, Linking and Building C/C++ Applications
- 📝 The Best and Worst GCC Compiler Flags For Embedded
- 📝 From Zero to main(): Demystifying Firmware Linker Scripts
- 📝 Bare Metal - From zero to blink
- 🔗 Keil MDK & µVision
- 🔗 IAR Embedded Workbench
🔵 Make / CMake
Make rebuilds only what changed, based on rules in a Makefile. CMake generates Makefiles or Ninja files and supports toolchain files for cross-compiling, which is why many embedded SDKs such as Zephyr, the Pico SDK and ESP-IDF use it.
- 📝 A Shallow Dive into GNU Make
- 🎞️ Building STM32 projects from scratch with cross platform tools like Make, CMake and arm-gcc compiler toolchain (YouTube Playlist)
- 🔗 CMake Tutorial
- 🎞️ How to CMake Good (YouTube Playlist)
- 📝👶 The most thoroughly commented embedded CMakeLists file
- 🔗 A lightweight build and workflow tool for C/C++
🔵 Bash Scripting
Shell scripts glue the toolchain together on Linux and in CI: running builds and tests, flashing boards, parsing serial logs and preparing release images. On Windows, Bash is available through WSL.
🔵 Docker
A container image pins the exact compiler, SDK and tool versions, so every developer and CI job builds the same firmware, even years later, and new team members skip a long toolchain setup.
- 🔗 Docker Docs
- 🔗 Docker Cheat Sheet
- 📝👶 Docker for Dummies
- 🎞️ Introduction to Docker for the Embedded Developer
- 🎞️ Intro to CI/CD Part 1: Getting Started with Docker | Digi-Key Electronics
- 📝 A Modern C Development Environment
✳️ Software Development Life Cycle (SDLC) Models
Embedded projects combine software, hardware and often safety or regulatory requirements, which shapes how development is planned. SDLC models describe how requirements, design, implementation, verification and maintenance are organized, from sequential models such as the V-model to iterative ones such as Agile.
- 📝 What is the software development life cycle?
- 📝 Embedded Product Development Life Cycle: Four Main Steps
🔵 Agile / SCRUM
Iterative development in short sprints. In embedded projects it has to account for hardware availability, long lead times and certification.
- 📝 Does agile work with embedded software?
- 📝 What Is Scrum: A Guide to the Most Popular Agile Framework
- 🔗 The Scrum Guide
- 🔗 Wingman Software - Agility for Embedded Software Development (James Grenning)
- 📝 An agile guide to scrum meetings
- 📝 What is scaled agile framework? (SAFe)
- 🔗 Jira - Issue & Project Tracking Software
🔵 V-Model (V-cycle)
Pairs every development stage with a matching test stage. It is common in safety-critical domains such as automotive, medical and aerospace.
- 📝 What is the V model for software development
- 📝 V Model In Software Engineering: Ultimate Guideline
✳️ Version Control Systems
Firmware has to be traceable: every released binary should map to an exact source revision, often together with the hardware design files. Version control tracks changes, supports branches for features and hotfixes, and helps find the change that introduced a bug. Git is the standard; Subversion is still found in older projects.
🔵 Git
The standard distributed version control system. Branches, tags for releases and bisect for finding regressions are used daily in firmware projects.
- 🎞️👶 Git Tutorial for Beginners: Learn Git in 1 Hour
- 🎞️ Git for Professionals Tutorial - Tools & Concepts for Mastering Version Control with Git
🔵 SVN (Subversion)
✳️ Testing
Embedded testing covers logic that can run on a PC as well as behavior that only appears on real hardware, such as timing, interrupts, peripherals and power. A typical strategy combines host-based unit tests, integration tests on the target and system tests.
- 📝 Embedded Testing
- 📝 What is Embedded Testing in Software Testing?
- 📝 Verification vs Validation in Embedded Software
🔵 Test Driven Development (TDD)
Writing tests before the code. In embedded projects the tests usually run on the host with the hardware mocked, which gives fast feedback without flashing a board.
- 📘💎 Test Driven Development for Embedded C - James Grenning
- 📝 Testing: Unit VS Integration VS Regression VS Acceptance
- 📝 Firmware Testing with Renode and GitHub Actions
- 📝 Balancing Test Coverage vs. Overhead
🔶 Unit Testing
- 📝 Embedded C/C++ Unit Testing Basics
- 📝 Embedded C/C++ Unit Testing with Mocks
- 🔗 Unit Testing for C (especially Embedded Software)
- 📝 How to Use Ceedling for Embedded Test-Driven Development
- 📘 Unit Testing Principles, Practices, and Patterns - Vladimir Khorikov
- 🔗 Catch2 - A modern, C++-native, test framework for unit-tests
- 🔗 pytest-embedded
- 📝 Introduction to testing ESP32 code with Pytest
- 🔗 Pigweed
🔸 GoogleTest - Google Testing and Mocking Framework
🔶 Integration Testing
- 📝 Hardware CI Arena
- 📝 Exclave: Hardware Testing in Mass Production, Made Easier
- 📝 Regression Testing of Embedded Systems
🔵 CI/CD Pipelines
Continuous integration builds and tests every change automatically, for example compiling for all targets and running unit tests. Continuous delivery also produces versioned, signed firmware images and can deliver them to devices over the air. Hardware-in-the-loop runners extend CI to real boards.
- 🎞️ Intro to CI/CD Part 1: Getting Started with Docker | Digi-Key Electronics
- 🎞️ Intro to CI/CD Part 2: Getting Started with GitHub Actions | Digi-Key Electronics
- 📝 How to Build a Continuous Integration and Delivery Process for Embedded Software
- 📝 A guide to continuous delivery in embedded development
- 🎞️ Continuous Delivery for Embedded Systems • Mike Long • GOTO 2015
- 📝 Continuous Integration & Continuous Delivery for Embedded Systems (Whitepaper)
- 📝 What is DevOps in an Embedded Device Company?
- 🎞️💎 CI/CD Tutorials (YouTube Playlist)
🔵 SIL / HIL Testing
Software-in-the-loop (SIL) and hardware-in-the-loop (HIL) testing are two crucial techniques used in embedded systems development to validate the functionality and performance of software before it is deployed on real hardware. These testing methods simulate the real-world environment of the embedded system using software models or hardware emulators.
- 📝 What Is Hardware-in-the-Loop (HIL)? Differences Between MIL, SIL, PIL, and HIL - MathWorks
- 📝 Hardware-in-the-loop simulation - Wikipedia
- 🎞️ Embedded CI/CD with HIL Testing (YouTube Playlist)
🔵 Standards & Certifications
Embedded systems development is subject to a variety of standards and certifications, which serve as guidelines and benchmarks for ensuring the quality, safety, and reliability of these systems. These standards are often developed and maintained by industry bodies, such as the International Electrotechnical Commission (IEC) and the Society of Automotive Engineers (SAE).
- 📝 Intro to Embedded Development: Styles and Standards
- 📝 Safety Standards and Certifications for Embedded Systems Development
- 🎞️ Microchip University - An Introduction To The ISA/IEC 62443 Standard
- 🎞️ Exploring EMC Basics & Standards
🔶 Functional Safety
- 🎞️👶 Microchip University - Introduction to Functional Safety
- 🎞️ Udemy – Functional Safety According to ISO 26262 - Crash Course
- 📝 A Guide to MISRA C Coding Standards - MISRA C and MISRA C++
- 📝 A Firmware Development Standard by Jack Ganssle
- 📝 Safety-critical Embedded systems: How to prepare for software development
- 📝 DO-178C - Software Considerations in Airborne Systems and Equipment Certification
✳️ Embedded Security
Security in embedded systems is particularly challenging due to resource constraints and the inherent nature of these devices. Embedded systems typically operate on small, low-power microcontrollers with limited memory and processing power. This makes it difficult to implement the same level of security as traditional computing platforms. Additionally, embedded systems often have limited access to updates and patches, making them more vulnerable to known vulnerabilities.
🔵 Hardware Hacking
Hardware hacking means attacking a device through its physical interfaces: debug ports (JTAG/SWD, UART), flash chips, bus sniffing and fault injection. Knowing these attacks shows embedded engineers which protections matter, such as locking debug access and encrypting firmware.
- 📘💎 Practical Hardware Pentesting - Jean-Georges Valle
- 🎞️ Hardware Hacking Tutorial (YouTube Playlist)
- 📘💎 The Hardware Hacking Handbook: Breaking Embedded Security with Hardware Attacks - Jasper van Woudenberg, Colin O'Flynn
🔵 Cryptography
Hashing, symmetric and asymmetric encryption and digital signatures, implemented in software or by the hardware accelerators on many microcontrollers, to protect data and authenticate devices and firmware.
- 🎞️👶 Microchip University - Cryptography Primer
- 🎞️ Hashing, Hashing Algorithms, and Collisions - Cryptography - Practical TLS
- 🎞️ Data Integrity - How Hashing is used to ensure data isn't modified - HMAC - Cryptography
- 🎞️ Encryption - Symmetric Encryption vs Asymmetric Encryption - Cryptography - Practical TLS
- 🎞️ Public and Private Keys - Signatures & Key Exchanges - Cryptography - Practical TLS
- 🎞️ Understanding AES Encryption Mechanics: BMPS
- 📘💎 Understanding Cryptography: A Textbook for Students and Practitioners - Christof Paar, Jan Pelzl
- 📘💎 Handbook of Applied Cryptography - Alfred J. Menezes, Paul C. van Oorschot, Scott A. Vanstone
- 📘 Serious Cryptography, 2nd Edition: A Practical Introduction to Modern Encryption - Jean-Philippe Aumasson
- 🎞️ MOOC - Security Part2: Basics of cryptography (YouTube Playlist)
- 🎞️ MOOC - Security Part3 : STM32 security features (YouTube Playlist)
- 📝 Introduction to encryption for embedded Linux developers
- 📝 A hands-on approach to symmetric-key encryption
- 📝 Asymmetric-Key Encryption and Digital Signatures in Practice
🔵 Secure Boot & Secure Firmware Update
Make sure that only authentic, signed firmware runs and can be installed, using a hardware root of trust and verified images.
- 📝 AVR231: AES Bootloader
- 🎞️ Blinky To Bootloader: Bare Metal Programming Series (YouTube Playlist)
- 🎞️ MOOC - Security Part4 : STM32 security in practice (YouTube Playlist)
- 🎞️ MOOC - Security Part5 : How to define your security needs (YouTube Playlist)
- 🎞️ MOOC - Security Part6: STM32 security ecosystem, from theory to practice (YouTube Playlist)
- 🎞️ TPM (Trusted Platform Module) - Computerphile
- 🎞️ Securing Embedded Linux Systems with TPM 2.0 - Philip Tricca, Intel
- 📝 TPM: Basic applications to embedded devices
- 📝 OTA for Embedded Linux Devices: A practical introduction
- 📝 Introduction to Embedded Linux Security - part 1
- 📝 Introduction to Embedded Linux Security - part 2
✳️ Embedded GUI
A display needs a user interface that fits small RAM and flash, a limited CPU or GPU and tight latency. Embedded GUI libraries such as LVGL, TouchGFX and Qt provide widgets, drawing and touch handling on top of the display driver.
- 🔗 U8glib library for monochrome displays, version 2
- 🔗 LVGL
- 🔗 TouchGFX
- 🎞️ Introduction to Qt / QML (YouTube Playlist)
✳️ IoT (Internet of Things)
IoT devices combine sensors, a microcontroller and a network link, and often run on batteries for years. The embedded work covers connectivity, power budgets, secure provisioning, cloud protocols such as MQTT and over-the-air updates for devices deployed in the field.
🔵 Delta Over-The-Air Firmware Update
Updating devices by sending only the differences between firmware versions, which saves bandwidth, time and flash wear.
- 📝 Saving bandwidth with delta firmware updates
- 📝 Delta Over-The-Air Device Firmware Update
- 📝 FreeRTOS Delta Over-the-Air Updates
- 🔗 ESP Delta OTA
✳️ Edge AI
Edge AI refers to the ability of devices to perform machine learning tasks on their own, without the need to send data to a central server. This can be done by using small, specialized AI models that are embedded directly into the device. TinyML is a subset of Edge AI that focuses on developing these models for devices with very limited computing power, such as microcontrollers and sensors.
🔵 AI & ML Basics
The concepts needed before deploying models on devices: training versus inference, models and datasets, and techniques such as quantization that shrink models.
- 📝 A beginner's guide to artificial intelligence and machine learning
- 📝👶 Introduction to Machine Learning for Coders!
- 📝 Machine Learning Crash Course with TensorFlow APIs - Google
🔵 TensorFlow Lite
Google's lightweight runtime for running machine learning models on mobile and embedded devices, including a variant for microcontrollers.
- 🎞️ Getting Started with TensorFlow and Keras – Maker.io | Digi-Key Electronics
- 🎞️ Intro to TensorFlow Lite Part 1: Wake Word Feature Extraction – Maker.io | Digi-Key Electronics
- 🎞️ Intro to TensorFlow Lite Part 2: Speech Recognition Model Training – Maker.io | Digi-Key Electronics
🔵 TinyML
Machine learning on microcontrollers, where model size, memory, latency and power are the main constraints.
- 🎞️👶 Intro to TinyML Part 1: Training a Neural Network for Arduino in TensorFlow | Digi-Key Electronics
- 🎞️👶 Intro to TinyML Part 2: Deploying a TensorFlow Lite Model to Arduino | Digi-Key Electronics
- 🎞️ Coursera - Introduction to Embedded Machine Learning
- 🎞️ TinyML: Getting Started with TensorFlow Lite for Microcontrollers | Digi-Key Electronics
- 🎞️ TinyML: Getting Started with STM32 X-CUBE-AI | Digi-Key Electronics
- 🎞️ edX - Fundamentals of TinyML
- 🎞️ edX - Applications of TinyML
- 🎞️ edX - Deploying TinyML
- 🎞️ edX - MLOps for Scaling TinyML
- 📘 TinyML: Machine Learning with TensorFlow Lite on Arduino and Ultra-Low-Power Microcontrollers - Pete Warden, Daniel Situnayake
✳️ AUTOSAR Architecture
AUTOSAR, or AUTomotive Open System ARchitecture, is a global industry standard for automotive software development. It is a software architecture that provides a standardized platform for developing and integrating software components in vehicle electronic control units (ECUs). This allows different ECUs from different manufacturers to communicate and work together seamlessly.
- 🔗 AUTOSAR Standards
- 🎞️ AUTOSAR Basics | AUTOSAR Tutorial | Architecture | Automotive
- 🎞️ Introduction to AUTOSAR
- 🎞️ Udemy - Autosar Architecture (Learn from Scratch with Demo)
- 📝 OSEK OS Overview
- 🔗💎 OSEK/VDX Operating System Specification 2.2.3
- 🔗💎 OSEK/VDX OIL (OSEK Implementation Language) Specification 2.4.1
History
At first this was meant to be my personal reading list but as the list gradually became bigger and bigger, I wondered why not share it with others. So I did research on current job postings for embedded engineering roles, selecting the most frequent skills and including them on a roadmap. In order to make the roadmap more comprehensive I also added some basic skills and finally came up with what you see here.
The idea of creating this roadmap came from vazeri / Embedded-Engineering-RoadMap-2018 which was well designed but had some flaws and not updated for years. I took that idea, changed the structure of the roadmap and tried to improve it. The initial results can be accessed in m3y54m / Embedded-Engineering-Roadmap-Archived which is now archived. Early versions of the roadmap were created using Balsamiq Wireframes which is not suitable for these types of diagrams. Today the roadmap is drawn by the interactive explorer in this repository, directly from this README and the map definition.
Copyright
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License which means that you are free to share or adapt this work under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
Acknowledgement
Special thanks to my friends in the community of Iranian Embedded Engineers in Twitter and r/embedded subreddit for their suggestions that helped in improving this roadmap.
Contribution
If you think that this roadmap can be improved in anyway or you know about some good learning resources that can be added here, please start an issue or a pull request. I’ll be maintaining and updating this repository frequently.
The roadmap image and PDF are generated from this repository. Topics, descriptions and learning resources come from this README; where each topic sits on the map and its learning priority (required, recommended or optional) come from explorer/map.json. Edit those files and the interactive explorer in explorer/ renders the PNG and PDF automatically.
