commit | e2016763a8a01350b968f730396cd732d76b09d0 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Thu Nov 14 13:49:52 2019 -0800 |
committer | Alexei Frolov <frolv@google.com> | Thu Nov 14 14:29:28 2019 -0800 |
tree | 739d6a5bab7042958b67301742322126097ea5ed | |
parent | 09517ed9b86fae1192dcc126ef295748d2eeed48 [diff] |
Add pw_bloat module This change adds a size reporting module named pw_bloat. The module uses Bloaty McBloatface to generate size report cards for binaries. It provides a GN template which defines an action to perform a size diff on a group of binary targets. Example output: simple_bloat ──────────── ┌────────────────┬──────────────┬────────┬───────┬───────┐ │ Label │ Segment │ Before │ Delta │ After │ ├════════════════┼══════════════┼════════┼═══════┼═══════┤ │ Add a loop │ EXAMPLE CODE │ 429 │ +32 │ 461 │ │ │ EXAMPLE RAM │ 576 │ +8 │ 584 │ ├────────────────┼──────────────┼────────┼───────┼───────┤ │ Add a function │ EXAMPLE CODE │ 429 │ +16 │ 445 │ │ │ EXAMPLE RAM │ 576 │ +8 │ 584 │ └────────────────┴──────────────┴────────┴───────┴───────┘ Change-Id: I14b3d383ec450bc6d017bf5d0111e266b0a3c368
Pigweed is a collection of embedded-focused libraries, which we call "modules". These modules are designed for small-footprint MMU-less microcontrollers like the ST Micro STM32L452 or the Nordic NRF82832. The modules are designed to facilitate easy integration into existing codebases.
Pigweed is in the early stages of development.