From febbff6f3b8e3e825aad6b33519380de1462114a Mon Sep 17 00:00:00 2001 From: arighi Date: Thu, 20 May 2010 13:43:26 +0000 Subject: [PATCH] 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 --- bertos/cpu/cortex-m3/scripts/stm32p103_rom.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = .; -- 2.25.1