Commit Graph

9 Commits

Author SHA1 Message Date
Brian S. Stephan 54035de00a
add pytest, test creation/import of config_pb2 module 2023-06-20 19:57:38 -05:00
Brian S. Stephan 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
Brian S. Stephan a55bea087c
add help text to the --version flag 2023-06-20 18:19:50 -05:00
Brian S. Stephan dbd392cade
set up some sane-ish logging defaults 2023-06-20 18:17:46 -05:00
Brian S. Stephan 518aae359d
provide shortcut for the proto file path option 2023-06-20 15:45:31 -05:00
Brian S. Stephan 35abad327e
dynamically generate version number based on git 2023-06-20 15:43:21 -05:00
Brian S. Stephan 1302cb914c
correct wording of what get_config_pb2 is doing 2023-06-20 13:30:48 -05:00
Brian S. Stephan 8891dcc2f4
minor documentation cleanups 2023-06-20 12:59:47 -05:00
Brian S. Stephan 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