flash_store_refactor #49
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "flash_store_refactor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Remove memory offset magic number from flash store.
@ -15,3 +20,4 @@
flash: FLASH,
}
unsafe fn get_offset() -> usize {
I suggest moving the
unsafe
block into this function and marking it safe.@ -13,3 +13,5 @@ MEMORY
_stack_start = ORIGIN(CCMRAM) + LENGTH(CCMRAM);
_dfu_msg = ORIGIN(DFU_MSG);
_config_start = ORIGIN(CONFIG);
Keep the same order as the declarations above.