Move pw_bloat infinite loop into BloatThisBinary

To avoid bloat binaries from needing an infinite loop at the end of the
main function, put an infinite loop at the start of BloatThisBinary.
Now, bloat binaries based on the standard pw_bloat base only have to
call BloatThisBinary in their main function.

Change-Id: I165bb76a3d7a85fb1a10b5f55a0538da7d920f82
2 files changed
tree: 0bc2b3558495f74a9ac8d5cb9b7ef6d4135b469c
  1. docs/
  2. pw_bloat/
  3. pw_build/
  4. pw_docgen/
  5. pw_preprocessor/
  6. pw_span/
  7. pw_status/
  8. pw_string/
  9. pw_toolchain/
  10. pw_unit_test/
  11. targets/
  12. .clang-format
  13. .gitignore
  14. .gn
  15. AUTHORS
  16. BUILD
  17. BUILD.gn
  18. BUILDCONFIG.gn
  19. CONTRIBUTING.md
  20. LICENSE
  21. modules.gni
  22. presubmit.py
  23. pw_vars_default.gni
  24. README.md
  25. WORKSPACE
README.md

Pigweed embedded oriented software libraries

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.