Difference between revisions of "User/AirborneCodeReorg"

From PaparazziUAV
Jump to navigation Jump to search
Line 1: Line 1:
This page summarizes the changes needed to switch from the all "raw makefile in airframe" to the new "xml only aiframes" syntax
This page summarizes the changes needed to switch from the all "raw makefile in airframes" to the new "xml only aiframes" syntax


=First step=
=First step=

Revision as of 13:37, 17 August 2010

This page summarizes the changes needed to switch from the all "raw makefile in airframes" to the new "xml only aiframes" syntax

First step

  • fixed wings users:

Comment out or remove the following lines in the makefile section of your airframe.xml

ap.CFLAGS += -DRADIO_CONTROL
ap.srcs += radio_control.c $(SRC_ARCH)/ppm_hw.c  

Add a new xml section like this:

 <target name="fixed_wings" board="tiny_2.11">
   <subsystem name="radio_control" type="ppm"/>
 </target>

you can look in conf/airframes/microjet5.xml to see how it's done