1. Conduid
  2. IoT
  3. STM32 AutoDebug Universal Kit
MCP server · IoT

STM32 AutoDebug Universal Kit

让 AI 自己编译、烧录、上板验证 STM32 固件,崩溃能定位到源码行 | Closed-loop STM32 development for AI coding agents

40Fair

Scored 2 hours ago · breakdown

About STM32 AutoDebug Universal Kit

STM32 AutoDebug Universal Kit is an MCP server published by TaoCosmo-Dev in the IoT category: 让 AI 自己编译、烧录、上板验证 STM32 固件,崩溃能定位到源码行 | Closed-loop STM32 development for AI coding agents. No package is published for it, so it installs from a source checkout.

The repository has 69 stars and 10 forks, is licensed MIT, and its last commit was on 30 Sep 2026. The latest release is v2.4.5 (30 Sep 2026): 纯文档版本,代码无改动。 参考 OpenAI《Rethinking skills and prompts for GPT-6 Astra》,对给代理看的两份文件做了最小化修改。文章的核心观点是:为了推动旧模型而写的强硬指令,会让能力更强的模型过度执行——在用户其实希望它继续的地方停下来。 改动 | 文章建议 | 之前 | 现在 | |-… It follows v2.4.4 (30 Sep 2026), and the 5 most recent releases go back to v2.4.2 (27 Sep 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include cortex-m, embedded, firmware, hardfault, keil and stm32.

Install

From source
git clone https://github.com/TaoCosmo-Dev/STM32_AutoDebug_Universal_Kit

Security checks

Static checks derived from the repository a month ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.9K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 18 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

Releases

v2.4.5v2.4.5 — AGENTS.md / SKILL.md 精简:只写工具用法与事实,不再规定做法 · 30 Sep 2026纯文档版本,代码无改动。 参考 OpenAI《Rethinking skills and prompts for GPT-6 Astra》,对给代理看的两份文件做了最小化修改。文章的核心观点是:为了推动旧模型而写的强硬指令,会让能力更强的模型过度执行——在用户其实希望它继续的地方停下来。 改动 | 文章建议 | 之前 | 现在 | |---|---|---| | 技能描述要短、触发要窄 | 列了 8 种触发情况,包括「改动任何 STM32 源码」 |…
v2.4.4v2.4.4 — 不再把环境问题当成代码问题;新增时基自检与 HAL 一键启用 · 30 Sep 2026本版的问题全部来自第一份真实硬件上的使用报告(STM32F103C8T6 + 板载 ST-Link V2-1,Keil AC5 5.06u3)。报告里的问题大多有一个共同点:环境出了问题(没接线、没装包),套件却把它报成了固件问题,于是 AI 去改了本来正确的代码。 不再误导 AI 改正确的代码 | 问题 | 以前 | 现在 | |---|---|---| | 源码一行没改,重跑后失败相同 | 判为「卡住了,上次修改没生效,请换思路」(退出码 5) | 标记…
template-f103c8-hal-v1.1STM32F103C8 HAL 模板工程 v1.1 · 30 Sep 2026v1.0 的后续版本,配合套件 v2.4.4 使用。 相比 v1.0 的变化 | 变化 | 说明 | |---|---| | 带全部 HAL 驱动 | `Drivers/STM32F1xx_HAL_Driver` 包含 FW_F1 V1.8.7 的全部 61 个驱动源文件,但工程只编译用到的 12 个,编译时间不变 | | 配合 `--enable-hal` | 要用 ADC、I2C、TIM 等新外设时,`run_autodebug.py --enable-hal adc…
v2.4.3v2.4.3 — CubeMX 工程的增量编译修复,新增 HAL 模板 · 27 Sep 2026修复:CubeMX 生成的工程每次仍全量重编 v2.4.1 加入了编译器记录同步(`<pCCUsed>`),用来避免 Keil 批处理编译时每次都重编所有文件。但 STM32CubeMX 生成的工程里既没有 `<pCCUsed>` 也没有 `<uAC6>`,而同步逻辑只会把记录插在 `<uAC6>` 前面,于是在 CubeMX 工程上完全没有生效。偏偏这正是 HAL 用户最常见的起点。 现在找不到 `<uAC6>` 时,会改为插在 `<ToolsetName>`…
v2.4.2v2.4.2 — 烧录前检查固件契约,缺令牌时不再白等 15 秒 · 27 Sep 2026变化 以前的固件契约检查(有没有打印通过令牌、有没有调用 `cm_backtrace_init()`、有没有串口输出函数)只在超时之后才运行。固件忘了打印通过令牌时,每次都要先烧录,再干等满 15 秒,报告才说出原因。 现在编译通过后、烧录之前就检查一次,结果写在日志开头: | 情况 | 以前 | 现在 | |---|---|---| | 源码里找不到通过令牌 | 烧录 → 等满 15 秒 → 超时报告 | 烧录 → 只等 3 秒(用来抓崩溃)→ 超时报告,并注明原因 |…

README

The repository's README runs to about 1.9K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About STM32 AutoDebug Universal Kit

How do I install STM32 AutoDebug Universal Kit?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is STM32 AutoDebug Universal Kit safe to use with an AI agent?

Its trust score is 40 out of 100 (fair). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. It has no ConduID identity yet, so agent calls to it are not receipted.

Is STM32 AutoDebug Universal Kit still maintained?

Yes — the latest release is v2.4.5 (30 Sep 2026), and the last commit was 2 months ago. The repository has 69 stars.

What license is STM32 AutoDebug Universal Kit released under?

The repository declares the MIT license. That applies to the latest release, v2.4.5, as well.