altos/stm: Figure out available flash space based on chip id registers
[fw/altos] / src / stm / registers.ld
index 5192144485d2f693c507d109aa637dde27194966..d40fd90f1e04f3339e55a1a89d1db2f377e3dfb5 100644 (file)
@@ -44,4 +44,18 @@ stm_tim4   = 0x40000800;
 stm_tim3   = 0x40000400;
 stm_tim2   = 0x40000000;
 
-stm_nvic   = 0xe000e100;
\ No newline at end of file
+stm_systick = 0xe000e010;
+
+stm_nvic   = 0xe000e100;
+
+stm_scb    = 0xe000ed00;
+
+stm_mpu    = 0xe000ed90;
+
+stm_dbg_mcu = 0xe0042000;
+
+/* calibration data in system memory */
+stm_temp_cal = 0x1ff80078;
+stm_flash_size_medium = 0x1ff8004c;
+stm_flash_size_large = 0x1ff800cc;
+stm_device_id = 0x1ff80050;