Skip to content

Commit

Permalink
Pack some functions into the bootloader's first page
Browse files Browse the repository at this point in the history
  • Loading branch information
mtharp committed Sep 28, 2014
1 parent 3984fe4 commit bf4878f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bootloader/ports/STM32F107xB.ld
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@ SECTIONS
. = 512;
boot_table = .;
KEEP(*(*.boot_table))
. = 2k;
_user_start = .;
/* pack some big functions into this page, to potentially save a page
* from the other region.
*/
*(*chk_mounted*);
*(*follow_path);
*(*try_flash);
*(*_free_r);
} > flash1
_user_start = 2k;

.data :
{
Expand Down

0 comments on commit bf4878f

Please sign in to comment.