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.
- Install from the editor. In VS Code Extensions, search
fwmemguard.fw-mem-guardand install the pre-release. Open a folder you control and trust. Marketplace listing · Open VSX listing. - Optional: check the bundled demo. Run
FW Mem Guard: Run Demofrom the Command Palette. BUDGET_EXCEEDED is intentional: Flash +51,200 B and RAM +27,136 B exceed the demo growth limits. - 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.
- 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. - Compare and save. Review the setup and choose Validate and Save; choose a new
.fwmg.jsonfilename. 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. - Use it again. Complete a real change and successful rebuild, then run
Compare BuildsorRepeat Last Comparison. The current files are read again; keep the baseline fixed. UseOpen Projectto 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.
Compare Flash/RAM between GNU Arm builds · Set and test firmware memory budgets
Host computer and firmware target are separate
| 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.
Validated example, not a platform-wide promise
| Combination | Evidence | Boundary |
|---|---|---|
| MicroPython v1.24.1, commit ecfdd5d6f9be971852003c2049600dc7b3e2a838; NUCLEO_F411RE / Cortex-M4; GNU Arm 13.2.1, GNU binutils 2.42 reconstruction recipe | Pinned 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 ld | Next validation candidate | Pending a recorded version, board, configuration, original pair and independent check. |
| Zephyr v3.7.0, qemu_cortex_m3, gnuarmemb | Independent section totals and controlled +256 B RAM change | Only the named configuration; no Nordic SDK or other-board certification. |