From: lottaviano Date: Mon, 12 Dec 2011 13:51:56 +0000 (+0000) Subject: Add Device ID Base Address register to the STM32 memory map. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=21b75b7cc0266b3b1ec244daf19b587cfeb3e5d8;p=bertos.git 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 --- 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)