Skip to content

Commit 97f814a

Browse files
hathachCopilot
andauthored
Update AGENTS.md
Co-authored-by: Copilot <[email protected]>
1 parent 2f90d7b commit 97f814a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

AGENTS.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
## Claude Agent Notes (`CLAUDE.md`)
3131
- Default to CMake+Ninja for builds, but align with Make workflows when users rely on legacy scripts; provide DEBUG/LOG/LOGGER knobs consistently.
3232
- Highlight dependency helpers (`tools/get_deps.py rp2040`) and reference core locations: `src/`, `hw/`, `examples/`, `test/`.
33-
- Enforce code quality: clang-format on touched files, TU_ASSERT for fallible calls, header comments retaining MIT notice, and descriptive comments for non-trivial code paths.
33+
- Run `clang-format` on all touched files to ensure consistent formatting.
34+
- Use `TU_ASSERT` for all fallible calls to enforce runtime checks.
35+
- Ensure header comments retain the MIT license notice.
36+
- Add descriptive comments for non-trivial code paths to aid maintainability.
3437
- Release flow primer: bump `tools/make_release.py` version, run the script (updates `src/tusb_option.h`, `repository.yml`, `library.json`), refresh `docs/info/changelog.rst`, then tag.
3538
- Testing reminders: Ceedling full or targeted runs, specify board/OS context, and ensure logging of manual hardware outcomes when available.

0 commit comments

Comments
 (0)