Add Device ID Base Address register to the STM32 memory map.
authorlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 12 Dec 2011 13:51:56 +0000 (13:51 +0000)
committerlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 12 Dec 2011 13:51:56 +0000 (13:51 +0000)
This provides a method to obtain a device unique ID number.

Signed-off-by: Robin Gilham <robin.gilham@gmail.com>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5181 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/cortex-m3/io/stm32_memmap.h

index b8317caf4584f72e10c6bc98406fd36465a0b409..d547c7846a0c7d6faaa7ab2a86a0380e4ec1cfab 100644 (file)
@@ -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)