commit | 8a823ceebbea91f6e6888a11dc9d87405c11017b | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Fri Nov 15 12:03:57 2019 -0800 |
committer | Wyatt Hepler <hepler@google.com> | Tue Nov 19 12:58:31 2019 -0800 |
tree | d366114a8b22b306f6ec0e8f8f71f65a27363fc2 | |
parent | 0e892b5b27ed096dbcfbc3cc889146977c1e97c8 [diff] |
Size report for pw::string::Format Add size report comparing pw::string::Format to std::snprintf. Report with arm-none-eabi-gcc at -Os: Using pw::string::Format instead of snprintf ──────────────────────────────────────────── ┌────────────────────────────┬───────────┬────────┬───────┬────────┐ │ Label │ Segment │ Before │ Delta │ After │ ├════════════════════════════┼═══════════┼════════┼═══════┼════════┤ │ One string, return size │ SEG FLASH │ 2,840 │ +80 │ 2,920 │ ├────────────────────────────┼───────────┼────────┼───────┼────────┤ │ Ten strings, handle errors │ (all) │ (same) │ 0 │ (same) │ ├────────────────────────────┼───────────┼────────┼───────┼────────┤ │ Fifty calls, same buffer │ SEG FLASH │ 3,816 │ -72 │ 3,744 │ └────────────────────────────┴───────────┴────────┴───────┴────────┘ Change-Id: Id484530320b0334cddf676a49ad79444fbbbde9b
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.