项目实践
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.
目录
技术栈
运行与交付
- 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
JSON
{
"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.
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.