[roll third_party/pigweed] pw_protobuf: Make maximum varint size configurable

This adds a configuration option to set the number of bytes reserved for
nested message size varints when encoding a protobuf. A simple mapping
of varint size -> integer type is temporarily added to support the
stack-based encoder.

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/39582

third_party/pigweed Rolled-Commits: 72b4313419452f5..f9ae189221f6860
Roller-URL: https://ci.chromium.org/b/8850745223304824176
Cq-Cl-Tag: roller-builder:pigweed-experimental-roller
Cq-Cl-Tag: roller-bid:8850745223304824176
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I27f3ffe5b00384834addbd71e21ae9df9113be33
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/39981
Reviewed-by: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
1 file changed
tree: 91d10d10d285b47ad3cfdc3032d2452cbe520f14
  1. applications/
  2. build_overrides/
  3. pw_board_led/
  4. pw_board_led_arduino/
  5. pw_board_led_host/
  6. pw_board_led_stm32cubef4/
  7. pw_board_led_stm32f429i_disc1/
  8. pw_console/
  9. pw_spin_delay/
  10. pw_spin_delay_arduino/
  11. pw_spin_delay_host/
  12. pw_spin_delay_stm32cubef4/
  13. pw_spin_delay_stm32f429i_disc1/
  14. pw_sys_io_stm32cubef4/
  15. targets/
  16. third_party/
  17. tools/
  18. .gitattributes
  19. .gitignore
  20. .gitmodules
  21. .gn
  22. activate.bat
  23. banner.txt
  24. bootstrap.bat
  25. bootstrap.sh
  26. BUILD.gn
  27. BUILDCONFIG.gn
  28. env_setup.json
  29. navbar.md
  30. PW_PLUGINS
  31. README.md
README.md

Pigweed Experimental

This repository contains experimental pigweed modules.

Repository setup

Clone this repo with --recursive to get all required submodules.

git clone --recursive https://pigweed.googlesource.com/pigweed/experimental

This will pull the Pigweed source repository into third_party/pigweed. If you already cloned but forgot to --recursive run git submodule update --init to pull all submodules.