#$ TITLE: FPV.WTF MSP-OSD
#$ FIRMWARE_VERSION: 4.2
#$ FIRMWARE_VERSION: 4.3
#$ CATEGORY: VTX
#$ STATUS: COMMUNITY
#$ KEYWORDS:  vtx, dji, vista, air unit, fpv.wtf, wtfos, msp-osd, displayport, msp
#$ AUTHOR: benlumley

#$ PARSER: MARKED

#$ DESCRIPTION:
#$ DESCRIPTION: <img src="https://fpv.wtf/logo192.png" width="100" height="100" style="object-fit: cover; margin-left: auto; margin-right: auto; display: block;"/>
#$ DESCRIPTION:
#$ DESCRIPTION: # DJI FPV.WTF MSP-OSD setup
#$ DESCRIPTION: Sets up MSP displayport on selected UART for use with MSP-OSD
#$ DESCRIPTION: <br>
#$ DESCRIPTION: <br>
#$ DESCRIPTION: The information provided on this preset is for educational and entertainment purposes only. Betaflight makes no representations as to the safety or legality of the use of any information provided herein. End users assume all responsibility and liability for ensuring they are complying with all relevant laws and regulations.

#$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/298

set vcd_video_system = PAL
set osd_displayport_device = MSP

#$ OPTION BEGIN (UNCHECKED): use displayport on uart 1
serial 0 1 115200 57600 0 115200
set displayport_msp_serial = 0
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): use displayport on uart 2
serial 1 1 115200 57600 0 115200
set displayport_msp_serial = 1
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): use displayport on uart 3
serial 2 1 115200 57600 0 115200
set displayport_msp_serial = 2
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): use displayport on uart 4
serial 3 1 115200 57600 0 115200
set displayport_msp_serial = 3
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): use displayport on uart 5
serial 4 1 115200 57600 0 115200
set displayport_msp_serial = 4
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): use displayport on uart 6
serial 5 1 115200 57600 0 115200
set displayport_msp_serial = 5
#$ OPTION END
