229092dd66
custom config validation exceptions
...
might be useful when allowing for ignoring specific sanity checks
2023-06-22 00:08:12 -05:00
1b02e458e2
visualize-storage flag to print as JSON
...
closes #3
2023-06-21 18:21:22 -05:00
88ca5c5152
more tests for command invocations
2023-06-21 17:54:27 -05:00
5b8dc456f1
option to get the config out of a whole board dump
...
now you don't need to fiddle with specific byte ranges of a dump, you
can just dump the whole board if that's more convenient, and
visualize-storage will parse that
also more testing in general
v0.1.2
2023-06-21 15:20:21 -05:00
3dcc0d4c59
trivial requirements-dev.txt version bump
2023-06-21 12:35:22 -05:00
d31c451d0c
tox for local CI, with coverage and bandit checks added
2023-06-21 12:31:58 -05:00
e6f6a888a5
bump minimum python to 3.9, we're using subscriptable type hints
2023-06-21 09:11:05 -05:00
a088cdcd73
unit tests for config parsing out of storage
...
closes #1
v0.1.1
2023-06-20 20:01:22 -05:00
54035de00a
add pytest, test creation/import of config_pb2 module
2023-06-20 19:57:38 -05:00
0c7ed1fcea
improve storage parsing by using footer for sanity
...
magic is checked for sanity, and then the size is used for reading the
whole section rather than simply ignoring null bytes
closes #2
2023-06-20 19:57:28 -05:00
8404ec0d54
add mypy to the development tools
2023-06-20 18:26:29 -05:00
a55bea087c
add help text to the --version flag
2023-06-20 18:19:50 -05:00
dbd392cade
set up some sane-ish logging defaults
2023-06-20 18:17:46 -05:00
518aae359d
provide shortcut for the proto file path option
v0.1.0
2023-06-20 15:45:31 -05:00
35abad327e
dynamically generate version number based on git
2023-06-20 15:43:21 -05:00
1302cb914c
correct wording of what get_config_pb2 is doing
2023-06-20 13:30:48 -05:00
d201855841
remove my goofy .bin filename from the example
...
c'mon bss
2023-06-20 13:27:22 -05:00
8e8feae77a
clarify that users *probably* want picotool
2023-06-20 13:24:24 -05:00
d6657fa750
sample visualize-storage output, doc on dumping storage
2023-06-20 13:20:49 -05:00
8891dcc2f4
minor documentation cleanups
2023-06-20 12:59:47 -05:00
24617bf920
visualize-storage tool --- read GP2040-CE config
...
this also comes with a lot of project scaffolding for (IMO) a
well-organized python project. this should get the ball rolling for
other devs
2023-06-20 12:52:22 -05:00
df3a2a5394
some project scaffolding and requirements files
2023-06-20 00:29:58 -05:00
0888d292d2
just a couple minor fresh repo cleanups
2023-06-19 23:34:03 -05:00
2934c9f929
Initial commit
2023-06-19 22:33:41 -05:00