Difference between revisions of "User/AirborneCodeReorg"
Jump to navigation
Jump to search
(added available subsystems) |
|||
Line 1: | Line 1: | ||
This page summarizes the changes needed to switch from the all "raw makefile in airframes" to a new "xml only aiframes" syntax | This page summarizes the changes needed to switch from the all "raw makefile in airframes" to a new "xml only aiframes" syntax | ||
=First step= | ==First step== | ||
*fixed wings users: | *fixed wings users: | ||
Line 15: | Line 15: | ||
you can look in conf/airframes/microjet5.xml to see how it's done. The list of supported boards is "twog_1", "tiny_2.11", "tiny_2.1", "tiny_1.1", "tiny_0.99", "booz" and "lisa_l_1.0" | you can look in conf/airframes/microjet5.xml to see how it's done. The list of supported boards is "twog_1", "tiny_2.11", "tiny_2.1", "tiny_1.1", "tiny_0.99", "booz" and "lisa_l_1.0" | ||
== available subsystems == | |||
{| class="wikitable" style="text-align:center" border="1" | |||
! Name !! type !! airframe(s) !! description | |||
|- | |||
|radio_control || ppm || FW || ppm based R/C input | |||
|- | |||
|radio_control || spektrum || FW || spektrum based R/C input | |||
|} |
Revision as of 14:18, 17 August 2010
This page summarizes the changes needed to switch from the all "raw makefile in airframes" to a 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. The list of supported boards is "twog_1", "tiny_2.11", "tiny_2.1", "tiny_1.1", "tiny_0.99", "booz" and "lisa_l_1.0"
available subsystems
Name | type | airframe(s) | description |
---|---|---|---|
radio_control | ppm | FW | ppm based R/C input |
radio_control | spektrum | FW | spektrum based R/C input |