paparazzi-devel
[Top][All Lists]
Advanced

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

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


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Re: adc_generic.c not found for target ap (Martin Mueller)
Date: Sun, 19 Dec 2010 22:12:55 +0100

Hi Wolfgang,

this was a problem that DOWNLINK_DEVICE was not defined in the modules
if transparent telemetry was used due to include order issues.
This was fixed a week ago, so please update again.

Cheers, Felix

On Sun, Dec 19, 2010 at 8:53 PM, Wolfgang Schaeper
<address@hidden> wrote:
> Hi Martin,
> thanks for your help. I followed your advice, but I'm afraid, that's not
> all:
> When I compile for target ap a warning comes up:
>
> CC /home/wolfgang/paparazzi/var/easyglider/ap/modules/adcs/adc_generic.o
> modules/adcs/adc_generic.c: In function `adc_generic_periodic':
> modules/adcs/adc_generic.c:46: warning: implicit declaration of function
> `DOWNLINK_DEVICECheckFreeSpace'
> modules/adcs/adc_generic.c:46: warning: nested extern declaration of
> `DOWNLINK_DEVICECheckFreeSpace'
> modules/adcs/adc_generic.c:46: warning: implicit
>
> Although only a warning, compilation is immediately aborted.
> My airframe.xml specifies for communication:
>
> <!-- Communication -->
> <subsystem name="telemetry"     type="transparent">
>  <param name="MODEM_BAUD"      value="B9600"/>
> </subsystem>
>
> Without adding adc_generic, all TM messages are transmitted normally.
> The problem exists with any combination of airframe, flight_plan, telemetry
> etc. settings.
> Do you have an idea where to find the bug?
> Regards,
> Wolfgang
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 05 Dec 2010 18:40:51 +0100
> From: Martin Mueller <address@hidden>
> Subject: Re: [Paparazzi-devel] adc_generic.c not found for target ap
> To: address@hidden
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> 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 -->
>>      </subsystem>
>>    </firmware>
>>
>>    <modules main_freq="4">
>>      <load name="adc_generic.xml"/>
>>    </modules>
>>
>> adc_generic.xml specifies the new location of adc_generic.c which now is
>> sw/airborne/modules/adcs.
>
> it is just a module now, not a subsystem any more. Can you try this:
>
>   <modules>
>     <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"/>
>     </load>
>   </modules>
>
> 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.
>
> Martin
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>



reply via email to

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