[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] adc_generic.c not found for target ap

From: Martin Mueller
Subject: Re: [Paparazzi-devel] adc_generic.c not found for target ap
Date: Sun, 05 Dec 2010 18:40:51 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20101027 Thunderbird/3.0.10

Hi Wolfgang,

I am currently stuck to a problem when using adc.generic and compiling to
target ap. Compiling to sim and executing is okay.

     <subsystem name="adc"             type="generic">
       <param name="ADC_GENERIC1"        value="ADC_3"/>  <!-- temperauture
sensor -->

   <modules main_freq="4">
     <load name="adc_generic.xml"/>

adc_generic.xml specifies the new location of adc_generic.c which now is

it is just a module now, not a subsystem any more. Can you try this:

    <load name="adc_generic.xml">
      <flag name="ADC_CHANNEL_GENERIC1" value="ADC_3"/>
      <flag name="ADC_CHANNEL_GENERIC2" value="ADC_4"/>
      <flag name="USE_ADC_3"/>
      <flag name="USE_ADC_4"/>

For some reason the USE_ADC_x has to be specified and it is not set by variable name/replaced in the module xml. Maybe someone can take a look.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]