stm32/h7: Defined the device electronic signature addresses foro the memory map
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
cd906e97e4
commit
7079ffdcac
@@ -25,6 +25,7 @@
|
||||
/* Memory map for all busses */
|
||||
#define FLASH_BASE (0x08000000U)
|
||||
#define PERIPH_BASE (0x40000000U)
|
||||
#define SYSTEM_MEM_BASE (0x1ff00000U)
|
||||
#define PERIPH_BASE_APB1 (PERIPH_BASE + 0x00000000U)
|
||||
#define PERIPH_BASE_APB2 (PERIPH_BASE + 0x00010000U)
|
||||
#define PERIPH_BASE_APB3 (PERIPH_BASE + 0x10000000U)
|
||||
@@ -182,4 +183,11 @@
|
||||
/* Debug/Trace Peripherals */
|
||||
#define DBGMCU_BASE 0x5C001000U
|
||||
|
||||
/* Device Electronic Signature */
|
||||
#define DESIG_FLASH_SIZE_BASE (SYSTEM_MEM_BASE + 0x1E880U)
|
||||
#define DESIG_UNIQUE_ID_BASE (SYSTEM_MEM_BASE + 0x1E800U)
|
||||
#define DESIG_UNIQUE_ID0 MMIO32(DESIG_UNIQUE_ID_BASE)
|
||||
#define DESIG_UNIQUE_ID1 MMIO32(DESIG_UNIQUE_ID_BASE + 4)
|
||||
#define DESIG_UNIQUE_ID2 MMIO32(DESIG_UNIQUE_ID_BASE + 8)
|
||||
|
||||
#endif /*LIBOPENCM3_MEMORYMAP_H*/
|
||||
|
||||
Reference in New Issue
Block a user