|Subject:||Re: [Paparazzi-devel] Problem with ADC-6 with Lisa M 2 similar configuration|
|Date:||Mon, 01 Sep 2014 15:59:55 -0400|
|User-agent:||Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0|
Thank you for your answer Felix ! |
I use paparazzi 5, the up to date version of 1 month ago. Also, I tested the same code in a "real" lisa m 2 autopilot, and the problem is still the same.
Yes, the "USE_ADC_6" is in the good section. In fact, I know it's enter in the definition of ADC_6 in lisa_m_common.h line 195 (I put a flag) :
#warning FLAG: ADC_6 in use
#define AD2_2_CHANNEL 12
#define ADC_6 AD2_2
#define ADC_6_GPIO_PORT GPIOC
#define ADC_6_GPIO_PIN GPIO2
And when I "print config at build time" I get :
" arch/stm32/mcu_periph/adc_arch.c:249:3: note: #pragma message: Config: Info: Using ADC_6 "
Do we have do desactivate the LED_3 to use ADC_6 ? Does the configuration for LED_3 and ADC_6 can enter in conflict ?
Le 2014-09-01 15:32, Felix Ruess a écrit :
|[Prev in Thread]||Current Thread||[Next in Thread]|