
Building Firmware with CMake: Embedded Builds, Tests, and Release Artifacts
Artifacts: Building Firmware with CMake is a practical guide to making embedded firmware builds more repeatable and automating tests and release outputs. It covers pinned toolchains, dependency management, multi-target builds, code generation, host testing, and simulator-based integration testing, with STM32 and Renode examples.
At a glance
- Explains core CMake build logic for embedded firmware projects.
- Covers pinned toolchains and external dependencies for more repeatable builds across machines and CI.
- Includes multi-target builds, code generation, and configuration variants.
- Describes host unit tests and simulator-based integration tests using CTest and Renode.
- Examples include bare-metal STM32 firmware and multiple MCU targets.
Reference price: $39.99
Price checked: Nov 14, 2026
View offerAhead of Black FridayExplore the selectionPros and cons
Pros
- Combines build-system setup with testing and automation rather than focusing only on compilation.
- Its STM32, Renode, CTest, and multi-MCU examples give embedded developers concrete workflow topics to follow.
- The described material covers reusable components and third-party dependency management.
Technical specifications
9 specifications| Publisher | Packt Publishing - ebooks Account |
|---|---|
| Publication date | February 9, 2027 |
| Edition | 1st |
| Language | English |
| Print length | 212 pages |
| ISBN-10 | 1807307433 |
| ISBN-13 | 978-1807307431 |
| Weight listed | 3.84 ounces |
|---|---|
| Dimensions | 0.48 x 7.5 x 9.25 inches |
What to know before buying
- The listing says the title will be released on February 9, 2027. It also describes a DRM-free PDF and Packt Reader access, with email sign-up and proof of purchase required. Confirm the selected format and access terms before purchase.
Who is it for?
A good fit for
- Embedded firmware engineers working with C/C++ on microcontrollers who want to move from ad-hoc Makefiles or vendor IDE projects to CMake.
- Readers managing cross-compilation, multiple boards, external dependencies, automated tests, or CI builds.
- Buyers comfortable with command-line tools and toolchains, with hands-on MCU firmware experience recommended.
Less suited to
- Readers seeking a beginner introduction to microcontroller firmware without prior hands-on experience.
- Developers looking for a general-purpose CMake guide unrelated to embedded firmware.
Frequently asked questions
What does the book cover?
The listing describes CMake build logic, pinned toolchains, dependency management, code generation, multi-target firmware builds, and automated tests.
Does it include STM32 examples?
Yes. The listed learning topics include bare-metal STM32 cross-compilation, and the contents mention running an STM32 build in the Renode simulator.
What experience does the listing recommend?
It recommends hands-on MCU firmware experience and comfort with the command line and toolchains.
Is a digital version included?
The listing claims a DRM-free PDF and access to Packt's Reader, with email sign-up and proof of purchase required.
Alternative options

Yocto Cookbook: Practical recipes for building and maintaining production-ready embedded Linux systems
$29.99

Mastering Graphics Programming With Vulkan: Develop a modern rendering engine featuring GPU-driven rendering, advanced lighting, and ray tracing
$29.99

Building Claude Skills: Turn repeatable work into reusable Claude Skills
$23.74

Claude Visual Bible: A step-by-step, screenshot-by-screenshot guide to writing, researching, analyzing, and automating with Claude
$29.74

Hands-On AI Development with Python: Build and Deploy Real-World AI, Machine Learning, Deep Learning, and NLP Applications
$34.99

ChatGPT Visual Bible: A step-by-step, screenshot-by-screenshot guide to writing, researching, analyzing, and automating with ChatGPT
$29.74

Blender for Beginners Part 1: A reference guide to 3D modeling, shading, and animating workflows with Blender 4.5 LTS
$35.99

Claude Code Visual Bible: A step-by-step guide to creating and publishing websites and mobile apps with AI
$26.99

Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude Code
$32.78

The Art of Writing Efficient Programs: Master high-performance C++ and modern concurrency by understanding how code runs on real hardware
$44.99

The Claude Certified Architect Study Guide: Prepare for CCAR-F and CCAR-P with production scenarios and architectural judgement
$38.24
Products with discounts that might interest you
Offer details
- The listing states a release date of February 9, 2027.
- The claimed DRM-free PDF and Packt Reader access require email sign-up and proof of purchase.























