--- name: REPLACE-with-skill-name description: >- Firmware development for the () — its , , , and the + setup around them. Use when working on this board or any : project setup, , clock configuration, pin mapping, peripheral bring-up, , flashing, or debugging why something on the board does not work. --- # () - `reference/board-hardware.md` — - `reference/recipes.md` — - `template/` — a complete working project that builds and flashes, plus a scaffolding script. ## Orientation | | | |---|---| | MCU | | | Clocks | | | Display | | | LED / button | | | Storage | | | USB | | | Debug | | ## Rules that prevent the expensive mistakes <10–15 numbered rules from your bring-up log. Each is imperative and carries its consequence. Template for one entry:> 1. **``** — . Without it, . ## When the task is ## Starting a new project Do not hand-assemble one. `template/` is a verified-working project — scaffold from it: Run from the directory containing this `SKILL.md`; use an absolute path for the new project. ```sh ./template/variants/new-project.sh [--full|--minimal] cd && ``` - `--full` (default) — . . - `--minimal` — . . Use it to prove the toolchain and the flashing route before adding anything. When the user already has a project, prefer bringing it in line with the template's `` over rewriting their code. ## Flashing ## Reporting State honestly what was verified on hardware versus derived from the datasheet.