diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/STM32/STM32H7xx/hal_lld.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32H7xx/hal_lld.h b/os/hal/ports/STM32/STM32H7xx/hal_lld.h index 19e392b9d..fd3f46c5a 100644 --- a/os/hal/ports/STM32/STM32H7xx/hal_lld.h +++ b/os/hal/ports/STM32/STM32H7xx/hal_lld.h @@ -1224,6 +1224,11 @@ #error "Using a wrong mcuconf.h file, STM32H7xx_MCUCONF not defined"
#endif
+#if (defined(STM32H743xx) || defined(STM32H753xx)) && \
+ !defined(STM32H743_MCUCONF)
+#error "Using a wrong mcuconf.h file, STM32H743_MCUCONF not defined"
+#endif
+
/*
* Board file checks.
*/
|