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
* Added Flash Read/Write Support
Incorporated Comments
- Added FlashReaderGuard
- Removed modulo operations
- Added option to avoid verify operations
- Cleanup
Added more detailed notes for usage of unsafe in flash functions.
ran "cargo fmt" to cleanup flash code
Suppressed unused warnings for flash code, enum naming tweaks
Added prefix '_' to registers and constants that aren't currently used,
and renamed enum values based on review feedback
added more descriptive comments where requested
moved initialization of hword closer to where it's used
Removed FlashReaderGuard, not necessary
We can rely on the lifetime system to protect us here, the guard
structure is unnecessary (see the unsafe comments for details).
removed lifetimes from FlashWriter::read()
Better to let the compiler determine the lifetime
Co-authored-by: Cor <[email protected]>
0 commit comments