save-image/read-image in v6-m/flash.mu4 should be renamed save-flash-image/read-flash-image respectively as they are currently (and correctly) tightly coupled to specific notions of where the flash image resides.
Two "new" definitions of save-image and read-image should be crufted together that allow saving an image from a specific address range.
Example: On m4 devices, a mirror copy of flash (8000000) exists starting at address 0. Currently we cannot do the following:
save-image/read-image in v6-m/flash.mu4 should be renamed save-flash-image/read-flash-image respectively as they are currently (and correctly) tightly coupled to specific notions of where the flash image resides.
Two "new" definitions of save-image and read-image should be crufted together that allow saving an image from a specific address range.
Example: On m4 devices, a mirror copy of flash (8000000) exists starting at address 0. Currently we cannot do the following: