stm32l4: Use USB_OTG_FS_BASE instead of OTG_FS_BASE
Use the standard definition name, so that all standard shared code for this peripheral works. Reviewed-by: Karl Palsson <karlp@tweak.net.au>
This commit is contained in:
@@ -105,8 +105,7 @@
|
||||
#define GPIO_PORT_G_BASE (PERIPH_BASE_AHB2 + 0x1800)
|
||||
#define GPIO_PORT_H_BASE (PERIPH_BASE_AHB2 + 0x1c00)
|
||||
/* Still AHB2, good job ST */
|
||||
#define OTG_FS_BASE (0x50000000U + 0x00000)
|
||||
#define USB_OTG_FS_BASE OTG_FS_BASE
|
||||
#define USB_OTG_FS_BASE (0x50000000U + 0x00000)
|
||||
#define ADC1_BASE (0x50000000U + 0x40000)
|
||||
#define AES_BASE (0x50000000U + 0x60000)
|
||||
#define RNG_BASE (0x50000000U + 0x60800)
|
||||
|
||||
Reference in New Issue
Block a user