CH1· 30 min read
Embedded C Roadmap 2027: From First Blink to Firmware Job
A free Embedded C roadmap for 2027: 21 sections, 248 topics with videos and articles, diagrams, portfolio projects and common embedded questions.
- Published
- Tags
- Embedded C · Roadmap · Firmware · Learning +4
Embedded C is still the language most firmware is written in. It runs inside medical wearables, cars, factory controllers and the billions of small devices that make up the Internet of Things, where memory is counted in kilobytes and a missed deadline is a bug, not a slow page.
This roadmap has 21 sections. Sections 1 to 12 cover the C language, microcontroller fundamentals, real-time basics, debugging and safety. Sections 13 to 21 add what job descriptions ask for: toolchain and build, Arm Cortex-M, more peripherals, RTOS and FreeRTOS, software design, bootloaders and security, low power and wireless, hardware skills, and a first look at embedded Linux.
In total: 21 sections, 45 groups and 248 topics. Each topic has a one-line explanation, two YouTube searches, reference articles and a wider article search.
How to use this roadmap
Go through the sections in order, but do not wait to finish one before touching hardware. After section 3, get a development board and blink an LED, then keep building small things as you read.
- Video: a YouTube search link. Each topic has two, one specific query and one general tutorial query.
- Article: a reference article, specification or documentation page.
- More articles: a Google search limited to well-known embedded and C sites.
- Core resources sit at the top of each section: books, channels and manuals worth keeping open.
- Groups are collapsible, so the page stays scannable. Open one to see its topics.
The five phases
The 21 sections group into five phases. The times are a suggested pace, not a rule: about 34 weeks at roughly 8 hours a week, starting without C. Move faster where you already know the material.
| Phase | Sections | Goal | Suggested time |
|---|---|---|---|
| 1. C foundations | 1, 2, 3 | Write and build small C programs with confidence. | 3 weeks |
| 2. Pointers and memory | 4, 5, 6 | Think in addresses, bytes and bits, the way hardware does. | 4 weeks |
| 3. MCU and peripherals | 7, 8, 9, 13, 14, 15 | Blink, read and talk to hardware from bare metal. | 10 weeks |
| 4. RTOS and real-time | 10, 16, 17 | Run several tasks and interrupts without races or missed deadlines. | 7 weeks |
| 5. Professional and job-ready | 11, 12, 18, 19, 20, 21 | Test, secure, update and power-tune firmware like a product. | 10 weeks |
The full roadmap
Embedded C Programming leads through the sections in learning order. Select a section or group to jump to it.
- Phase 1 C foundations · 3 weeks
- Phase 2 Pointers and memory · 4 weeks
- Phase 3 MCU and peripherals · 10 weeks
- Phase 4 RTOS and real-time · 7 weeks
- Phase 5 Professional and job-ready · 10 weeks
Embedded C Programming
- 1. Introduction to C
- 2. Control Flow
- 3. Functions and Scope
- 4. Pointers and Memory
- 5. Derived Data Types
- 6. Advanced C Features
- 7. Microcontroller Architecture
- 8. Peripheral Interfacing
- 9. Hardware Abstraction
- 10. Real Time Systems
- 11. Debugging and Testing
- 12. Optimization and Safety
- 13. Toolchain and Build System
- 14. ARM Cortex-M Deep Dive
- 15. Additional Peripherals
- 16. RTOS and FreeRTOS
- 17. Embedded Software Design
- 18. Bootloaders, Updates and Security
- 19. Low Power and Wireless
- 20. Hardware Skills for Firmware Engineers
- 21. Embedded Linux (Next Step)
How topics depend on each other
Some topics only make sense after one in an earlier section. These 33 chains show what to learn before what.
Learn each item before the one after the arrow.
The roadmap in numbers
The roadmap has 248 topics in total.
- 1. Introduction to C19
- 2. Control Flow12
- 3. Functions and Scope12
- 4. Pointers and Memory20
- 5. Derived Data Types23
- 6. Advanced C Features12
- 7. Microcontroller Architecture16
- 8. Peripheral Interfacing13
- 9. Hardware Abstraction12
- 10. Real Time Systems12
- 11. Debugging and Testing12
- 12. Optimization and Safety12
- 13. Toolchain and Build System13
- 14. ARM Cortex-M Deep Dive6
- 15. Additional Peripherals8
- 16. RTOS and FreeRTOS14
- 17. Embedded Software Design10
- 18. Bootloaders, Updates and Security5
- 19. Low Power and Wireless7
- 20. Hardware Skills for Firmware Engineers6
- 21. Embedded Linux (Next Step)4
Phase 1: C foundations3 weeks
Phase 2: Pointers and memory4 weeks
Phase 3: MCU and peripherals10 weeks
Phase 4: RTOS and real-time7 weeks
Phase 5: Professional and job-ready10 weeks
034 weeks
1. Introduction to C
Every firmware job starts here. Interviews still open with C basics, and the build steps in this section explain many later surprises.
Core resources for this section
5 links
1.1 C Language Basics
6 topics
1.1.1Basic Syntax Structure
How a C program is laid out: includes, declarations, functions and statements.
1.1.2Main Function Execution
Where execution starts, and what the startup code does before main() runs on a microcontroller.
- Video: YouTube search: C main function explained what happens before main embedded
- Video: YouTube search: Main Function Execution C programming tutorial
- Article: cppreference: main function
- Article: Memfault Interrupt: From Zero to main() (bare-metal startup)
- More articles: Google search (GeeksforGeeks, Programiz, Tutorialspoint)
1.1.3Compilation Process Overview
The four stages from source to binary: preprocess, compile, assemble, link.
- Video: YouTube search: C compilation process preprocessor compiler assembler linker
- Video: YouTube search: Compilation Process Overview C programming tutorial
- Article: Wikipedia: Compiler
- Article: GCC docs: Overall options (stages of compilation)
- More articles: Google search (GeeksforGeeks, Programiz, Tutorialspoint)
1.1.4Preprocessor Directives Usage
#include, #define and #if: text substitution that happens before the compiler sees your code.
1.1.5Basic Input Output
printf and scanf basics, and why firmware usually swaps them for a UART or a debug channel.
1.1.6Commenting Best Practices
Comments that explain why, not what, and header comments that tools like Doxygen can read.
1.2 Data Types and Variables
7 topics
1.2.1Integer Data Types
char, short, int, long and their fixed-width forms (uint8_t, int32_t) that firmware relies on.
- Video: YouTube search: C integer data types stdint.h uint8_t embedded
- Video: YouTube search: Integer Data Types C programming tutorial
- Article: cppreference: Fixed-width integer types (stdint.h)
- Article: cppreference: arithmetic types
- More articles: Google search (GeeksforGeeks, Programiz, Tutorialspoint)
1.2.2Floating Point Types
float and double, and the cost of floating point on cores without an FPU.
1.2.3Character Data Types
char as a small integer and as text, signedness traps, and ASCII.
1.2.4Modifier Keywords Usage
signed, unsigned, short, long, const and volatile: what each changes about a variable.
1.2.5Sizeof Operator Application
Asking the compiler for the size of a type or object, and why it differs between targets.
1.2.6Type Casting Methods
Implicit and explicit conversions, and the bugs that come from truncation and sign changes.
1.2.7Binary and Hexadecimal Numbers
How computers count: binary and hex notation, and converting between them by hand, as register maps are written in hex.
1.3 Operators and Expressions
6 topics
1.3.1Arithmetic Operators
+, -, *, / and %: integer division, overflow and what they cost on small cores.
1.3.2Relational Operators
==, !=, <, >, <= and >=: comparing values, and the classic = versus == mistake.
1.3.3Logical Operators
&&, || and !: short-circuit evaluation and how it affects side effects.
1.3.4Bitwise Operators
&, |, ^, ~, << and >>: the operators you will use on hardware registers every day.
1.3.5Assignment Operators
=, +=, |= and &=: compound assignment as the idiom for changing register bits.
1.3.6Operator Precedence Rules
Which operator binds first, and why a few parentheses prevent subtle bugs.
2. Control Flow
Firmware is mostly loops and decisions: the main loop, a polled flag, a state machine. Clear control flow keeps that code predictable.
Core resources for this section
2 links
2.1 Conditional Statements
6 topics
2.1.1If Statement Usage
Branching on a condition, including checking a status flag or a sensor reading.
2.1.2If Else Construct
Two-way decisions, and ordering conditions so the common case is cheap.
2.1.3Nested If Structures
Conditions inside conditions, and when deep nesting is a sign to restructure.
2.1.4Switch Case Statement
Multi-way branching on an integer or enum: the natural shape of a state machine.
2.1.5Conditional Operator Usage
The ?: shorthand for choosing between two values, and when it hurts readability.
2.1.6Branching Logic Design
Structuring decisions clearly: guard clauses, early returns and lookup tables.
2.2 Looping Constructs
6 topics
2.2.1While Loop Structure
Repeat while a condition holds, as in waiting for a peripheral to become ready.
2.2.2Do While Loop
A loop that always runs at least once, useful for read-then-check patterns.
2.2.3For Loop Mechanics
Counted loops over arrays and buffers, and off-by-one errors at the boundaries.
2.2.4Break Statement Usage
Leaving a loop early, such as on a timeout or an error.
2.2.5Continue Statement Usage
Skipping to the next iteration, for example to ignore invalid data.
2.2.6Infinite Loops Design
while(1): the main loop of nearly every bare-metal program, and how to keep it responsive.
3. Functions and Scope
Functions and storage classes decide where data lives and who can touch it, which matters when you have kilobytes of RAM.
Core resources for this section
2 links
3.1 Function Basics
6 topics
3.1.1Function Declaration Syntax
Telling the compiler a function exists before it is defined, usually in a header.
3.1.2Function Definition Rules
Writing a function body: parameters, local variables and a clear single purpose.
3.1.3Function Argument Passing
Pass by value versus passing a pointer, and what each costs in stack and copies.
3.1.4Return Values Handling
Returning values and status codes, and how to report errors without exceptions.
3.1.5Function Prototypes Usage
Declaring a function's signature up front so calls are type-checked.
3.1.6Inline Functions Application
Asking the compiler to expand a function in place: a speed versus code-size trade-off.
3.2 Storage Classes
6 topics
3.2.1Auto Storage Class
The default storage for local variables, living on the stack.
3.2.2Register Storage Class
A hint to keep a variable in a CPU register, and why modern compilers mostly ignore it.
3.2.3Static Storage Class
Variables that keep their value between calls, and file-private functions and data.
3.2.4Extern Storage Class
Sharing a variable between source files, and why globals deserve caution.
3.2.5Scope Rules Overview
Block, file and global scope, and how to keep names from colliding.
3.2.6Lifetime of Variables
How long a variable exists: stack, static storage and the heap.
4. Pointers and Memory
Pointers are how C reaches hardware: a register is a value at a fixed address. Dynamic memory is where many firmware teams draw a line.
Core resources for this section
3 links
4.1 Pointer Fundamentals
6 topics
4.1.1Pointer Variable Declaration
Declaring a variable that holds an address, and reading pointer types correctly.
4.1.2Address Of Operator
&x gives the address of x: how you hand a buffer or variable to a function.
4.1.3Dereference Operator Usage
*p reads or writes what a pointer points to, the core of register access.
4.1.4Null Pointers Initialization
Initialising pointers to NULL and checking before use.
4.1.5Void Pointers Application
void * as a type-agnostic pointer, and how generic APIs use it.
4.1.6Pointer Arithmetic Rules
Adding to a pointer moves by whole elements, which is how buffers are walked.
4.2 Advanced Pointers
6 topics
4.2.1Pointers to Pointers
A pointer to a pointer: output parameters and arrays of strings.
4.2.2Function Pointers Declaration
Storing a function's address so it can be called later, the basis of callbacks.
4.2.3Array of Function Pointers
Tables of handlers, as in interrupt vector tables and command dispatchers.
4.2.4Generic Pointers Usage
Writing code that works on any type through void * and callbacks.
4.2.5Const Qualifier with Pointers
const char * versus char * const: promising not to modify data, and keeping tables in flash.
4.2.6Dangling Pointers Prevention
Pointers to memory that is gone: returning a local's address, use after free.
4.3 Dynamic Memory
8 topics
4.3.1Stack Versus Heap
Where locals and dynamic memory live, and why a small stack overflows quietly.
4.3.2Malloc Function Usage
Requesting heap memory at runtime, and why many firmware projects avoid it.
4.3.3Calloc Function Usage
Allocating zero-initialised memory for arrays.
4.3.4Realloc Function Usage
Resizing an allocation, and the fragmentation it can cause.
4.3.5Free Function Application
Releasing memory exactly once, and not touching it afterwards.
4.3.6Memory Leak Prevention
Finding and preventing leaks, which crash a long-running device after days.
4.3.7Heap Fragmentation
How repeated malloc and free leave the heap in small gaps, so a later allocation fails even with enough free bytes.
4.3.8Static Versus Dynamic Allocation
Fixed buffers and memory pools sized at build time versus heap allocation at run time, and why firmware prefers the first.
5. Derived Data Types
Arrays, structs, unions and enums model sensor samples, packets and registers. Layout details here connect directly to hardware.
Core resources for this section
2 links
5.1 Arrays
6 topics
5.1.1One Dimensional Arrays
Fixed-size sequences of one type: sample buffers, lookup tables and FIFOs.
5.1.2Multi Dimensional Arrays
Arrays of arrays for matrices and frames, and how they sit in memory row by row.
5.1.3Character Arrays Strings
Strings as null-terminated char arrays, and the safe-copy rules that follow.
5.1.4Arrays and Pointers
Why an array name decays to a pointer, and what that means for sizeof and function calls.
5.1.5Passing Arrays to Functions
Handing a buffer and its length to a function, since the length is lost on the way.
5.1.6Array Bounds Safety
Staying inside the array: the root cause of many crashes and security holes.
5.2 Structures and Unions
7 topics
5.2.1Structure Declaration Syntax
Grouping related fields, such as one sensor sample or one packet header.
5.2.2Structure Initialization Methods
Brace and designated initialisers, so every field starts in a known state.
5.2.3Nested Structures Usage
Structures inside structures to mirror layered data such as frames and registers.
5.2.4Structure Pointers Application
The -> operator and passing structures by pointer instead of copying them.
5.2.5Union Declaration Syntax
Overlaying several views on the same bytes, such as a word and its four bytes.
5.2.6Union Memory Allocation
A union is as big as its largest member, and what that implies for portability.
5.2.7Linked Lists in C
Singly and doubly linked lists built from structures and pointers: insert, delete and walk without losing nodes.
5.3 Enumerations and Typedef
6 topics
5.3.1Enum Declaration Syntax
Named integer constants for states, modes and error codes.
5.3.2Enum Constants Usage
Using enums in switch statements and tables, and keeping the values explicit.
5.3.3Typedef Keyword Application
Naming a type once with typedef so the code reads like the problem.
5.3.4Custom Data Types
Building your own types, such as status_t or sample_t, for clearer interfaces.
5.3.5Bit Fields Definition
Packing several small fields into one word, and why their layout is compiler-defined.
5.3.6Code Readability Improvement
Using named types and constants so the next reader needs fewer comments.
5.4 Strings and Text Parsing
4 topics
5.4.1String Library Functions
strlen, strcpy, strncpy, strcmp, strchr and strtok, and the buffer overruns each one can cause.
5.4.2Parsing Strings with sscanf
Reading numbers and fields out of text such as sensor or modem replies with sscanf, and checking its return value.
5.4.3Formatting Strings with snprintf
Building messages and log lines with sprintf, and why snprintf with the buffer size is the safe default.
5.4.4Parsing NMEA GPS Sentences
Splitting a GPS module's $GPRMC or $GPGGA lines into fields and checking the XOR checksum after the asterisk.
6. Advanced C Features
Macros and bit operations are everyday tools for configuring registers and writing portable code, and a source of classic bugs.
Core resources for this section
2 links
6.1 Preprocessor Macros
6 topics
6.1.1Macro Definitions Usage
#define for constants and simple substitutions, and why const or enum is often better.
6.1.2Parameterized Macros Design
Function-like macros: wrapping arguments in parentheses to avoid surprises.
6.1.3Conditional Compilation Directives
#ifdef and #if to build one codebase for several boards or debug and release.
6.1.4File Inclusion Mechanics
How #include works, include guards and keeping headers self-contained.
6.1.5Standard Predefined Macros
__FILE__, __LINE__ and friends for logging and assertions.
6.1.6Macro Pitfalls Avoidance
Double evaluation, missing parentheses and other macro traps.
6.2 Bit Manipulation
6 topics
6.2.1Setting Bitwise Flags
Turning bits on with OR: reg |= (1u << n).
6.2.2Clearing Bitwise Flags
Turning bits off with AND and an inverted mask: reg &= ~(1u << n).
6.2.3Toggling Bit Values
Flipping bits with XOR, as in blinking an LED pin.
6.2.4Extracting Bit Fields
Shifting and masking to pull a field out of a register or a packet.
6.2.5Bitwise Shifting Operations
Left and right shifts, arithmetic versus logical, and fast multiply or divide by powers of two.
6.2.6Masking Techniques Application
Building masks and applying them to read-modify-write registers safely.
7. Microcontroller Architecture
You cannot program a chip you do not understand. This section covers the core, the memory map and the clocks behind every peripheral.
Core resources for this section
3 links
7.1 Core Components
8 topics
7.1.1Central Processing Unit
What the core does: fetch, decode, execute, and the registers it works with.
7.1.2Harvard Versus Von Neumann
Separate or shared buses for code and data, and why Cortex-M and AVR differ.
7.1.3Memory Organization Structure
How flash, RAM and peripherals share one address space.
7.1.4Input Output Ports
Pins grouped into ports, and the registers that control them.
7.1.5Bus Architecture Basics
How the CPU, DMA and peripherals reach memory over the bus matrix.
7.1.6Clock Generation Systems
Oscillators, PLLs and dividers: where every peripheral's clock comes from.
7.1.78-bit Versus 32-bit Microcontrollers
What changes from an 8-bit AVR or PIC to a 32-bit Cortex-M: register width, address space, performance and cost.
7.1.8CISC Versus RISC and RISC-V
Complex versus reduced instruction sets, why Arm and RISC-V are RISC, and where RISC-V now appears in MCUs.
7.2 Memory Mapping
8 topics
7.2.1Flash Memory Characteristics
Program storage that must be erased in pages and wears out after many cycles.
7.2.2Static Random Access Memory
Fast volatile memory for variables, the stack and the heap.
7.2.3Read Only Memory
Read-only data that never changes after programming, such as boot code.
7.2.4Memory Mapped Registers
Peripheral control and status registers appearing as ordinary memory addresses.
- Video: YouTube search: memory mapped registers embedded C
- Video: YouTube search: Memory Mapped Registers embedded tutorial
- Article: Wikipedia: Memory-mapped I/O and port-mapped I/O
- Article: Bare-metal programming guide (cpq)
- More articles: Google search (Memfault, Embedded Artistry, Embedded.com, DigiKey)
7.2.5Absolute Addressing Methods
Placing data or pointers at fixed addresses, as in register definitions.
7.2.6Non Volatile Memory Storage
EEPROM, flash emulation and other storage that survives a power cycle.
7.2.7Cache Memory
Instruction and data caches on faster MCUs such as Cortex-M7, and why DMA buffers then need cache maintenance.
7.2.8EEPROM and FRAM
Byte-writable non-volatile memory for settings and logs: EEPROM wear limits versus FRAM's fast, near-unlimited writes.
8. Peripheral Interfacing
GPIO and the serial buses (UART, SPI, I2C, CAN, USB) connect a microcontroller to sensors and the outside world: the heart of most day-to-day tasks.
Core resources for this section
3 links
8.1 General Purpose Input Output
6 topics
8.1.1Pin Configuration Registers
Setting each pin's mode, speed and alternate function through registers.
8.1.2Digital Input Reading
Reading a button or a digital sensor, and the noise that comes with it.
8.1.3Digital Output Writing
Driving an LED or a control line high or low.
8.1.4Pull Up Resistors
Holding a floating input at a known high level.
8.1.5Pull Down Resistors
Holding a floating input at a known low level.
8.1.6Interrupt Pin Setup
Letting a pin edge trigger an interrupt instead of polling.
8.2 Communication Protocols
7 topics
8.2.1Universal Asynchronous Receiver
Asynchronous serial with TX and RX: baud rate, framing and the console you debug with.
8.2.2Serial Peripheral Interface
A fast four-wire synchronous bus for displays, flash and sensors.
8.2.3Inter Integrated Circuit
A two-wire addressed bus for many slow sensors: pull-ups, ACK and clock stretching.
8.2.4Controller Area Network Bus
A differential, message-based bus used widely in vehicles and industrial gear.
8.2.5Universal Serial Bus Basics
Enumeration, endpoints and device classes: how a board talks to a PC.
8.2.6Transmission Timing Control
Clock polarity, setup and hold times, and reading a protocol on a logic analyser.
8.2.7Quad SPI (QSPI) Flash
Four data lines instead of one for fast external flash, often memory-mapped so code can run from it.
9. Hardware Abstraction
Register-level code shows what a vendor library does for you, and clean driver layers make firmware portable and testable.
Core resources for this section
3 links
9.1 Register Level Programming
6 topics
9.1.1Reading Hardware Registers
Reading a peripheral register through a volatile pointer.
9.1.2Writing Hardware Registers
Writing a register, and the difference between write-only and read-modify-write.
9.1.3Bit Masking Registers
Changing some bits of a register without disturbing the rest.
9.1.4Polling Status Flags
Waiting for a ready, done or error bit, with a timeout so it cannot hang.
9.1.5Delay Loops Implementation
Busy-wait delays, why they are inaccurate, and what to use instead.
9.1.6Hardware Initialization Sequence
Bringing clocks, pins and peripherals up in the right order after reset.
9.2 Abstraction Layers
6 topics
9.2.1Driver Development Principles
A small, stable interface for each peripheral, hiding register details.
9.2.2Hardware Abstraction Layer
Vendor HAL layers (such as STM32 HAL) and when to use or skip them.
9.2.3Low Level Drivers Design
Thin register-level drivers that are small and fast.
9.2.4Interface Standardization
Giving different chips the same function names and behaviour.
9.2.5Portability Enhancement
Writing code that moves between boards with few changes.
9.2.6Configuration Structures Usage
Passing settings to a driver in a structure instead of a long argument list.
10. Real Time Systems
Interrupts and concurrency make firmware respond on time. Many hard-to-reproduce bugs live here, so interviewers ask about it.
Core resources for this section
3 links
10.1 Interrupt Handling
6 topics
10.1.1Interrupt Service Routines
Short handlers that run when hardware signals an event: keep them fast and let the main code do the work.
- Video: YouTube search: interrupt service routine embedded C
- Video: YouTube search: Interrupt Service Routines embedded tutorial
- Article: Wikipedia: Interrupt handler
- Article: Memfault Interrupt: Cortex-M exceptions and NVIC
- More articles: Google search (Memfault, Embedded Artistry, Embedded.com, DigiKey)
10.1.2Interrupt Vector Table
The table of handler addresses the core jumps through when an exception fires.
10.1.3Nested Interrupts Management
Letting a higher-priority interrupt preempt a lower one, and the stack depth it needs.
10.1.4Priority Configuration Rules
Choosing which interrupts may preempt which, so urgent work is never blocked.
10.1.5Shared Data Protection
Variables shared between an interrupt and the main loop: volatile, atomic access and short critical sections.
- Video: YouTube search: shared data problem interrupts volatile atomic
- Video: YouTube search: Shared Data Protection embedded tutorial
- Article: Barr Group: How to use C's volatile keyword
- Article: cppreference: Atomic operations
- More articles: Google search (Memfault, Embedded Artistry, Embedded.com, DigiKey)
10.1.6Debouncing Switch Inputs
Cleaning up the bouncing of a mechanical switch in software or with a timer.
10.2 Concurrency Concepts
6 topics
10.2.1Multitasking Fundamentals
Running several activities at once, from a super-loop to full task switching.
10.2.2Task Scheduling Basics
Round-robin, priority and time-slicing: how the next task is chosen.
10.2.3Critical Section Protection
Code that must not be interrupted or interleaved, and how to protect it.
10.2.4Race Conditions Prevention
Bugs that appear only when two contexts touch the same data in an unlucky order.
10.2.5Deadlock Avoidance Strategies
How tasks end up waiting on each other forever, and the rules that prevent it.
10.2.6Resource Sharing Mechanics
Sharing a peripheral, buffer or bus between tasks with mutual exclusion.
11. Debugging and Testing
Firmware fails in ways a screen cannot show. Hardware debuggers, fault handlers and tests turn guesses into evidence.
Core resources for this section
4 links
11.1 Debugging Techniques
6 topics
11.1.1Hardware Debuggers Usage
Using a probe such as ST-Link or J-Link with breakpoints, watchpoints and live variables.
11.1.2In Circuit Emulators
Hardware that stands in for the CPU to watch a target in real time.
11.1.3Serial Print Debugging
Logging over UART or semihosting, and its cost in time and code size.
11.1.4Toggle Pin Diagnostics
Toggling a spare pin around code and measuring it on a scope or logic analyser.
11.1.5Watchdog Timer Application
A hardware timer that resets the chip if the firmware stops responding.
11.1.6Fault Handlers Implementation
Catching HardFault and other exceptions and saving enough state to find the cause.
11.2 Code Verification
6 topics
11.2.1Static Analysis Tools
Tools that find bugs in source without running it, such as compiler warnings, cppcheck and clang-tidy.
11.2.2Dynamic Testing Methods
Finding bugs by running the code: sanitizers, fault injection and hardware-in-the-loop tests.
11.2.3Unit Testing Frameworks
Unity, CMock, Ceedling and similar tools for testing C code on a PC or the target.
- Video: YouTube search: unit testing embedded C Unity Ceedling
- Video: YouTube search: Unit Testing Frameworks embedded tutorial
- Article: Memfault Interrupt: Embedded C unit testing basics
- Article: Unity test framework (ThrowTheSwitch)
- Article: CppUTest
- More articles: Google search (Memfault, Embedded Artistry, Embedded.com, DigiKey)
11.2.4Code Coverage Metrics
Measuring how much of the code your tests actually execute.
11.2.5Memory Inspection Tools
Reading RAM, stack usage and peripheral state while the target runs.
11.2.6Regression Testing Practices
Re-running old tests after every change so fixed bugs stay fixed.
12. Optimization and Safety
Tuning size, speed and power, and following standards such as MISRA C, separate hobby code from product firmware.
Core resources for this section
3 links
12.1 Code Optimization
6 topics
12.1.1Execution Speed Improvement
Profiling first, then fixing the hot loops, instead of guessing.
12.1.2Memory Footprint Reduction
Cutting flash and RAM use: data sizes, dead code and the linker's map file.
12.1.3Compiler Optimization Flags
-O0, -O2, -Os and friends: what each level changes and what it can expose.
12.1.4Volatile Keyword Usage
Telling the compiler a value can change behind its back, as hardware registers and ISR-shared variables do.
12.1.5Inline Assembly Integration
Embedding a few assembly instructions in C for things C cannot express.
12.1.6Power Consumption Reduction
Spending less energy through sleep modes, lower clocks and fewer wakeups.
12.2 Coding Standards
6 topics
12.2.1Misra C Compliance
A widely used rule set for safe C in safety-critical products such as automotive and medical.
12.2.2Safe Coding Practices
Defensive habits: initialise everything, check return values, limit scope.
12.2.3Undefined Behavior Avoidance
Code the C standard does not define, such as signed overflow or out-of-range shifts, and how to avoid it.
12.2.4Code Review Guidelines
Reviewing changes for correctness, readability and the rules the team agreed on.
12.2.5Documentation Standards
Headers, API notes and design records that outlive the people who wrote them.
12.2.6Version Control Integration
Using Git with branches, small commits and tagged releases for firmware.
13. Toolchain and Build System
Builds are part of the job: linker scripts, startup code and map files explain where every byte of flash and RAM goes.
Core resources for this section
2 links
13.1 Cross-Compilation Toolchain
7 topics
13.1.1GCC ARM Toolchain
arm-none-eabi-gcc: compiling on a PC for a different processor.
13.1.2Object Files and ELF Format
The intermediate and final file formats your build produces, and how to inspect them.
13.1.3Linker Scripts
Telling the linker where flash and RAM are and which section goes where.
13.1.4Startup Code and Reset Handler
The code that runs after reset: set the stack, copy .data, zero .bss, then call main().
13.1.5Memory Sections (.text .data .bss)
Where code, initialised data and zero-initialised data end up in memory.
13.1.6Map Files and Binary Size Analysis
Reading the map file and size output to see what uses your flash and RAM.
13.1.7C Compilers Compared (GCC, Clang, IAR, Arm)
GCC, Clang, IAR and Arm Compiler (Keil): what differs in optimisation, extensions, licensing and certification.
13.2 Build Automation
6 topics
13.2.1Makefiles
Describing how to build the project in a file so one command does it.
13.2.2CMake for Embedded
A cross-platform build generator widely used for firmware projects.
13.2.3Compiler Warnings and Flags
-Wall, -Wextra and friends: let the compiler catch mistakes early.
13.2.4Continuous Integration for Firmware
Building and testing every commit on a server, so broken firmware never lands.
13.2.5Multi-File Programs and Header Files
Splitting code into .c and .h files: declarations in headers, extern, include guards, and compiling and linking them.
13.2.6Embedded IDEs (Keil, STM32CubeIDE, VS Code)
Keil MDK, STM32CubeIDE and VS Code with extensions: projects, debugging and when each one fits.
14. ARM Cortex-M Deep Dive
Most commercial microcontrollers use Arm Cortex-M cores, so NVIC, SysTick and fault registers carry over between vendors.
Core resources for this section
2 links
14.1 Core Architecture
6 topics
14.1.1Cortex-M Programmer's Model
Registers, modes, the stack pointers and the thumb instruction set.
14.1.2NVIC
The Nested Vectored Interrupt Controller: enabling, prioritising and pending interrupts.
14.1.3SysTick Timer
The core's built-in tick timer, the usual heartbeat of an RTOS.
14.1.4Memory Protection Unit (MPU)
Restricting memory regions so a faulty task cannot corrupt others.
14.1.5Exceptions and Fault Registers
HardFault, MemManage, BusFault and UsageFault, and the registers that tell you why.
14.1.6CMSIS Core and Device Headers
Arm's standard core access layer and the vendor header files built on it.
15. Additional Peripherals
Timers, PWM, ADC and DMA are how real products measure, drive and move data, such as sampling a signal at a fixed rate.
Core resources for this section
2 links
15.1 Timers and Analog
6 topics
15.1.1Hardware Timers and Counters
Counting clock ticks to measure time, generate periodic events and drive other peripherals.
15.1.2PWM (Pulse Width Modulation)
A square wave whose duty cycle sets the average power: LEDs, motors and buzzers.
15.1.3Input Capture and Output Compare
Timestamping external edges, and producing outputs at exact times.
- Video: YouTube search: input capture output compare timer
- Video: YouTube search: Input Capture and Output Compare embedded tutorial
- Article: Wikipedia: Programmable interval timer
- Article: Wikipedia: Pulse-width modulation
- More articles: Google search (Memfault, Embedded Artistry, Embedded.com, DigiKey)
15.1.4ADC (Analog-to-Digital Converter)
Turning a voltage into a number: resolution, sampling rate and reference voltage.
- Video: YouTube search: ADC explained microcontroller
- Video: YouTube search: ADC (Analog-to-Digital Converter) embedded tutorial
- Article: Wikipedia: Analog-to-digital converter
- Article: SparkFun: Analog to digital conversion
- More articles: Google search (Memfault, Embedded Artistry, Embedded.com, DigiKey)
15.1.5DAC (Digital-to-Analog Converter)
Turning a number back into a voltage, for signals and bias levels.
15.1.6Real-Time Clock (RTC)
Keeping calendar time across sleep, often on a separate low-power clock.
15.2 Data Movement
2 topics
15.2.1DMA (Direct Memory Access)
Moving data between memory and peripherals without the CPU copying every byte.
15.2.2Interrupt-Driven vs DMA I/O
Choosing between per-byte interrupts and block transfers, by throughput and CPU load.
16. RTOS and FreeRTOS
An RTOS lets several tasks share one CPU and still meet deadlines. FreeRTOS is a widely used starting point, and Zephyr is a strong second to learn.
Core resources for this section
3 links
16.1 RTOS Fundamentals
4 topics
16.1.1What Is an RTOS
A scheduler that runs several tasks and meets timing deadlines, and when you need one.
16.1.2Context Switching
How the kernel saves one task's registers and restores another's.
16.1.3Priority Inversion
A low-priority task holding a lock a high-priority task needs, and how priority inheritance helps.
16.1.4Bare-Metal vs RTOS Trade-offs
When a super-loop is enough and when an RTOS pays for itself.
16.2 FreeRTOS
8 topics
16.2.1FreeRTOS Tasks
Creating tasks with xTaskCreate, priorities, stack sizes and the task states.
16.2.2FreeRTOS Queues
Passing data between tasks and from interrupts safely.
16.2.3FreeRTOS Semaphores and Mutexes
Signalling and protecting shared resources, with priority inheritance on mutexes.
16.2.4FreeRTOS Software Timers
Running a function after a delay or periodically, without a task of your own.
16.2.5FreeRTOS Event Groups and Task Notifications
Lightweight ways to signal one or several events to a task.
16.2.6FreeRTOS Memory Management (heap_1..5)
Choosing among the five heap implementations by determinism and fragmentation.
16.2.7FreeRTOS Interrupt Management (FromISR APIs)
The FromISR functions: the only calls safe inside an interrupt handler.
16.2.8Stack Overflow Detection
Detecting a task that ran past its stack, before it corrupts memory.
16.3 Other RTOSes
2 topics
16.3.1Zephyr RTOS
A modern open-source RTOS with a large hardware and driver ecosystem.
16.3.2ThreadX / Azure RTOS
A commercial-grade RTOS, open source since it moved to the Eclipse Foundation.
17. Embedded Software Design
State machines, ring buffers and layered design keep firmware maintainable as it grows, and they come up often in interviews.
Core resources for this section
2 links
17.1 Design Patterns
5 topics
17.1.1Finite State Machines
Modelling behaviour as states and transitions: clear, testable and predictable.
17.1.2Event-Driven Architecture / Active Objects
Components that react to events and own their state, as in the active-object pattern.
17.1.3Ring (Circular) Buffers
A fixed-size FIFO that decouples an interrupt or DMA producer from a consumer.
17.1.4Callbacks and Event Handlers
Registering a function to be called when something happens.
17.1.5Modular / Layered Firmware Architecture
Splitting firmware into layers and modules with clear boundaries.
17.2 Data Representation
5 topics
17.2.1Endianness
Byte order: why the same bytes mean different numbers on different systems.
17.2.2Structure Padding, Alignment and Packing
How the compiler inserts gaps for alignment, and when to pack structures.
17.2.3Two's Complement and Overflow
How signed integers are stored and what happens when they overflow.
17.2.4Fixed-Point Arithmetic
Doing fractional maths with integers on cores without an FPU.
17.2.5CRC and Checksums
Detecting corrupted data in packets and stored images.
18. Bootloaders, Updates and Security
Devices in the field need safe updates and trusted code. Bootloaders, OTA and secure boot are now expected in connected products.
Core resources for this section
2 links
18.1 Boot and Update
2 topics
18.1.1Bootloaders
A small program that starts first, checks the application and can load a new one.
18.1.2Firmware Over-the-Air (FOTA/OTA)
Updating deployed devices over the air, safely, with rollback if it fails.
18.2 Embedded Security
3 topics
18.2.1Secure Boot
Only running firmware whose signature the chip trusts.
18.2.2Buffer Overflow and Stack Protection
How overflows are exploited, and defences such as stack canaries and bounds checks.
18.2.3Cryptography Basics for Firmware
Hashes, symmetric and public-key crypto, and the rule of never writing your own.
19. Low Power and Wireless
Battery life often decides whether a product works at all. Sleep modes and BLE are central for wearables and sensor nodes.
Core resources for this section
2 links
19.1 Power Management
3 topics
19.1.1Sleep and Deep-Sleep Modes
The chip's lower-power states, what stays alive in each and what wakes it.
19.1.2Clock Gating and Dynamic Frequency Scaling
Switching off unused peripheral clocks and running slower when you can.
19.1.3Measuring Current Consumption
Measuring microamps to milliamps with the right tool, and reading the result.
19.2 Wireless Connectivity
4 topics
19.2.1Bluetooth Low Energy (BLE)
Low-energy radio for phones and wearables: advertising, connections and GATT.
19.2.2Wi-Fi and IoT Protocols (MQTT)
Getting a device onto Wi-Fi and publishing data with the MQTT messaging protocol.
19.2.3AT Commands for Modems
Driving cellular and Wi-Fi modems with text commands over UART: send, wait for OK or ERROR, and time out safely.
19.2.4CoAP Protocol
A light request and response protocol over UDP for constrained devices, compared with MQTT's publish and subscribe.
20. Hardware Skills for Firmware Engineers
Firmware engineers read datasheets and schematics and use scopes and logic analysers all the time. These skills set strong candidates apart.
Core resources for this section
2 links
20.1 Reading Hardware
3 topics
20.1.1Reading Datasheets and Reference Manuals
Finding the register map, timings and limits you need in the vendor's documents.
20.1.2Reading Schematics
Following pins, power rails and pull-ups on a circuit diagram.
20.1.3Logic Levels and Electrical Basics
Voltage levels, level shifting, current limits and why 3.3 V is not 5 V.
20.2 Lab Tools
3 topics
20.2.1Logic Analyzer
Capturing digital signals and decoding UART, SPI and I2C traffic.
20.2.2Oscilloscope
Seeing analogue signals, noise and edges that a logic analyser cannot show.
20.2.3Multimeter
Checking continuity, voltage and current before blaming the code.
21. Embedded Linux (Next Step)
Many products outgrow microcontrollers. Embedded Linux is a natural next step once the fundamentals are solid.
Core resources for this section
2 links
21.1 Embedded Linux Basics
4 topics
21.1.1Embedded Linux Overview
How Linux-based boards differ from microcontrollers, and when to move to them.
21.1.2Device Tree
Describing board hardware to the kernel in a data file.
21.1.3Linux Kernel Modules and Drivers
Writing code that loads into the kernel to drive hardware.
21.1.4Yocto / Buildroot
Build systems that produce a custom Linux image for your board.
From roadmap to job
A roadmap shows what to learn. Employers want proof you can build and debug. One project per phase gives you that, and gives interviewers something real to ask about.
Not sure which chip to start on? Read STM32 vs ESP32 vs nRF52 for wearables before you buy a board for phase 3.
Portfolio projects, phase by phase
| Phase | Project | Roadmap sections | What it shows |
|---|---|---|---|
| 1. C foundations | A command parser in portable C, built with a Makefile and tested on your PC | 1, 2, 3, 13 | Clean C, a build you can repeat, unit tests |
| 2. Pointers and memory | A ring buffer and a fixed-size memory pool, with no malloc | 4, 5, 6, 17 | Pointers, memory layout, bit handling |
| 3. MCU and peripherals | Bare-metal blinky with direct register writes; a UART driver with a ring buffer and DMA; an I2C sensor driver | 7, 8, 9, 14, 15 | Reading a reference manual, drivers, peripherals |
| 4. RTOS and real-time | A FreeRTOS multi-task data logger: sensor task, queue and logging task, with stack and heap checks | 10, 16, 17 | Tasks, queues, interrupts, race-free design |
| 5. Professional and job-ready | A low-power BLE sensor node; a bootloader with a checked OTA update; CI that builds and tests every commit | 11, 12, 18, 19 | Power, updates, testing and delivery |
What to put on GitHub
- A README per project: what it does, the board, how to build and flash it, and a photo or diagram of the setup.
- Pin your three or four best repositories rather than everything.
- Small, well-named commits, and tests or a CI badge where you can.
- Evidence of debugging: a logic analyser capture, a scope trace or a short write-up of a bug you tracked down.
- A licence file, and no secrets, keys or private data in the history.
Common embedded questions
Questions that come up again and again in embedded work and interviews, grouped by topic. Open a topic to see its questions, what a good answer covers and the roadmap topic to study.
volatile and const
2 questions
What does volatile do, and when must you use it?
The compiler must read or write the value every time: memory-mapped registers, variables shared with an ISR. It does not make access atomic.
Roadmap topic:Volatile Keyword Usage
Can a pointer be both const and volatile?
Yes. A read-only hardware status register is
const volatile uint32_t *: you must not write it, but it can change at any time.Roadmap topic:Const Qualifier with Pointers, Volatile Keyword Usage
interrupts
4 questions
What should an ISR do, and what should it avoid?
Be short: set a flag, copy data to a buffer, signal a task. Avoid blocking calls, long loops, printf and malloc.
Roadmap topic:Interrupt Service Routines
How do you share data safely between an ISR and the main loop?
Use volatile, accesses the CPU does atomically, short critical sections, or a single-producer single-consumer ring buffer.
Roadmap topic:Shared Data Protection, Ring (Circular) Buffers
What happens when an interrupt fires on a Cortex-M?
Hardware stacks the registers, reads the handler address from the vector table, runs it, and unstacks on return. Priority decides whether it can preempt.
Roadmap topic:NVIC, Interrupt Vector Table
Polling, interrupts or DMA: when do you use each?
Polling for simple or very fast checks, interrupts for events that come at unknown times, DMA for blocks of data the CPU should not copy byte by byte.
Roadmap topic:Polling Status Flags, Interrupt-Driven vs DMA I/O
bit manipulation
4 questions
Set, clear, toggle and test bit n of a register.
reg |= (1u << n),reg &= ~(1u << n),reg ^= (1u << n),reg & (1u << n). Use unsigned constants.Roadmap topic:Setting Bitwise Flags, Clearing Bitwise Flags, Toggling Bit Values
Count the set bits in a byte.
Loop with
x &= x - 1, which clears the lowest set bit each time, or use a 256-entry lookup table.Roadmap topic:Masking Techniques Application
Why use unsigned types for bit operations?
Left-shifting a negative value is undefined and right-shifting one is implementation-defined, so unsigned gives predictable results.
Roadmap topic:Bitwise Shifting Operations, Undefined Behavior Avoidance
Swap two integers without a temporary variable.
a ^= b; b ^= a; a ^= b;works, but fails when both point at the same object. In real code a temporary is clearer and just as fast.Roadmap topic:Toggling Bit Values, Binary and Hexadecimal Numbers
pointers and arrays
4 questions
What is the difference between
const int *pandint *const p?The first points to a constant int (you cannot change the data through it); the second is a constant pointer (it cannot point elsewhere).
Roadmap topic:Const Qualifier with Pointers
Declare a pointer to a function that takes an int and returns nothing.
void (*handler)(int);. Arrays of these make dispatch tables and vector tables.Roadmap topic:Function Pointers Declaration, Array of Function Pointers
What is a dangling pointer?
A pointer to memory that is no longer valid: a freed block, or a local variable after the function returned.
Roadmap topic:Dangling Pointers Prevention
What does sizeof return for an array parameter?
The size of a pointer, because the array decays to one. Pass the length as a separate argument.
Roadmap topic:Arrays and Pointers, Passing Arrays to Functions
memory layout
4 questions
Where do globals, locals and constants live?
Initialised globals sit in .data (copied from flash at startup), zero-initialised ones in .bss, code and constants in flash, locals on the stack.
Roadmap topic:Memory Sections (.text .data .bss), Startup Code and Reset Handler
Why do many firmware projects avoid malloc?
Heap fragmentation, non-deterministic timing and allocation failures that are hard to handle. Static buffers and pools are predictable.
Roadmap topic:Malloc Function Usage, Stack Versus Heap
What is structure padding?
The compiler inserts gaps so members are aligned. It changes sizeof and breaks assumptions about wire formats; packing can cause slow or faulting unaligned access.
Roadmap topic:Structure Padding, Alignment and Packing
Flash, RAM, EEPROM and FRAM: what goes where?
Code and constants in flash, working data in RAM, small settings in EEPROM (limited writes) and frequently written logs in FRAM, which is fast and barely wears.
Roadmap topic:Flash Memory Characteristics, EEPROM and FRAM
RTOS
4 questions
What is priority inversion, and how is it fixed?
A high-priority task waits on a lock held by a low-priority task that a medium one keeps preempting. Priority inheritance on the mutex fixes it.
Roadmap topic:Priority Inversion
Semaphore or mutex: what is the difference?
A mutex has an owner and protects a resource, usually with priority inheritance. A semaphore signals events between tasks or from an ISR.
Roadmap topic:FreeRTOS Semaphores and Mutexes
Which FreeRTOS calls can you make from an ISR?
Only the FromISR variants, and request a context switch at the end if a higher-priority task was woken.
Roadmap topic:FreeRTOS Interrupt Management (FromISR APIs)
Bare-metal super-loop or RTOS: how do you choose?
A super-loop is enough for few, simple activities. Reach for an RTOS when you have several independent activities with their own timing or blocking.
Roadmap topic:Bare-Metal vs RTOS Trade-offs
communication protocols
3 questions
Compare UART, SPI and I2C.
UART: two wires, asynchronous, point to point. SPI: four wires, fast, one chip select per device. I2C: two wires, addressed, many devices, slower.
Roadmap topic:Universal Asynchronous Receiver, Serial Peripheral Interface, Inter Integrated Circuit
Why does I2C need pull-up resistors?
Its lines are open-drain: devices only pull them low, so resistors return them high.
Roadmap topic:Inter Integrated Circuit, Pull Up Resistors
How do you receive UART data without losing bytes?
Receive with an interrupt or DMA into a ring buffer, and let the main code or a task drain it.
Roadmap topic:Ring (Circular) Buffers, DMA (Direct Memory Access)
C language details
3 questions
Inline function or macro: which do you choose?
An inline function: it checks types and evaluates each argument once. Keep macros for constants, conditional compilation and token tricks.
Roadmap topic:Inline Functions Application, Macro Pitfalls Avoidance
How do you share a global variable between two .c files?
Define it once in one .c file, declare it
externin a header with include guards, and include that header wherever it is used.Roadmap topic:Multi-File Programs and Header Files, Extern Storage Class
What does a function pointer let you do in firmware?
Register callbacks for drivers and events, build state machines and command tables, and swap implementations without changing the caller.
Roadmap topic:Function Pointers Declaration, Callbacks and Event Handlers
strings and parsing
3 questions
Parse
+CSQ: 18,99from a modem into two integers.sscanf(line, "+CSQ: %d,%d", &rssi, &ber) == 2. Always check the return value: it is the number of fields matched.Roadmap topic:Parsing Strings with sscanf, AT Commands for Modems
Why prefer snprintf over sprintf?
snprintf never writes past the buffer size you give it and returns the length it needed, so you can detect truncation.
Roadmap topic:Formatting Strings with snprintf, Buffer Overflow and Stack Protection
How do you validate an NMEA sentence from a GPS?
XOR every character between
$and*, and compare the result with the two hex digits after the asterisk.Roadmap topic:Parsing NMEA GPS Sentences, CRC and Checksums
debugging
3 questions
The device hard-faults. How do you find the cause?
In the fault handler, read the stacked PC and LR and the fault status registers, then map the address to source with the map file or debugger.
Roadmap topic:Fault Handlers Implementation, Exceptions and Fault Registers
How do you debug a timing problem with no debugger attached?
Toggle a spare GPIO around the code and measure it on a logic analyser or scope.
Roadmap topic:Toggle Pin Diagnostics, Logic Analyzer
What is a watchdog, and how do you use it well?
A timer that resets the chip if it is not fed in time. Feed it only when every critical task has shown progress, not from a timer interrupt.
Roadmap topic:Watchdog Timer Application
Download the checklist
Take the roadmap with you. The checklist is a Markdown task list with all 248 topics, for Obsidian, Notion, GitHub or any editor: tick topics as you learn them. The spreadsheet adds every video and article link, each topic's phase and a blank Done column.
Agentic coding in Embedded C
AI coding agents such as Claude Code, Codex, Cursor and GitHub Copilot now write, build and review code on their own. In firmware they are useful and risky in equal measure: the code compiles on a laptop, but it runs on a chip with real pins, real timing and settings that can lock it for good.
- Where agents help: drivers written from a datasheet section you give them, host-side unit tests, parsers and state machines, code review against a checklist, build scripts, and documentation.
- Where they fail: register addresses, bit positions and timing written from memory, interrupt priorities that break the RTOS, and claims that code works on hardware it never ran on.
- How to work with them: give them the datasheet and the errata, keep yourself in charge of flashing and erasing, build with warnings and static analysis on every change, and measure on the bench before you trust a result.
The file below puts those rules in one place for any agent. It holds the general rules every firmware project needs (hardware safety, C rules, interrupts and RTOS, resources, honest reporting), and leaves project choices such as the MCU, toolchain, RTOS, coding standard and Git conventions marked ASK: on its first run the agent asks you and writes your answers into the file. It also sets out workflows for a firmware task, for Git (branches, commits, pushes, pull requests, merges and releases) and for documentation.
Save it as AGENTS.md in your repository root for Codex, Cursor, Copilot and most other agents. For Claude Code, save it as CLAUDE.md, or keep AGENTS.md and add a CLAUDE.md with the line @AGENTS.md; it also works as a Claude skill in .claude/skills/embedded-firmware/SKILL.md.
General resources
Sites, courses and channels worth following beyond any one topic.
- Awesome Embedded (curated list)
- Memfault Interrupt blog
- Embedded Artistry
- Embedded.com
- Embedded.fm podcast
- Quantum Leaps: Modern Embedded Systems Programming course
- Valvano: Embedded Systems (UT Austin)
- Bare-metal programming guide (cpq)
- cppreference: C reference
- YouTube: Jacob Sorber
- YouTube: Phil's Lab
- YouTube: Low Byte Productions
- YouTube: Controllers Tech
- YouTube: Digi-Key (Intro to RTOS series by Shawn Hymel)
- YouTube: Quantum Leaps (Miro Samek)