Skip to content

fidelodok/metaforge

v0.1.0Apache-2.0

Engineer hardware against a digital twin: requirements, CAD, simulation and evidence, with writes held for human approval.

generate_hal

Write a thin hardware abstraction layer for a firmware project's MCU and peripherals (GPIO, SPI, I2C, UART, ADC, PWM, timers, DMA) using the pin assignments from the real KiCad schematic, and record what was generated in the twin. Use when the user asks to generate or set up a HAL, peripheral init code or a pin map for their board, asks to wire firmware to the schematic's pins, or starts firmware for a new board.

Read SKILL.md at the source

Pinned to revision 310828c6bedb, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.