summaryrefslogtreecommitdiff
path: root/src/stm/registers.ld
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-04-07 20:31:58 -0700
committerKeith Packard <keithp@keithp.com>2012-04-07 20:31:58 -0700
commit0bce68e6a0abc19f49c573331164d13643c9bee5 (patch)
tree2cbe7d0de8f9519c839a356eaae51a4b7ac4bdd2 /src/stm/registers.ld
parenta41628c97e90770890cce1d6f580e92c1cad1a7f (diff)
altos: Add STM temperature sensor calibration data
Each stm32l has two-point factory temperature calibration data. Provide access to that for displaying temperature data. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/registers.ld')
-rw-r--r--src/stm/registers.ld5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stm/registers.ld b/src/stm/registers.ld
index 51921444..fd61e486 100644
--- a/src/stm/registers.ld
+++ b/src/stm/registers.ld
@@ -44,4 +44,7 @@ stm_tim4 = 0x40000800;
stm_tim3 = 0x40000400;
stm_tim2 = 0x40000000;
-stm_nvic = 0xe000e100; \ No newline at end of file
+stm_nvic = 0xe000e100;
+
+/* calibration data in system memory */
+stm_temp_cal = 0x1ff80078;