charcoal141 / Map-View
PublicInteractive treemap visualization for embedded `.map` files — see where your firmware memory and flash goes at a glance. 嵌入式 `.map` 文件的交互式 Treemap 可视化工具 — 一眼看清固件内存和flash分布。
Map View is a VS Code extension that transforms cryptic memory report files from embedded firmware builds into beautiful, interactive treemap visualizations. It supports multiple compiler toolchains (Keil MDK for ARM chips, GCC for various architectures, ESP-IDF for Espressif chips, and ArtInChip for RISC-V) and displays memory usage as color-coded blocks—blue for code, green for read-only data, orange for read-write data, and red for zero-initialized data. Users can click to explore modules in detail, search for specific functions, and configure their actual chip memory sizes to see accurate percentage usage. The tool helps embedded developers quickly understand where their limited flash and RAM is being consumed across their own code, third-party libraries, and system components.
How It Works
You're working on an embedded project like an ESP32 temperature sensor or STM32 robot controller, and you need to see where all your memory is being used.
When you compile your code, your compiler spits out a detailed memory report file that lists every function, variable, and library taking up space in your chip.
You search for 'Map View Embedded' in the VS Code marketplace and install it with one click—it takes just seconds to add to your editor.
Right-click your .map file and choose 'Open Map View'—instantly, a beautiful treemap appears showing your entire memory as colored blocks sized by how much space each piece takes.
See your memory organized by where it's stored—your code in flash, your variables in RAM, with clear totals for each.
See your memory organized by which parts of your project use it—your own code, third-party libraries, system components.
Hover over any block to see its size and address, then click to zoom in and see the individual functions and sections inside.
Type in the search box to instantly highlight a function or module across your entire visualization—no more scrolling through walls of text.
With colorful blocks, clear percentages, and easy navigation, you can finally see exactly where your firmware's memory is going and make smart decisions about optimization.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.