项目实践
power-desk
Rust-based project for an ESP32-C3 power management device, with a web-based configuration tool and verification docs. Evidence: Cargo.toml, README_WIFI_CONFIG.md, web-config-tool/.
- ESP32 firmware
目录
技术栈
运行与交付
- CI 工作流
- build-firmware.yml
- rust_ci.yml
- 能力标记
- cargo_toml
- github_actions
- package_json
依赖与工具
- package.json
- 开发依赖
- @commitlint/cli
- markdownlint-cli2
- 项目脚本
- commitlint
- lint:md
- setup
配置与质量
- 配置文件
- .gitignore
- .markdownlint-cli2.yaml
- .markdownlint.json
- Cargo.toml
- lefthook.yml
- package.json
- rust-toolchain.toml
其他信息
- Cargo
- Deps main
- embassy-embedded-hal
- embassy-executor
- embassy-futures
- embassy-net
JSON
{
"cargo": {
"deps_main": [
"embassy-embedded-hal",
"embassy-executor",
"embassy-futures",
"embassy-net",
"embassy-sync",
"embassy-time",
"embedded-hal-async",
"embedded-hal-bus",
"embedded-io-async",
"embedded-svc",
"esp-alloc",
"esp-backtrace",
"esp-bootloader-esp-idf",
"esp-hal",
"esp-hal-embassy",
"esp-println",
"esp-wifi",
"gx21m15",
"heapless",
"ina226"
]
},
"ci_workflows": [
"build-firmware.yml",
"rust_ci.yml"
],
"configs_root": [
".gitignore",
".markdownlint-cli2.yaml",
".markdownlint.json",
"Cargo.toml",
"lefthook.yml",
"package.json",
"rust-toolchain.toml"
],
"markers_present": [
"cargo_toml",
"github_actions",
"package_json"
],
"package_json": {
"deps_dev": [
"@commitlint/cli",
"markdownlint-cli2"
],
"scripts": [
"commitlint",
"lint:md",
"setup"
]
}
}Basics
Rust-based project for an ESP32-C3 power management device, with a web-based configuration tool and verification docs. Evidence: Cargo.toml, README_WIFI_CONFIG.md, web-config-tool/.
Taxonomy
- Tags: ESP32 firmware
Architecture
- Core firmware/tooling implemented in Rust, with helper tools under
tools/and a dedicated web config app. Evidence:src/,tools/,web-config-tool/. - Documentation includes Wi-Fi setup and verification artifacts. Evidence:
README_WIFI_CONFIG.md,VERIFICATION_REPORT.md.
Conventions
- Toolchain is pinned and repo hooks are configured. Evidence:
rust-toolchain.toml,lefthook.yml,commitlint.config.cjs. - Documentation lives under
docs/in addition to standalone guides. Evidence:docs/.
Taste notes
I like the pairing of “firmware + configuration UI + verification report” in a single repo — it makes device bring-up and field validation much more repeatable.