From: arighi Date: Thu, 20 May 2010 13:43:26 +0000 (+0000) Subject: stm32-p103: align the interrupt vector table to 1K boundary. X-Git-Tag: 2.5.0~177 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=febbff6f3b8e3e825aad6b33519380de1462114a;p=bertos.git stm32-p103: align the interrupt vector table to 1K boundary. Moreover, do not waste space in RAM and reserve for the vtable an amount of space proportional to the total number of interrupts defined on the board. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3740 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/scripts/stm32p103_rom.ld b/bertos/cpu/cortex-m3/scripts/stm32p103_rom.ld index 27248d62..60548cb8 100644 --- a/bertos/cpu/cortex-m3/scripts/stm32p103_rom.ld +++ b/bertos/cpu/cortex-m3/scripts/stm32p103_rom.ld @@ -81,8 +81,8 @@ SECTIONS .data : AT (__text_end) { PROVIDE (__data_start = .); - *(vtable) . = ALIGN (0x400); + *(vtable) *(.data .data.*) . = ALIGN (4); _edata = .;