You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and I'm a little confused how I should be doing the looping given the constraints from ihex::Record::Data (Specifies a 16-bit offset address and up to 255 bytes of data)
Can you maybe help me better understand what it would take to dump this memory region and maybe we can PR it to the README for a stronger, more real world Intel hex example?
The text was updated successfully, but these errors were encountered:
Hey @brandonros, sorry for the delay in getting back to you, things have been pretty hectic around here lately.
Philosophically this library was meant to be a really light wrapper around reading and writing IHEX objects, and I chose to do that in the simplest way possible, mapping ihex::Records onto individual lines within an IHEX file. It's pretty low-level.
I've actually written (and am happy to open-source some time) something built on ihex that allows you to compose sparse memory regions and read/write them as entire ihex objects. With that said, I created a gist that does what you're after from your example.
I'm trying to dump this MemoryRegion:
and I'm a little confused how I should be doing the looping given the constraints from
ihex::Record::Data
(Specifies a 16-bit offset address and up to 255 bytes of data)Can you maybe help me better understand what it would take to dump this memory region and maybe we can PR it to the README for a stronger, more real world Intel hex example?
The text was updated successfully, but these errors were encountered: