# How TinyUSB uses MemBrowse to keep track of its memory footprint

DevFeed: [How TinyUSB uses MemBrowse to keep track of its memory footprint](<https://devfeed.tech/articles/how-tinyusb-uses-membrowse-to-keep-track-of-its-memory-footprint-61880.md>)

Original publisher: [Read original article](<https://blog.adafruit.com/2026/09/29/how-tinyusb-uses-membrowse-to-keep-track-of-its-memory-footprint/>)

Author: Anne Barela

Published: 2026-09-29T14:52:02Z

Content type: article

Language: en

Sources: [Adafruit Industries](<https://devfeed.tech/sources/adafruit-industries-makers-hackers-artists-designers-and-engineers.md>)

Topics: [Microcontroller](<https://devfeed.tech/topics/microcontroller.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [ci](<https://devfeed.tech/tags/ci.md>), [dashboard](<https://devfeed.tech/tags/dashboard.md>), [elf](<https://devfeed.tech/tags/elf.md>), [flash](<https://devfeed.tech/tags/flash.md>), [function](<https://devfeed.tech/tags/function.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [growth](<https://devfeed.tech/tags/growth.md>), [linker](<https://devfeed.tech/tags/linker.md>), [map](<https://devfeed.tech/tags/map.md>), [membrowse](<https://devfeed.tech/tags/membrowse.md>), [memory](<https://devfeed.tech/tags/memory.md>), [microcontrollers](<https://devfeed.tech/tags/microcontrollers.md>), [note](<https://devfeed.tech/tags/note.md>), [playground](<https://devfeed.tech/tags/playground.md>), [pr](<https://devfeed.tech/tags/pr.md>), [pull-request](<https://devfeed.tech/tags/pull-request.md>), [ram](<https://devfeed.tech/tags/ram.md>), [software](<https://devfeed.tech/tags/software.md>), [tinyusb](<https://devfeed.tech/tags/tinyusb.md>), [tools](<https://devfeed.tech/tags/tools.md>)

## AI overview

TinyUSB uses MemBrowse in CI to flag memory changes across its many board targets before pull requests merge. After builds, MemBrowse reads the ELF and linker script, optionally the map file, and posts per-target flash and RAM changes; its dashboard tracks history by region, section, and symbol. Across more than 2,100 builds, a report on PR #3574 for the nRF54LM20 DK exposed unintended-looking growth on Adafruit CLUE: eight of the ten largest changes added about 1.4 KB of flash and 136 bytes of RAM. The diff traced this to shared Nordic code adding UART receive support, 14 symbols, and 64-byte receive and transmit buffers. The excerpt says MemBrowse is free for public repositories.

## Source excerpt

On small microcontrollers, the USB stack shares limited flash and RAM with an application, so every byte TinyUSB uses is a byte the program cannot use. Keeping the memory footprint in check across hundreds of boards is tough: a change to a shared driver might add 80 bytes on one port and 400 on another, [...]