Your first comparison, then your next build

Evaluation pre-release 0.3.7 · No automatic upload · Use only firmware you are allowed to process.

Already have two successful builds? Install the extension, then go straight to step 4: compare your own project. The demo and supplied real-firmware example in steps 2–3 are optional; you do not need to type their budgets first.

  1. Install from the editor. In VS Code Extensions, search fwmemguard.fw-mem-guard and install the pre-release. Open a folder you control and trust. Marketplace listing · Open VSX listing.
  2. Optional: check the bundled demo. Run FW Mem Guard: Run Demo from the Command Palette. BUDGET_EXCEEDED is intentional: Flash +51,200 B and RAM +27,136 B exceed the demo growth limits.
  3. Optional: try the verified real-firmware pair. Follow MicroPython v1.24.1 / NUCLEO_F411RE. Keep the four original firmware files unchanged. Select FLASH (not FLASH_TEXT) and RAM. Use Flash total 524288, growth 8240; RAM total 114688, growth 4096 bytes. Expect PASS. Edit RAM growth to 4095: expect exactly one violation, actual=4096 and limit=4095. Restore 4096: expect PASS.
  4. Configure your two completed builds. Run Set Up / Update Project. Choose baseline MAP + matching ELF, then current MAP + matching ELF. Preserve a fixed baseline at separate paths. Confirm Flash/RAM coverage and enter all four budgets. Zero growth means no positive growth is allowed.
  5. Compare and save. Review the setup and choose Validate and Save; choose a new .fwmg.json filename. Setup validates, compares and saves the project in one workflow. Check totals and all four checks in Output. A budget violation is a valid comparison, not an input error.
  6. Use it again. Complete a real change and successful rebuild, then run Compare Builds or Repeat Last Comparison. The current files are read again; keep the baseline fixed. Use Open Project to resume later.

Share a result or blocker — privately or publicly

Email: fwmemguard.support@gmail.com. No public account or public project disclosure is required for email. Ordinary email is not a secure channel for restricted material: follow your employer's information-sharing policy and send a sanitized description only.

Tell us your host OS and toolchain, the last step that worked, the first blocker and whether a second comparison helped. Export Report for Sharing opens reduced JSON for your review and optional Save As. It excludes paths, section names and symbols. Review even reduced reports before sharing; do not send firmware, source code, credentials or confidential project details.

Troubleshooting and contact · Full English guide

Compare Flash/RAM between GNU Arm builds · Set and test firmware memory budgets

Host computer and firmware target are separate

RequirementCurrent scope
VS Code hostWindows x64; macOS Apple Silicon or Intel, declared macOS 15+; VS Code 1.85+. Guided WSL input access runs on the Windows host.
Firmware artifactsA 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 layoutOne 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 layoutsSections spanning selected banks; overlays or overlapping allocated ranges; dynamic linking, TLS, relocatable objects, unsupported/compressed allocated sections, and missing ELF section/program tables.
Other exclusionsLinux 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.

Validated example, not a platform-wide promise

CombinationEvidenceBoundary
MicroPython v1.24.1, commit ecfdd5d6f9be971852003c2049600dc7b3e2a838; NUCLEO_F411RE / Cortex-M4; GNU Arm 13.2.1, GNU binutils 2.42 reconstruction recipePinned rebuild recipe; 18 allocated section address/size records; Flash +8240 B, RAM +4096 B; boundary budget test.This board and supplied configuration. Section-equivalent reconstruction, not byte-identical ELF or whole-family certification.
STM32CubeIDE + GNU ldNext validation candidatePending a recorded version, board, configuration, original pair and independent check.
Zephyr v3.7.0, qemu_cortex_m3, gnuarmembIndependent section totals and controlled +256 B RAM changeOnly the named configuration; no Nordic SDK or other-board certification.