stm32/h7: Defined variant identification constants
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
7079ffdcac
commit
c31a239ae3
@@ -190,4 +190,13 @@
|
|||||||
#define DESIG_UNIQUE_ID1 MMIO32(DESIG_UNIQUE_ID_BASE + 4)
|
#define DESIG_UNIQUE_ID1 MMIO32(DESIG_UNIQUE_ID_BASE + 4)
|
||||||
#define DESIG_UNIQUE_ID2 MMIO32(DESIG_UNIQUE_ID_BASE + 8)
|
#define DESIG_UNIQUE_ID2 MMIO32(DESIG_UNIQUE_ID_BASE + 8)
|
||||||
|
|
||||||
|
/* These aren't strictly memory map, but they need to be visible everywhere like the memory map */
|
||||||
|
|
||||||
|
/* Device variant constants */
|
||||||
|
enum device_variant {
|
||||||
|
STM32H72x = 0x483U, /* RM0468 */
|
||||||
|
STM32H74x = 0x450U, /* RM0433, RM0399 */
|
||||||
|
STM32H7Bx = 0x480U, /* RM0455 */
|
||||||
|
};
|
||||||
|
|
||||||
#endif /*LIBOPENCM3_MEMORYMAP_H*/
|
#endif /*LIBOPENCM3_MEMORYMAP_H*/
|
||||||
|
|||||||
Reference in New Issue
Block a user