Files
paparazzi/conf/modules/osd_max7456.xml
T
hendrixgr 8b56049d21 [board] add support of the MatekF405 board
includes baro bmp280 and updated max7456 osb

Squashed commit of the following:

commit 647ec61a9a16966b523bbf5f535ce85679785c9a
Author: Gautier Hattenberger <gautier.hattenberger@enac.fr>
Date:   Wed Oct 14 18:33:02 2020 +0200

    [conf] matek board module only configure internal sensors

    it makes it easier to reuse by other people

commit 9bfa96685d
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 17:41:32 2020 +0300

    Easyglider with Matek F405 Wing autopilot airframes

    Added coordinated turning using both the ailerons and the rudder in Auto2

commit e736781ac3
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 17:40:05 2020 +0300

    Easyglider with Matek F405 Wing autopilot airframes.

    I added the combi switch for coordinated turns using both the alilerons and the rudder in Auto2.

commit 8be348a1d8
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 17:39:02 2020 +0300

    Easyglider with Matek F405 Wing autopilot

    I added the combi switch for coordinated turns using both the alilerons and the rudder in Auto2.

commit c0f7339686
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 16:19:35 2020 +0300

    Easyglider and Matek wing autopilot module autoload file

    I just added some comments.

commit c4645705ad
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 16:12:44 2020 +0300

    Easyglider with Matek wing autopilot and module autoload/

    This airframe file needs the paparazzi/conf/module/board_matek_wing.xml file in order to compile.

commit 2c273589d3
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 16:04:50 2020 +0300

    board module for auto loading the required modules

    I don't usually change those airframe modules so i put them all in the board module file.

commit 58e1e551d1
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 13:34:18 2020 +0300

    Removed the Baro definitions and cleaned up the file.

commit a1a47ec150
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 13:30:02 2020 +0300

    Corrected the autopilot type and link to the manufacturer.

commit 870f2d2e94
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 13:26:41 2020 +0300

    Removed the .xml file type from modules and changed the spoken aircraft name.

commit 700141cc9c
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 08:05:31 2020 +0300

    Added support for the Matek F405 Wing autopilot OSD.

    Removed all warning and pragma messages and used PRINT_CONFIG_MSG() instead.
    Added support for rotorcrafts which i don't like....
    Matek osd will work now, TEXT artificial horizon is added, additional string format capabilities are given in the osd_put_s() and osd_sprintf() functions , able to inject special osd character code in to a string to be sent to the osd display
    and the code now checks the osd chip's busy flag instead of waiting and hoping that the OSD is not busy.

commit fe17c0250c
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Wed Oct 14 07:30:11 2020 +0300

    Update osd_max7456.xml

    I removed the PAL or NTSC selection because i think this should be done in the airframe file.

commit a1966511f9
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 22:38:21 2020 +0300

    Matek F405 Wing OSD support

    Added support for rotorcrafts which i don't like....
    Matek osd will work now, TEXT artificial horizon is added, additional string format capabilities are given in the osd_put_s() and osd_sprintf() functions , able to inject special osd character code in to a string to be sent to the osd display
    and the code now checks the osd chip's busy flag instead of waiting and hoping that the OSD is not busy.

commit 4edaecc3bf
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 21:34:38 2020 +0300

    Matek OSD support

    I changed the HOME waypoint altitude to ground alt in order to avoid a compiler error about not finding  waypoints[WP_HOME].a
    Matek osd will work now, TEXT artificial horizon is added, additional string format capabilities are given in the osd_put_s() and osd_sprintf() functions , able to inject special osd character code in to a string to be sent to the osd display
    and the code now checks the osd chip's busy flag instead of waiting and hoping that the OSD is not busy.

commit 201d5e7793
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 19:51:15 2020 +0300

    Delete Easystar_matek_f405_wing.xml

commit a6730fb148
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 19:49:50 2020 +0300

    Easyglider airframe file corrected.

    It had the parachute radio channel in it which doesn't exist but strangely it was compiling fine here until i deleted the aircraft and created a new one.

commit a430091754
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 18:26:31 2020 +0300

    Baro BMP280 files

    I can only test the BMP280 in I2C mode so SPI must wait...

commit 2bc25212ac
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 18:22:47 2020 +0300

    Barometer BMP280 files

    This time only double precision is available.

commit 03dc09de77
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 18:18:16 2020 +0300

    Matek F405 Wing board header file

    The Matek autopilot can measure up to 104A so logically 104 /4096 step of the ADC should give 25,3 ma for every adc count.
    Some measurements are needed.

commit c77c2365da
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 18:04:49 2020 +0300

    Barometer BMP280 module XML file.

commit 2e3721bbad
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 16:21:06 2020 +0300

    Improved OSD and Matek type OSD support.

    Matek osd will work now, TEXT artificial horizon is added, additional string format capabilities are given in the osd_put_s() and osd_sprintf() functions , able to inject special osd character code in to a string to be sent to the osd display
    and the code now checks the osd chip's busy flag instead of waiting and hoping that the OSD is not busy.

commit f67172d1a6
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 15:48:54 2020 +0300

    Radio file for OPENTX radios and 8 channels PPM signal

commit 294341357e
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 15:45:37 2020 +0300

    Telemetry file for use with the orangerx loaded with the OPENLRSNG firmware

    Telemetry file for use with the orangerx 433 Mhz receiver or any other OPENLRSNG capable receiver.
    The OPENLRSNG receivers have a transparent serial datalink built in to the radio control signal thus eliminating the need for a separate modem.

commit e8905c8158
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 15:38:53 2020 +0300

    Easystar glider with the MATEK F405 WING

    Airframe file of the Easystar powered glider with the Matek F405 Wing autopilot.

commit de3f5f54b3
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 12:33:09 2020 +0300

    improved osd

    Matek osd will work now, TEXT artificial horizon, additional string format capabilities, able to inject special osd character code in to a string to be sent to the osd display
    and the code now checks the osd chip's busy flag instead of waiting.

commit 78ae7cccc3
Author: hendrixgr <hendrixgr@gmail.com>
Date:   Tue Oct 13 12:27:56 2020 +0300

    matek f405 wing autopilot makefile
2020-10-14 21:30:16 +02:00

31 lines
1.1 KiB
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="max7456" dir="display">
<doc>
<description>MAX7456 driver (SPI)</description>
<configure name="MAX7456_SPI_DEV" value="spiX" description="select spi peripheral to use (default spi2)"/>
<configure name="MAX7456_SLAVE_IDX" value="SPI_SLAVE0" description="SPI slave select index"/>
</doc>
<header>
<file name="max7456.h"/>
</header>
<init fun="max7456_init()"/>
<periodic fun="max7456_periodic()" freq="20" autorun="TRUE"/>
<event fun="max7456_event()"/>
<makefile target="ap">
<configure name="MAX7456_SPI_DEV" default="spi2" case="upper|lower"/>
<configure name="MAX7456_SLAVE_IDX" default="spi_slave2" case="upper|lower"/>
<raw>
include $(CFG_SHARED)/spi_master.makefile
</raw>
<define name="USE_$(MAX7456_SPI_DEV_UPPER)" />
<define name="USE_$(MAX7456_SLAVE_IDX_UPPER)" />
<define name="MAX7456_SPI_DEV" value="$(MAX7456_SPI_DEV_LOWER)" />
<define name="MAX7456_SLAVE_IDX" value="$(MAX7456_SLAVE_IDX_UPPER)" />
<file name="max7456.c" />
<define name="OSD_USE_EXTERNAL_SPRINTF" value="0" />
</makefile>
</module>