753 B
753 B
description, agent
| description | agent |
|---|---|
| Build the STM32F4-Base Keil MDK project. Use ONLY when the user asks to build, compile, or verify the project. | build |
Run the Keil MDK-ARM build by executing the build script with the bash tool. The repo root is the working directory; use the repo-relative path (the old absolute path D:\Code\DTU 程序\... is stale):
& "MDK-ARM\build.bat"
Then read the tail of MDK-ARM/build_log.txt and report the result.
Exit code interpretation (per AGENTS.md):
- 0 = success (0 errors, 0 warnings) — PASS
- 1 = warnings only — FAIL, must fix
- 2+ = compile errors — FAIL, must fix
If the build fails, read MDK-ARM/build_log.txt, fix the reported errors/warnings, and rerun @build until it returns 0.