flash_store_refactor #49

Merged
sb10q merged 4 commits from flash_store_refactor into master 2021-01-13 17:30:12 +08:00

Remove memory offset magic number from flash store.

Remove memory offset magic number from flash store.
topquark12 added 3 commits 2021-01-13 17:17:47 +08:00
sb10q reviewed 2021-01-13 17:19:03 +08:00
@ -15,3 +20,4 @@
flash: FLASH,
}
unsafe fn get_offset() -> usize {

I suggest moving the unsafe block into this function and marking it safe.

I suggest moving the ``unsafe`` block into this function and marking it safe.
sb10q reviewed 2021-01-13 17:20:31 +08:00
memory.x Outdated
@ -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.

Keep the same order as the declarations above.
topquark12 added 1 commit 2021-01-13 17:23:42 +08:00
sb10q merged commit cf3ace4d2d into master 2021-01-13 17:30:12 +08:00
topquark12 deleted branch flash_store_refactor 2021-01-16 09:41:59 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/thermostat#49
There is no content yet.