Brian S. Stephan
5022616f1d
summarize-gp2040ce --- print information about firmware
...
can be read from a file or over USB
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-12 20:13:38 -05:00
Brian S. Stephan
5b8396c097
update concatenate examples following rename of output flag
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-12 20:01:14 -05:00
Brian S. Stephan
65ae51af72
rename visualize-storage as visualize-config
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-12 10:39:29 -05:00
Brian S. Stephan
79ea02a968
confirm the v0.7.8-RC2 protobuf configs are also v0.7.8
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-12 10:33:48 -05:00
Brian S. Stephan
3e8209e2a5
update .proto snapshot for v0.7.8
...
this also clarifies the docs a bit regarding versions supported.
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-08 09:07:47 -05:00
Brian S. Stephan
b900e1dd04
relicense as GPLv3
...
prior MIT-licensed versions can be obtained from the Git history; this
does not revoke those versions
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-08 00:02:43 -06:00
Brian S. Stephan
331063d1a3
update docs regarding the protobuf precompiled files
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-01-09 10:01:45 -06:00
Brian S. Stephan
933e44566c
documentation update for concatenate-ing in .uf2
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-01-08 13:09:49 -06:00
Brian S. Stephan
0d54d3b805
concatenate flags to combine board and user configs
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-01-06 13:45:12 -06:00
Brian S. Stephan
1d912794c2
docs update for new concatenate JSON feature and flags
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-01-03 18:10:31 -06:00
Brian S. Stephan
6aa3ea6f84
update README; had the right memory alignment but not the size
2023-11-07 08:59:15 -06:00
Brian S. Stephan
a8156f5e89
add version compatibility information to README
2023-11-07 00:06:03 -06:00
Brian S. Stephan
9aef8aae7c
correct config dump example for new start address
2023-11-06 23:59:48 -06:00
Brian S. Stephan
cce165f012
add flag to have concatenate write direct to USB
2023-07-12 17:50:43 -05:00
Brian S. Stephan
baa3959e8a
dump-config's filename argument is not optional
2023-07-11 16:32:46 -05:00
Brian S. Stephan
b7bb437ae8
command to dump whole GP2040-CE image from USB
2023-07-11 16:27:01 -05:00
Brian S. Stephan
63295eeb21
small README update
2023-07-09 10:55:16 -05:00
Brian S. Stephan
7a9d5ad1d1
dump-config tool to easily backup a board's config section
...
doesn't require picotool, doesn't include padding, does include the
footer
2023-07-07 20:09:00 -05:00
Brian S. Stephan
61aadae2ca
tiny README organization change
2023-07-07 19:00:12 -05:00
Brian S. Stephan
0378269a00
--usb flag to edit-config direct off the board
2023-07-07 18:58:25 -05:00
Brian S. Stephan
70d3ce8be0
--usb flag to visualize-storage direct off the board
2023-07-07 18:31:13 -05:00
Brian S. Stephan
188976474a
update installation instructions
2023-07-06 00:06:38 -05:00
Brian S. Stephan
7d5052e811
add edit-config, a Textual TUI for editing a configuration
...
this tree UI allows for viewing and basic editing of a configuration
section from a board. it does a decent job of displaying most of the
settings, and editing is equally convenient, as in it tries to handle
enums correctly, but doesn't validate pins or handle long binary strings
well.
saving is done in place --- if a config/storage section was opened, a
config section (no padding) is what results. if a whole board was
opened, the whole binary is rewritten with the new offset config
section. this way, a whole board dump can be changed in place, or a new
config can be made for use in e.g. concatenate to build an image
many enhancements to come over time
2023-06-30 02:01:01 -05:00
Brian S. Stephan
095fac19f1
properly account for combining config section with firmware
...
prior to this, the concatenate assumed it was concatenating a firmware
with a full *storage section*, e.g. the already-padded 8192 bytes, but
it's equally valuable now that I'm creating configs to have just a
config section + footer, which needs to be padded 8192. now concatenate
supports both
2023-06-28 12:52:49 -05:00
Brian S. Stephan
85d84144fc
concatenate command: combine firmware and storage into one file
2023-06-26 15:32:32 -05:00
Brian S. Stephan
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
2023-06-21 15:20:21 -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
518aae359d
provide shortcut for the proto file path option
2023-06-20 15:45:31 -05:00
Brian S. Stephan
d201855841
remove my goofy .bin filename from the example
...
c'mon bss
2023-06-20 13:27:22 -05:00
Brian S. Stephan
8e8feae77a
clarify that users *probably* want picotool
2023-06-20 13:24:24 -05:00
Brian S. Stephan
d6657fa750
sample visualize-storage output, doc on dumping storage
2023-06-20 13:20:49 -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
Brian S. Stephan
0888d292d2
just a couple minor fresh repo cleanups
2023-06-19 23:34:03 -05:00
Brian S. Stephan
2934c9f929
Initial commit
2023-06-19 22:33:41 -05:00