Entry to Boot_Handler, boot code in startup section.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10676 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
isiora 2017-09-22 10:26:20 +00:00
parent 02ea87ca15
commit b2077b60a3
1 changed files with 14 additions and 0 deletions

View File

@ -41,3 +41,17 @@ REGION_ALIAS("DATA_RAM", ram0);
REGION_ALIAS("BSS_RAM", ram0);
INCLUDE rules.ld
/* Override of the ENTRY
in order to point towards boot code */
ENTRY(Boot_Handler)
/* Extending the startup section to include
the boot code */
SECTIONS
{
startup : ALIGN(16) SUBALIGN(16)
{
KEEP(*(.boot))
} > flash
}