stm32-hal-development
- Repo stars 530
- Author repo embed-ai-tool
STM32 HAL Development
Treat this skill as the working playbook for CubeMX-based STM32 projects.
Workflow
- Read references/core-guidelines.md first.
- Keep all custom code inside
USER CODEregions unless the project has an explicit non-CubeMX extension point. - Configure peripherals in CubeMX, regenerate code, then add application or BSP logic.
- Read additional references only as needed:
- references/peripheral-driver-guide.md for sensor and bus drivers
- references/hal-quick-reference.md for API lookups
- references/troubleshooting-guide.md for failure analysis
- references/usage-examples.md for implementation patterns
- Reuse assets/bsp-template.c and assets/bsp-template.h when starting a new BSP module.
Notes
- Prioritize hardware constraints, interrupt safety, and regeneration safety over local code convenience.
- Do not modify CubeMX-generated initialization files directly when the same change belongs in the
.iocconfiguration.
- Fluxly category
- Engineering
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @LeoKemp223 · no license declared
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Plug-and-play
- External API key
- No requirement detected
- Detected OS requirements
- Unspecified
- Runtime requirements
- Unspecified
- Detected file/system behavior
-
- Read-only
- Write / modify
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. Read references/core-guidelines.md first. Keep all custom code inside USER CODE regions unless the project has an explicit non-CubeMX extension point. Configure peripherals in CubeMX, regenerate code, then add application or BSP logic.
Prioritize hardware constraints, interrupt safety, and regeneration safety over local code convenience. Do not modify CubeMX-generated initialization files directly when the same change belongs in the .ioc configuration.
# STM32 HAL Development
Treat this skill as the working playbook for CubeMX-based STM32 projects.
## Workflow
1. Read [references/core-guidelines.md](references/core-guidelines.md) first.
2. Keep all custom code inside `USER CODE` regions unless the project has an explicit non-CubeMX extension point.
3. Configure peripherals in CubeMX, regenerate code, then add application or BSP logic.
4. Read additional references only as needed:
- [references/peripheral-driver-guide.md](references/peripheral-driver-guide.md) for sensor and bus drivers
- [references/hal-quick-reference.md](references/hal-quick-reference.md) for API lookups
- [references/troubleshooting-guide.md](references/troubleshooting-guide.md) for failure analysis
- [references/usage-examples.md](references/usage-examples.md) for implementation patterns
5. Reuse [assets/bsp-template.c](assets/bsp-template.c) and [assets/bsp-template.h](assets/bsp-template.h) when starting a new BSP module.
## Notes
- Prioritize hardware constraints, interrupt safety, and regeneration safety over local code convenience.
- Do not modify CubeMX-generated initialization files directly when the same change belongs in the `.ioc` configuration. Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> Workflow → Notes
terms -> Treat this skill as the working playbook for CubeMX-based STM32 projects. · 1. Read [references/core-guidelines.md](references/core-guidelines.md) first. · - Prioritize hardware constraints, interrupt safety, and regeneration safety over local code convenience.
files/cmd -> USER CODE · .ioc · references/core-guidelines.md · references/peripheral-driver-guide.md · references/hal-quick-reference.md · references/troubleshooting-guide.md · references/usage-examples.md · assets/bsp-template.c
body sha256 -> 9033e8a35636
Decide Fit First
Design Intent
How To Use It
Boundaries And Review