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:
parent
02ea87ca15
commit
b2077b60a3
|
@ -41,3 +41,17 @@ REGION_ALIAS("DATA_RAM", ram0);
|
||||||
REGION_ALIAS("BSS_RAM", ram0);
|
REGION_ALIAS("BSS_RAM", ram0);
|
||||||
|
|
||||||
INCLUDE rules.ld
|
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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue