stm32g0: add device electronic signature offsets and build desig.
This commit is contained in:
parent
2d9c01867f
commit
d696e2c264
|
@ -80,6 +80,13 @@
|
||||||
#define GPIO_PORT_E_BASE (IOPORT_BASE + 0x01000)
|
#define GPIO_PORT_E_BASE (IOPORT_BASE + 0x01000)
|
||||||
#define GPIO_PORT_F_BASE (IOPORT_BASE + 0x01400)
|
#define GPIO_PORT_F_BASE (IOPORT_BASE + 0x01400)
|
||||||
|
|
||||||
|
/* Device Electronic Signature */
|
||||||
|
#define DESIG_FLASH_SIZE_BASE (0x1FFF75E0)
|
||||||
|
#define DESIG_UNIQUE_ID_BASE (0x1FFF7590)
|
||||||
|
#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)
|
||||||
|
|
||||||
/* ST provided factory calibration values @ 3.0V */
|
/* ST provided factory calibration values @ 3.0V */
|
||||||
#define ST_VREFINT_CAL MMIO16((INFO_BASE + 0xAA))
|
#define ST_VREFINT_CAL MMIO16((INFO_BASE + 0xAA))
|
||||||
#define ST_TSENSE_CAL1_30C MMIO16((INFO_BASE + 0xA8))
|
#define ST_TSENSE_CAL1_30C MMIO16((INFO_BASE + 0xA8))
|
||||||
|
|
|
@ -35,6 +35,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
|
||||||
ARFLAGS = rcs
|
ARFLAGS = rcs
|
||||||
OBJS += adc.o adc_common_v2.o
|
OBJS += adc.o adc_common_v2.o
|
||||||
OBJS += crc_common_all.o
|
OBJS += crc_common_all.o
|
||||||
|
OBJS += desig_common_all.o desig_common_v1.o
|
||||||
OBJS += dma_common_l1f013.o
|
OBJS += dma_common_l1f013.o
|
||||||
OBJS += dmamux.o
|
OBJS += dmamux.o
|
||||||
OBJS += exti_common_all.o exti_common_v2.o
|
OBJS += exti_common_all.o exti_common_v2.o
|
||||||
|
|
Loading…
Reference in New Issue