stm32-development-workflow

Community

Build and flash STM32 firmware from CLI

AuthorEricSun787
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Many embedded developers need a reliable, IDE-free way to build, configure, and flash STM32 firmware from the command line; this Skill consolidates toolchain setup, HAL configuration, build automation, and ST-Link flashing procedures into guided steps and templates.

Core Features & Use Cases

  • Toolchain & Environment Setup: step-by-step guidance for installing STM32CubeCLT, arm-none-eabi GCC, and STM32CubeProgrammer/ST-Link drivers.
  • Build Automation & Scripts: ready-to-use build.sh template, recommended compiler and linker flags, and guidance on organizing HAL and CMSIS sources.
  • Flashing & Troubleshooting: CLI examples for STM32_Programmer_CLI and ST-Link, ST-Link firmware upgrade steps, and common compilation/linker error resolutions.
  • Use Case: Initialize an STM32F4 project, configure hal_conf.h, compile with the GCC toolchain, and flash the firmware over SWD without using an IDE.

Quick Start

Create a new STM32 project, configure hal_conf.h for your MCU, run the included build.sh template to produce the firmware, and flash the resulting binary using STM32_Programmer_CLI with SWD and verification enabled.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: stm32-development-workflow
Download link: https://github.com/EricSun787/stm32-development-workflow/archive/main.zip#stm32-development-workflow

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.