]> git.gag.com Git - fw/altos/blob - src/stm32l0/stm32l0.ld
altos/telefire: Add cast to AO_LED_CONTINUITY to eliminate -Wconversion warning
[fw/altos] / src / stm32l0 / stm32l0.ld
1 /* IOPORT */
2 stm_gpioh  = 0x50001c00;
3 stm_gpioe  = 0x50001000;
4 stm_gpiod  = 0x50000c00;
5 stm_gpioc  = 0x50000800;
6 stm_gpiob  = 0x50000400;
7 stm_gpioa  = 0x50000000;
8
9 /* AHB */
10 stm_aes    = 0x40026000;
11 stm_crc    = 0x40023000;
12 stm_flash  = 0x40022000;
13 stm_rcc    = 0x40021000;
14 stm_dma1   = 0x40020000;
15
16 /* APB2 */
17 stm_dbg    = 0x40015800;
18 stm_usart1 = 0x40013800;
19 stm_spi1   = 0x40013000;
20 stm_adc    = 0x40012400;
21 stm_firewall = 0x40011c00;
22 stm_tim22  = 0x40011400;
23 stm_tim21  = 0x40010800;
24 stm_exti   = 0x40010400;
25 stm_syscfg = 0x40010000;
26 stm_comp   = 0x40010000;
27
28 /* APB1 */
29 stm_lptim1 = 0x40007c00;
30 stm_i2c3   = 0x40007800;
31 stm_pwr    = 0x40007000;
32 stm_i2c2   = 0x40005800;
33 stm_i2c1   = 0x40005400;
34 stm_usart5 = 0x40005000;
35 stm_usart4 = 0x40004c00;
36 stm_lpuart1 = 0x40004800;
37 stm_usart2 = 0x40004400;
38 stm_spi2   = 0x40003800;
39 stm_iwdg   = 0x40003000;
40 stm_wwdg   = 0x40002c00;
41 stm_rtc    = 0x40002800;
42 stm_timer7 = 0x40001400;
43 stm_timer6 = 0x40001000;
44 stm_timer3 = 0x40000400;
45 stm_timer2 = 0x40000000;
46
47 /* ARM */
48 stm_systick = 0xe000e010;
49
50 stm_nvic   = 0xe000e100;
51
52 stm_scb    = 0xe000ed00;
53
54 stm_mpu    = 0xe000ed90;
55
56 /* ID registers */
57 stm_flash_size = 0x1ff8007c;
58 stm_device_id = 0x1ff80050;