Commit Graph

6 Commits

Author SHA1 Message Date
Rob Mohr
ff592cec8a pw_cli: Script for generating 'Requires:' CLs
Add script for generating transitive 'Requires:' CLs to unnamed internal
Gerrit instances. For now putting into pw_cli because this doesn't seem
to need its own module and there's nowhere better to put it.

Change-Id: I9837a37c593c24a4839ab8523fdc3a5752b40206
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/28280
Commit-Queue: Rob Mohr <mohrr@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2021-01-13 16:18:57 +00:00
Alexei Frolov
d3e5cb710d s/pw_hdlc_lite/pw_hdlc/g
This renames the hdlc_lite module to just HDLC to accommodate for future
development.

Change-Id: Ic96502a9f41d3a10179435347d4e8615bc3ae844
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/29042
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2021-01-11 21:16:53 +00:00
Rob Mohr
0b6a502162 pw_package: Initial commit
Add pw_package module. This manages dependencies that aren't pulled in
through env setup. For now only nanopb is available through pw_package.

Change-Id: Ib8a20102baf27d5964bb275088c265f9334b6ff3
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/22020
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Rob Mohr <mohrr@google.com>
2020-10-22 21:12:03 +00:00
Prashanth Swaminathan
0b85705419 pw_plugins: Add RPC console to plugins
Change-Id: Ib0a5b56735a3ed767149246bebc14ba73cbcfb4f
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/18350
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Keir Mierle <keir@google.com>
2020-09-17 23:58:48 +00:00
Chenghan Zhou
091e312d0f pw_allocator: Heap visualization
Added a python script to view the heap given a dump file and heap
information in the command line arguments.

Added a Pigweed command "pw heap-viewer" for the heap visualizer.

Change-Id: Ibe3116eb9bebb466aad4c4273cc3de9142b9eab1
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/15265
Reviewed-by: Alexei Frolov <frolv@google.com>
Commit-Queue: Chenghan Zhou <chenghanzh@google.com>
2020-08-07 17:47:13 +00:00
Wyatt Hepler
8a562a09ea pw_cli: New pw plugin registration system
- Introduce new system for registering plugins with the pw command.
  Plugins can be registered for a directory tree by listing them in a
  PW_PLUGINS file.
- Update most existing plugins to be registered as "built-in" plugins in
  pw_cli.
- Register pw_presubmit using a PW_PLUGINS file, since it only applies
  to the Pigweed repository.
- No longer add plugins to the pw argument parser as subparsers.
  Instead, use argparse to separate the pw arguments from the plugin
  arguments.
- Remove __init__.py files that were only used to trigger plugin
  registration, since __init__.py is not required in Python 3.

Change-Id: I20028f2053476df2afebd36e9299062e7e96727e
2020-04-24 16:24:58 -07:00