sk150c-kit
Rust firmware project for controlling an adjustable power supply module (STM32G431CBU6), with developer guides (CN/EN), models, and scripts. Evidence: README.md, Cargo.toml, DEVELOPER_GUIDE.md.
- Embedded Rust
- STM32 firmware
- USB PD
- Async embedded
目录
技术栈
运行与交付
- CI 工作流
- ci.yml
- release.yml
- 能力标记
- cargo_toml
- github_actions
配置与质量
- 配置文件
- .gitignore
- .markdownlint-cli2.yaml
- Cargo.toml
- lefthook.yml
- rust-toolchain.toml
- rustfmt.toml
其他信息
- Cargo
- 开发依赖
- critical-section
- tokio
- Deps main
- cortex-m
- cortex-m-rt
- defmt
- defmt-rtt
{
"cargo": {
"deps_dev": [
"critical-section",
"tokio"
],
"deps_main": [
"cortex-m",
"cortex-m-rt",
"defmt",
"defmt-rtt",
"embassy-embedded-hal",
"embassy-executor",
"embassy-futures",
"embassy-stm32",
"embassy-sync",
"embassy-time",
"embassy-usb",
"embedded-alloc",
"embedded-hal",
"embedded-hal-02",
"embedded-hal-async",
"embedded-hal-bus",
"embedded-io-async",
"panic-probe",
"portable-atomic",
"ryu"
]
},
"ci_workflows": [
"ci.yml",
"release.yml"
],
"configs_root": [
".gitignore",
".markdownlint-cli2.yaml",
"Cargo.toml",
"lefthook.yml",
"rust-toolchain.toml",
"rustfmt.toml"
],
"markers_present": [
"cargo_toml",
"github_actions"
]
}Basics
Rust firmware project for controlling an adjustable power supply module (STM32G431CBU6), with developer guides (CN/EN), models, and scripts. Evidence: README.md, Cargo.toml, DEVELOPER_GUIDE.md.
Taxonomy
- Tags: Embedded Rust, STM32 firmware, USB PD, Async embedded
- Why / evidence:
Cargo.toml(description/keywords),sk150c-kit.ioc,DEVELOPER_GUIDE.zh.md.
Architecture
- Single embedded firmware crate under repo root, with models and test harness folders. Evidence:
src/,models/,test_button_standalone/. - Build script and assets indicate codegen/resources integration typical for embedded firmware. Evidence:
build.rs,assets/.
Conventions
- Pinned Rust toolchain + formatting + hooks. Evidence:
rust-toolchain.toml,rustfmt.toml,lefthook.yml. - Documentation is explicitly bilingual for onboarding. Evidence:
README.zh.md,DEVELOPER_GUIDE.zh.md.
Taste notes
Bilingual developer docs plus an .ioc file is a very practical combo for embedded firmware teams collaborating across tooling ecosystems.
相关内容
Async embedded
主题Async embedded 表示嵌入式 Rust 代码把 async 当成正式 API surface 或正式 runtime contract 来维护,而不是只在某个样例里顺手用了异步。
Embedded Rust
主题Embedded Rust 表示 Rust 代码运行在 MCU、driver、firmware 或硬件 bring-up 环境中,通常涉及 no_std、Embassy、esp-hal、STM32/ESP32、probe-rs、espflash 或 embedded-hal。它不是所有 Rust 项目的泛化标签。
STM32 firmware
主题STM32 firmware 表示项目把 STM32 系 MCU 作为正式固件目标来维护,并围绕工具链、.ioc 硬件配置、刷写后端、板级职责和与其他 MCU/外设的分工建立了稳定契约。这里的主语不是“用了 STM32”,而是 STM32 固件在系统中的角色。
USB PD
主题USB PD 表示仓库围绕 USB Power Delivery 协议或 PD-aware 固件/驱动维护代码,并把协商档位、controller 行为、sink/source 语义、PPS/AVS 等供电协商边界当成长期知识。这里的主语是供电协商协议,不是 generic embedded I/O。