Added boot section with "BOOT" to allow the bootloader to be recognized

This commit is contained in:
bsongis
2014-04-08 21:19:35 +02:00
parent a4d6a6f5e3
commit 845e6e06ea
2 changed files with 9 additions and 3 deletions
+3 -1
View File
@@ -42,8 +42,10 @@ SECTIONS
/* The program code and other data goes into FLASH */
.text :
{
. = ALIGN(4);
. = ALIGN(4);
KEEP(*(.isr_vector)) /* Startup code */
*(.version)
. = ALIGN(4); /* Align the start of the text part */
*(.text) /* .text sections (code) */
*(.text*) /* .text* sections (code) */
*(.rodata) /* .rodata sections (constants, strings, etc.) */