Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>STM32 Build Analyzer (Enhanced)New to Visual Studio Code? Get it now.
STM32 Build Analyzer (Enhanced)

STM32 Build Analyzer (Enhanced)

niwciu

|
43 installs
| (0) | Free
STM32 Build Analyzer for VSCode - Fork of ATwice291/stm32-build-analyzer with additional features...
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

STM32 Build Analyzer (Enhanced) 🚀

License: MIT VS Code

Visual memory analyzer for STM32 projects – works with .map and .elf files, no matter what toolchain or build system you use.

Main UI View


❓ Why This Fork?

The original version was depandet with cmake-tool extension.
This fork removes that dependency, adds broader file handling, and enhances the UI for developers using CubeIDE, Makefiles, or custom setups.


🚀 Key Improvements in This Fork

✅ Removed CMake dependency – Works with any build system (Makefile, CubeIDE, etc.)
✅ Custom build folder support – Easily set via UI button or command
✅ Improved file discovery – More robust handling of .map and .elf files
✅ Optimized UI – Visual memory usage indicators and new interactive controls


🔍 Features

  • Memory region analysis using .map and .elf files
  • Detailed breakdown of memory sections and symbols
  • Clickable links from symbols to source files
  • Visual panel with color-coded usage (RAM, Flash)
  • ARM toolchain integration (arm-none-eabi-objdump, nm)
  • Compatible with any STM32 build system

📦 Installation

From VS Code Marketplace (Coming soon)

📥 Marketplace link placeholder

Manual Installation

Requirements

  1. Node.js installed
  2. npm installed
  3. vsce installed:
    npm install -g @vscode/vsce
    

Build and Install manual

  1. Clone the repository:

    git clone https://github.com/niwciu/stm32-build-analyzer.git
    cd stm32-build-analyzer
    
  2. Install dependencies:

    npm install
    
  3. Build the .vsix package using vsce:

    vsce package
    
  4. This will generate a file like: stm32-build-analyzer-enhanced-1.1.1.vsix

  5. Install the extension in VS Code:

    code --install-extension stm32-build-analyzer-enhanced-1.1.1.vsix
    

🛠 Usage

  • Open the Command Palette (Ctrl+Shift+P) and run:
    • STM32 Build Analyzer – opens the main view
    • STM32 Build Analyzer Refresh Paths – re-detects build output folder
  • Analyzer view updates automatically when build output files change.

📜 Changelog

See CHANGELOG.md for full version history.


🤝 Contributing

Contributions are welcome! Please fork the repo and submit a pull request:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature-name)
  3. Commit your changes (git commit -m "Add feature")
  4. Push to branch (git push origin feature-name)
  5. Open a Pull Request

If you find bugs or want to request features, feel free to open an issue.


⚖️ License & Attribution

This extension is licensed under the MIT License.
Originally created by Aleksei Perevozchikov (ATwice291)
Fork maintained by niwciu with enhancements described above.


STM32 build analyzer for memory usage, symbol tracking, and map/elf inspection – compatible with Makefiles, CubeIDE, and other toolchains.

❤️ Thank you for using this version of STM32 Build Analyzer!




myEmbeddedWayBanerWhiteSmaller


  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft