commit | 1d8cc6f7cef513cd9b81f2d2ddd6a3512a3a194e | [log] [tgz] |
---|---|---|
author | Eli Lipsitz <elipsitz@google.com> | Tue Jan 03 18:44:11 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 03 18:44:11 2023 +0000 |
tree | a075fbbc20a2feffa3fc49a8d05996e002341cb1 | |
parent | 39f72204df9c95c23d1ad4ee34274a116e6aedd7 [diff] |
pw_build: Add argument parsing to pw-wrap-ninja This commit adds argument parsing to the Ninja wrapper script, to allow the user to override the UI update rate and the maximum number of Ninja actions displayed. It uses argparse.parse_known_args to separate out the options for the wrapper script itself from the rest that should simply be forwarded to Ninja. Tested: Ran pw-wrap-ninja with different values of --ui-update-rate and --ui-max-actions. Confirmed additional arguments were forwarded to Ninja. Fixes: b/263979195 Change-Id: I14e39605999a36ba133f059626ddfcd4f454365b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/125694 Commit-Queue: Eli Lipsitz <elipsitz@google.com> Reviewed-by: Rob Mohr <mohrr@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.