Skip to content
Snippets Groups Projects
Commit b8dd0baa authored by Vincent Dupont's avatar Vincent Dupont
Browse files

cpu/stm32f4: fix periph_cpu.h for f412zg and f446ze

parent 6326c43e
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ enum { ...@@ -49,7 +49,7 @@ enum {
* @brief Available number of ADC devices * @brief Available number of ADC devices
*/ */
#if defined(CPU_MODEL_STM32F401RE) || defined(CPU_MODEL_STM32F410RB) \ #if defined(CPU_MODEL_STM32F401RE) || defined(CPU_MODEL_STM32F410RB) \
|| defined(CPU_MODEL_STM32F411RE) \ || defined(CPU_MODEL_STM32F411RE) || defined(CPU_MODEL_STM32F412ZG) \
|| defined(CPU_MODEL_STM32F413CG) || defined(CPU_MODEL_STM32F413RG) \ || defined(CPU_MODEL_STM32F413CG) || defined(CPU_MODEL_STM32F413RG) \
|| defined(CPU_MODEL_STM32F413MG) || defined(CPU_MODEL_STM32F413VG) \ || defined(CPU_MODEL_STM32F413MG) || defined(CPU_MODEL_STM32F413VG) \
|| defined(CPU_MODEL_STM32F413ZG) || defined(CPU_MODEL_STM32F413CH) \ || defined(CPU_MODEL_STM32F413ZG) || defined(CPU_MODEL_STM32F413CH) \
...@@ -59,7 +59,9 @@ enum { ...@@ -59,7 +59,9 @@ enum {
|| defined(CPU_MODEL_STM32F423MH) || defined(CPU_MODEL_STM32F423VH) \ || defined(CPU_MODEL_STM32F423MH) || defined(CPU_MODEL_STM32F423VH) \
|| defined(CPU_MODEL_STM32F423ZH) || defined(CPU_MODEL_STM32F423ZH)
#define ADC_DEVS (1U) #define ADC_DEVS (1U)
#elif defined(CPU_MODEL_STM32F407VG) || defined(CPU_MODEL_STM32F415RG) || defined(CPU_MODEL_STM32F446RE) || defined(CPU_MODEL_STM32F429ZI) #elif defined(CPU_MODEL_STM32F407VG) || defined(CPU_MODEL_STM32F415RG) \
|| defined(CPU_MODEL_STM32F429ZI) || defined(CPU_MODEL_STM32F446RE) \
|| defined(CPU_MODEL_STM32F446ZE)
#define ADC_DEVS (3U) #define ADC_DEVS (3U)
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment