-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bricks/stm32: make .fw_info section optional
This renames the .boot section to .fw_info and makes it optional. This frees up 320 bytes on Move hub. Also fill in some missing values while we are touching this in case LEGO ever updates their firmware to read them.
- Loading branch information
Showing
3 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,5 @@ MEMORY | |
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 320K | ||
} | ||
|
||
"FW_INFO_OFFSET" = 0x200; | ||
_minimum_stack_size = 8K; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters