paparazzi-devel
[Top][All Lists]
Advanced

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

[Paparazzi-devel] Defines can now be set for all targets of a firmware


From: Felix Ruess
Subject: [Paparazzi-devel] Defines can now be set for all targets of a firmware
Date: Thu, 11 Nov 2010 16:12:30 +0100

Hi all,

you can now add defines to all targets of a firmware instead of just
to a specific target.
So instead of repeating some defines like this:

<firmware name="fixedwing">
  <target name="ap"             board="twog_1.0">
    <define name="AGR_CLIMB"/>
    <define name="WIND_INFO"/>
    <define name="LOITER_TRIM"/>
    <define name="ALT_KALMAN"/>
  </target>

  <target name="sim"        board="pc">
    <define name="WIND_INFO"/>
    <define name="LOITER_TRIM"/>
  </target>

  <subsystem name="radio_control" type="ppm"/>
  <subsystem ..../>
</firmware>

you can now write it like this:

<firmware name="fixedwing">
  <target name="ap"             board="twog_1.0">
    <define name="AGR_CLIMB"/>
    <define name="ALT_KALMAN"/>
  </target>

  <target name="sim"        board="pc"/>

  <define name="WIND_INFO"/>
  <define name="LOITER_TRIM"/>

  <subsystem name="radio_control" type="ppm"/>
  <subsystem ..../>
</firmware>

The defines under a specific target will only get added to that
target, the defines under firmware will get added to all targets for
that firmware.
Thanks Gautier!

Cheers, Felix



reply via email to

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