Embedded C Arduino

Embedded C and Arduino standards for heap-free memory discipline, bounded loops and watchdogs, non-blocking millis state machines, ISR flag-and-return, fixed-width integer types, MISRA C 2012 style, a hardware abstraction layer, and host-side unit tests. Use when you say "replace this delay with a state machine", "write the ISR for this encoder", "my sketch runs out of SRAM", "unit test this firmware on the host", or "add a watchdog". Not for the PCB the firmware runs on, use `kicad`.

Lukk17 e80db9d 3 files · 16.8 KB Updated

File contents

Lukk17/agent-standards/tree/main/.agents/skills/embedded-c-arduino commit e80db9d0d0

Frequently asked questions

npx skillmds@latest add lukk17/embedded-c-arduino