Closed charkster closed 3 years ago
I added 15 lines to uf2conv.py to implement the feature (mostly print statements). It uses the -i --info option. Here is what it looks like:
--- UF2 File Header Info ---
Flag is 0x2000
Family ID is SAMD21, hex value is 0x68ed2b88
Target Address is 0x00002000
Number of blocks in file is 40, bin size is 10160 bytes
----------------------------
I could submit a pull request if this feature is wanted. I'm happy with my fork. I'll close this feature request if I don't hear back from anyone.
PR is most welcome!
Would it be possible to add the displaying of uf2 block header information when parsing a uf2 file? Additionally could there be a switch to just parse the provided uf2 file without conversion, in order to only display the block header information. If this is possible could the family_id short name also be displayed, otherwise I would still need to check the uf2families.json file. uf2conv.py already parses uf2 files, so I was hoping this feature could be expanded. Thanks.