[riot-devel] weird(?) rom section origin in stm32f103cb.ld

Olaf Bergmann bergmann at tzi.org
Mon Oct 24 17:00:05 CEST 2016

Hello dear RIOT developers,

we came across the following spec in the linker script

    rom (rx)    : ORIGIN = 0x08005000, LENGTH = 128K-0x5000

Is there a specific reason why the ISR vector table is placed at address
0x08005000 instead of 0x08000000 as usual? I found that at least for my
board[1], the address 0x08000000 works while 0x08005000 does not.

[1] http://wiki.stm32duino.com/index.php?title=Blue_Pill
   (For some reason, we have decided to use CPU = stm32f1 and
   CPU_MODEL = stm32f103cb hence the mentioned linker script is used.)


More information about the devel mailing list