Added check.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12630 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
e99c85328b
commit
68716233f8
|
@ -1014,6 +1014,22 @@
|
||||||
#error "Using a wrong mcuconf.h file, STM32F4xx_MCUCONF not defined"
|
#error "Using a wrong mcuconf.h file, STM32F4xx_MCUCONF not defined"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(STM32F405xx) && !defined(STM32F405_MCUCONF)
|
||||||
|
#error "Using a wrong mcuconf.h file, STM32F405_MCUCONF not defined"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(STM32F415xx) && !defined(STM32F415_MCUCONF)
|
||||||
|
#error "Using a wrong mcuconf.h file, STM32F415_MCUCONF not defined"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(STM32F407xx) && !defined(STM32F407_MCUCONF)
|
||||||
|
#error "Using a wrong mcuconf.h file, STM32F407_MCUCONF not defined"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(STM32F417xx) && !defined(STM32F417_MCUCONF)
|
||||||
|
#error "Using a wrong mcuconf.h file, STM32F417_MCUCONF not defined"
|
||||||
|
#endif
|
||||||
|
|
||||||
#else /* !defined(STM32F4XX) */
|
#else /* !defined(STM32F4XX) */
|
||||||
/*
|
/*
|
||||||
* Configuration-related checks.
|
* Configuration-related checks.
|
||||||
|
|
Loading…
Reference in New Issue