Skip to content

本页便签全部 ↗

本页还没有便签

划选正文里的一段文字,点弹出的「✎ 存为便签」,回头在这里一键跳回原处。

Getting Started ​

Before you install a single thing, let's answer one question first: what right does C++ have to be on a microcontroller? The opening piece takes the two old impressions — "C++ is bloated" and "C++ is just OOP" — and puts them on the scale with four firmwares that differ only in how they blink an LED: binary size, instructions, and when errors surface, all three dimensions are measured numbers, and you can reproduce every one of them. The second piece then answers "where did these bad impressions come from": from C with Classes in 1979 to the 1990s Embedded C++ feature-cutting affair, every historical claim carries a source.

On the environment side, the road starts at the Renode observatory, runs through the anatomy of the toolchain, a first firmware of your own, debugging, and flashing on real hardware, and ends with clangd making sense of this cross-compiled codebase.

The Opening ​

v0.13.0-17-gf6158c6 · f6158c6 · 2026-11-20