Got defined #error message for ADC2 for STM32F303xx
Posted: Sat Aug 06, 2016 8:55 am
Hi,
I am using one STM32F303xx development board. On that ADC is connected at ADC2_IN12 Port PIN.So, as per that made TRUE for the macro STM32_ADC_USE_ADC2 from mcuconf.h.
And I already made TRUE for the HAL_USE_ADC in halconf.h.
Now after compliation i got following error message.
In HAL i checked only two ADC's are mentioned that ADCD1 and ADCD3 and not ADCD2.
Is it like CHIBI_HAL is not supporting to ADCD2? If support, where should i do changes?
I am using one STM32F303xx development board. On that ADC is connected at ADC2_IN12 Port PIN.So, as per that made TRUE for the macro STM32_ADC_USE_ADC2 from mcuconf.h.
And I already made TRUE for the HAL_USE_ADC in halconf.h.
Now after compliation i got following error message.
Code: Select all
../../chibios30/os/hal/ports/STM32/STM32F3xx/adc_lld.h:264:2: error: #error "ADC driver activated but no ADC peripheral assigned"
#error "ADC driver activated but no ADC peripheral assigned"
^
In HAL i checked only two ADC's are mentioned that ADCD1 and ADCD3 and not ADCD2.
Is it like CHIBI_HAL is not supporting to ADCD2? If support, where should i do changes?