Bring two completed builds
Select the baseline Map and matching ELF, then the current pair. Guided setup checks structural agreement and shows region coverage in both builds.
VS Code extension: Windows x64 and macOS 15+ (Apple Silicon / Intel). Linux x64: separate CLI / CI only; no Linux VSIX.
Skip to contentCompare Flash and RAM between firmware builds. See the change. Check the budgets you choose.
Free pre-release · Windows x64 · Mac Apple Silicon & Intel
Actual engine results from the bundled example, intentionally over budget. This card illustrates the result; it is not a VS Code screenshot. Bars show current usage against the demo total limits.
MicroPython v1.24.1 on NUCLEO_F411RE: GNU objdump section totals match the FW Mem Guard 0.3.3 source-engine result, including a RAM-resident vector table and heap/stack reservations.
| Memory | GNU objdump delta | FW Mem Guard delta | Difference |
|---|---|---|---|
| Flash | +8,240 | +8,240 | 0 |
| RAM | +4,096 | +4,096 | 0 |
Verified against the supplied Map/ELF pair using GNU objdump 2.44 and the 0.3.3 guided-validation and engine source. This check did not rebuild or execute the firmware, or test the VS Code interface.
See the evidence and try the guided example →Designed for supported GNU Arm firmware layouts: GNU ld Map + ARM ELF32 little-endian, with one active Flash and one active RAM region.
Select the baseline Map and matching ELF, then the current pair. Guided setup checks structural agreement and shows region coverage in both builds.
Confirm your Flash/RAM regions and four budget limits. Compare allocated section bytes and see which limits passed or failed. Repeat using the saved project.
Export a reduced JSON snapshot to an unsaved editor tab. Review it before Save As. Paths, filenames, symbols and addresses are excluded; usage and limits remain visible.
A 29-second English illustration of the 0.3.4 candidate, using actual compiled-engine results from the verified MicroPython sample. PASS → RAM growth exceeds its limit by one byte → PASS. This is not a VS Code screen recording. Version 0.3.4 is available from Visual Studio Marketplace and Open VSX.
4096.FW Mem Guard: Edit Budgets, change only RAM growth to 4095, then Validate and Save.4096, limit 4095, engine exit 2.4096 to return to PASS.The illustration also previews candidate Linux/CI, multiple-bank and object/archive features. Installed VS Code acceptance remains pending. Engine and media evidence.
Already installed? Run FW Mem Guard: Open User Guide. English and Support open locally inside VS Code, even offline.
Compare Flash/RAM between GNU Arm builds · Set and test firmware memory budgets
| Requirement | Current scope |
|---|---|
| VS Code host | Windows x64; macOS Apple Silicon or Intel, declared macOS 15+; VS Code 1.85+. Guided WSL input access runs on the Windows host. |
| Firmware artifacts | A complete GNU ld MAP and matching ARM ELF32 little-endian linked executable (ET_EXEC), from each successful build. ARM, file format and supported memory placement are required together. |
| Memory layout | One or more explicitly selected non-overlapping Flash/RAM banks, with aggregate and per-bank budgets; unchanged layout between baseline and current. Multiple named regions or aliases alone do not establish multiple active banks. |
| Excluded layouts | Sections spanning selected banks; overlays or overlapping allocated ranges; dynamic linking, TLS, relocatable objects, unsupported/compressed allocated sections, and missing ELF section/program tables. |
| Other exclusions | Linux VSIX, Remote-SSH, Dev Containers, Codespaces/browser execution, IAR/Keil and other unvalidated linker formats; runtime heap/stack peaks and symbol attribution. Linux x64 CLI/CI and conservative object/archive attribution are available. |
The firmware operating system, board brand or compiler name alone does not establish compatibility. FreeRTOS, Zephyr, Pico, VxWorks and RISC-V are not covered by a blanket support claim. New combinations require their own artifact validation.
Accounting counts allocated output-section bytes. Initialized RAM also occupies Flash for its load image. Linker capacity and user budgets are separate quantities. Limits: 32 MiB per MAP, 64 MiB per ELF and 1 MiB per project JSON.
Windows x64, macOS Apple Silicon and Intel, and guided WSL input access on Windows. Mac native command-line and package checks passed on macOS 15.7.9; compatibility with macOS 13/14 and interactive VS Code installation on those systems has not yet been validated. The extension needs VS Code 1.85 or later and a trusted workspace. Guided setup supports GNU ld Map + GNU Arm ELF32 little-endian and one active Flash/RAM pair. Linux native, Remote-SSH, Dev Containers, Codespaces, IAR/Keil and multiple active memory banks are not supported.
The 0.3.3 package metadata and bundled guide use 15.0 as the declared target, matching the build-host policy. Inspection of every bundled Mach-O binary found lower deployment targets: 11.0 for Apple Silicon and 10.13 for Intel. Those headers alone do not establish whole-extension compatibility. Our native CLI/package checks ran on macOS 15.7.9; macOS 13 and 14 remain unverified.
Allocated output-section bytes, not runtime peak memory. Initialized RAM is counted in RAM and its Flash load image. Heap/stack reservations are not measurements of live heap/stack use. Object and symbol attribution are not available. Structural Map/ELF agreement does not prove common build provenance; select matching completed builds.
FW Mem Guard processes inputs on the local host and has no automatic cloud upload. In WSL mode, full selected Map/ELF files move through VS Code to the Windows host. If you choose to share an export yourself, your chosen service and recipient receive it. Read the privacy details.
The bundled example intentionally grows Flash by 51,200 bytes against a 16,384-byte growth limit, and RAM by 27,136 bytes against a 4,096-byte growth limit. Both total-usage checks pass. The resulting BUDGET_EXCEEDED is the expected demonstration, not an installation error.
Tell us the first step that blocked you or what would make the comparison more useful. The support guide explains what to include. Share only reviewed diagnostics; memory totals and limits can still be sensitive. There is no telemetry.
Start with the bundled demo; no firmware files are needed for that first run.
Open FW Mem Guard in Marketplace