]> git.gag.com Git - fw/altos/blob - src/stmf0/registers.ld
drivers: Add BMI088 driver
[fw/altos] / src / stmf0 / registers.ld
1 stm_gpiof  = 0x48001400;
2 stm_gpioc  = 0x48000800;
3 stm_gpiob  = 0x48000400;
4 stm_gpioa  = 0x48000000;
5
6 stm_tsc    = 0x40024000;
7 stm_crc    = 0x40023000;
8 stm_flash  = 0x40022000;
9 stm_rcc    = 0x40021000;
10 stm_dma    = 0x40020000;
11 stm_dbgmcu = 0x40015800;
12 stm_tim17  = 0x40014800;
13 stm_tim16  = 0x40014400;
14 stm_usart1 = 0x40013800;
15 stm_spi1   = 0x40013000;
16 stm_tim1   = 0x40012c00;
17 stm_adc    = 0x40012400;
18
19 stm_exti   = 0x40010400;
20 stm_syscfg = 0x40010000;
21
22 stm_cec    = 0x40007800;
23
24 stm_pwr    = 0x40007000;
25 stm_crs    = 0x40006c00;
26
27 stm_bxcan  = 0x40006400;
28 stm_usb_sram = 0x40006000;
29 stm_usb_bdt = 0x40006000;
30 stm_usb    = 0x40005c00;
31
32 stm_i2c1   = 0x40005400;
33
34 stm_usart2 = 0x40004400;
35
36 stm_spi2   = 0x40003800;        /* docs are broken here */
37
38 stm_iwdg   = 0x40003000;
39 stm_wwdg   = 0x40002c00;
40 stm_rtc    = 0x40002800;
41
42 stm_tim14  = 0x40002000;
43
44 stm_tim3   = 0x40000400;
45 stm_tim2   = 0x40000000;
46
47 stm_systick = 0xe000e010;
48
49 stm_nvic   = 0xe000e100;
50
51 stm_scb    = 0xe000ed00;
52
53 stm_mpu    = 0xe000ed90;
54
55 /* calibration data in system memory */
56 stm_cal = 0x1ffff7b8;
57 stm_flash_size_04x = 0x1ffff7cc;
58 stm_device_id = 0x1ffff7ac;