README conventions
Every board and package must have aREADME.md in its root directory. The
README must identify the artifact, explain its purpose, and give a technically
competent reader enough information to build or use it.
Keep the document current with the source. Remove empty sections, placeholders,
historical plans, and implementation details that do not affect the reader.
Board README
A board README serves engineers who build, manufacture, flash, or test the board. Include its purpose, main devices, key interfaces, operating limits, and the exact build commands. State any required tools or external assets before the procedure. Use this structure:Package README
A package README serves engineers who import a reusable component or module. Identify every public symbol and provide one complete import or instantiation example. Use this structure:Style
- Start with purpose and scope. Define a term before using it.
- Use active voice and direct instructions. Use the same term for the same concept throughout the document.
- Put identifiers, file names, commands, and pin names in backticks.
- Use numbered steps for procedures and bullets only for short collections.
- Include complete commands and examples. State prerequisites, output, side effects, and common failure conditions when relevant.
- Delete redundant prose, speculative plans, and sections with no reader-facing content.