Skip to content

Commit

Permalink
cpu/stm32f4: add stm32f413zh support
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Dupont committed Feb 8, 2017
1 parent a6c50c4 commit 8b48686
Show file tree
Hide file tree
Showing 5 changed files with 15,037 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cpu/stm32f4/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include "stm32f401xe.h"
#elif defined(CPU_MODEL_STM32F407VG)
#include "stm32f407xx.h"
#elif defined(CPU_MODEL_STM32F413ZH)
#include "stm32f413xx.h"
#elif defined(CPU_MODEL_STM32F415RG)
#include "stm32f415xx.h"
#elif defined(CPU_MODEL_STM32F446RE)
Expand Down
2 changes: 1 addition & 1 deletion cpu/stm32f4/include/periph_cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ extern "C" {
/**
* @brief Available number of ADC devices
*/
#if defined(CPU_MODEL_STM32F401RE)
#if defined(CPU_MODEL_STM32F401RE) || defined(CPU_MODEL_STM32F413ZH)
#define ADC_DEVS (1U)
#elif defined(CPU_MODEL_STM32F407VG) || defined(CPU_MODEL_STM32F415RG) || defined(CPU_MODEL_STM32F446RE)
#define ADC_DEVS (3U)
Expand Down
Loading

0 comments on commit 8b48686

Please sign in to comment.