|
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:1.9.1.15) 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 --> </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
[Prev in Thread] | Current Thread | [Next in Thread] |