summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWojciech Klimek <[email protected]>2024-04-01 14:51:46 +0200
committerWojciech Klimek <[email protected]>2024-04-01 14:51:46 +0200
commit057278c0c6c159880e11f9b16de5735d8fc821ce (patch)
tree0c81b6f6f32f891b1d5279549e6f8ceb4831fe4f /src
parent943a2a6db335d98843b73246fcce9aead0d38886 (diff)
Support for STM32H503 MCU - review changes
Implemented changes suggested in the review: - restored original name of SystemClock_Config() function - some GPIO clocks are only enabled if macros are defined - moved GPIO clocks init back to family.c
Diffstat (limited to 'src')
-rw-r--r--src/portable/st/stm32_fsdev/dcd_stm32_fsdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.h b/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.h
index 8cedee5d1..946ad2c7c 100644
--- a/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.h
+++ b/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.h
@@ -116,7 +116,7 @@
#include "stm32h5xx.h"
#define FSDEV_BUS_32BIT
- #ifdef STM32H503xx
+ #if !defined(USB_DRD_BASE) && defined(USB_DRD_FS_BASE)
#define USB_DRD_BASE USB_DRD_FS_BASE
#endif