From 21b75b7cc0266b3b1ec244daf19b587cfeb3e5d8 Mon Sep 17 00:00:00 2001 From: lottaviano Date: Mon, 12 Dec 2011 13:51:56 +0000 Subject: [PATCH] Add Device ID Base Address register to the STM32 memory map. This provides a method to obtain a device unique ID number. Signed-off-by: Robin Gilham git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5181 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/cortex-m3/io/stm32_memmap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bertos/cpu/cortex-m3/io/stm32_memmap.h b/bertos/cpu/cortex-m3/io/stm32_memmap.h index b8317caf..d547c784 100644 --- a/bertos/cpu/cortex-m3/io/stm32_memmap.h +++ b/bertos/cpu/cortex-m3/io/stm32_memmap.h @@ -48,6 +48,8 @@ #define FLASH_BASE (0x40022000) /* Flash Option Bytes base address */ #define OB_BASE (0x1FFFF800) +/* Device ID register */ +#define DEVICE_ID_BASE (0x1FFFF7E8) /* Peripheral memory map */ #define APB1PERIPH_BASE (PERIPH_BASE) -- 2.25.1