The new STM32F series of chips uses ADC_3 and ADC_4, however, this is not available in "PeripheralPins.c"
I have devised these lines to be added into "PeripheralPins.c" after the ADC_3 has been declared.
{PB_0, ADC_3, STM_PIN_DATA(STM_MODE_ANALOG, GPIO_NOPULL, 0)}, // ADC3_IN12
{PB_1, ADC_3, STM_PIN_DATA(STM_MODE_ANALOG, GPIO_NOPULL, 0)}, // ADC3_IN1
but then the compiler complains that identifier ADC_3 is undefined :(
so I added these lines in PeripheralNames.h
,
ADC_3 = (int)ADC3_BASE,
ADC_4 = (int)ADC4_BASE
which, now it compiles. :)
PB1(ADC3-1) is working, but not PB0(ADC3-12), :(
The new STM32F series of chips uses ADC_3 and ADC_4, however, this is not available in "PeripheralPins.c"
I have devised these lines to be added into "PeripheralPins.c" after the ADC_3 has been declared.
but then the compiler complains that identifier ADC_3 is undefined :(
so I added these lines in PeripheralNames.h
which, now it compiles. :)
PB1(ADC3-1) is working, but not PB0(ADC3-12), :(