DISCO_F429ZI : add ADC_3 define to ARCH_MAX

Since DISCO_F429ZI uses 2 ADCs(#1 and #3), analogin_api was modified to
support it.
ARCH_MAX is based on STM32F407 product, that has 3 ADCs. ADC_3 thus
needs to be defined in the TARGET_ARCH_MAX/PeripharalNames.h (even if
not used)
pull/1414/head
adustm 2015-11-09 19:10:59 +01:00
parent b390f4cc27
commit 94aa9c89ba
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ extern "C" {
#endif
typedef enum {
ADC_1 = (int)ADC1_BASE
ADC_1 = (int)ADC1_BASE,
ADC_3 = (int)ADC3_BASE
} ADCName;
typedef enum {