FIRMWARE: ArduCopter Solo 1.5.4 for stock Cube 2.0

Replacing the 3DR ArduCopter Solo 1.3.1 with Open Solo ArduCopter Solo
1.5.4 for the stock Pixhawk 2.0 cube.  See the release notes in the 3DR
and Open Solo ArduPilot-Solo repos.
This commit is contained in:
Matt 2017-12-17 15:47:51 -05:00
parent 013de821c7
commit 63236aa25c
2 changed files with 24 additions and 28 deletions

View File

@ -1,28 +0,0 @@
SUMMARY = "Pixhawk firmware binary"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://${THISDIR}/files/COPYING.txt;md5=d32239bcb673463ab874e80d47fae504"
firmwaredir = "/firmware"
FILES_${PN} += "${firmwaredir}/"
REPO_NAME = "ardupilot-solo"
#REPO_TAG = "solo-${PV}"
REPO_TAG = "solo-master"
FILE_EXT = "px4"
FILE_SRC = "ArduCopter-v2.${FILE_EXT}"
FILE_DST = "ArduCopter-${PV}.${FILE_EXT}"
do_fetch () {
# TODO - smart fetch the correct version of the formware to match the repo-tag requested or something
# for now, get the LATEST MASTER PX4v2 ( ie pixhawk1 or 2.0(solo) firmware from ArduPilot build system:
wget http://firmware.ap.ardupilot.org/Copter/stable/PX4/ArduCopter-v3.px4 -O ${WORKDIR}/${FILE_SRC}
# or simply fake it with a zero-length file if the curl fails for some reason..:
#touch ${WORKDIR}/${FILE_SRC}
}
do_install () {
install -d ${D}${firmwaredir}
install -m 0644 ${WORKDIR}/${FILE_SRC} ${D}${firmwaredir}/${FILE_DST}
}

View File

@ -0,0 +1,24 @@
SUMMARY = "Pixhawk stock cube firmware binary"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://${THISDIR}/files/COPYING.txt;md5=d32239bcb673463ab874e80d47fae504"
firmwaredir = "/firmware/3dr"
FILES_${PN} += "${firmwaredir}/"
REPO_NAME = "ardupilot-solo"
REPO_TAG = "solo-${PV}"
FILE_EXT = "px4"
FILE_SRC = "ArduCopter-v2.${FILE_EXT}"
FILE_DST = "ArduCopter-StockCube-${PV}.${FILE_EXT}"
do_fetch () {
wget https://github.com/OpenSolo/ardupilot-solo/releases/download/solo-1.5.4/ArduCopter-v2.px4 -O ${WORKDIR}/${FILE_SRC}
}
do_install () {
install -d ${D}${firmwaredir}
install -m 0644 ${WORKDIR}/${FILE_SRC} ${D}${firmwaredir}/${FILE_DST}
}