BUILD: Copter 3.7-dev FW; BB use single arducopter.apj for all cubes

- Tags /firmware with resetParams for pixhawk.py to execute a parameter reset on boot
- Remove separate 3dr & green cube directories. Use single FW for all
- Adds Copter 3.7dev FW, which currently includes pending PR for slew protection
This commit is contained in:
Matt Lawrence 2019-01-05 20:37:19 -05:00 committed by Matt
parent e7cc0a3a47
commit d63a8707e8
6 changed files with 31 additions and 47 deletions

View File

@ -47,8 +47,7 @@ IMAGE_INSTALL += " \
shotmanager \
rpm \
util-linux \
pixhawk-stock-fw \
pixhawk-green-fw \
cubeBlack-solo \
gimbal-firmware \
e2fsprogs-e2fsck \
dosfstools \

View File

@ -0,0 +1,18 @@
SUMMARY = "ArduCopter 3.7 firmware for cube"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://${THISDIR}/files/COPYING.txt;md5=d32239bcb673463ab874e80d47fae504"
FILESEXTRAPATHS_prepend := "${THISDIR}/files/:"
SRC_URI += "file://arducopter.apj"
SRC_URI += "file://resetParams"
FILES_${PN} += "/firmware"
firmwaredir = "/firmware"
do_install () {
install -d ${D}${firmwaredir}
install -m 0644 ${WORKDIR}/arducopter.apj ${D}${firmwaredir}
install -m 0644 ${WORKDIR}/resetParams ${D}${firmwaredir}
}

File diff suppressed because one or more lines are too long

View File

@ -1,21 +0,0 @@
SUMMARY = "Pixhawk firmware binary"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://${THISDIR}/files/COPYING.txt;md5=d32239bcb673463ab874e80d47fae504"
firmwaredir = "/firmware/green"
FILES_${PN} += "${firmwaredir}/"
REPO_NAME = "ardupilot-solo"
#REPO_TAG = "solo-${PV}"
REPO_TAG = "solo-master"
FILE_EXT = "px4"
FILE_SRC = "ArduCopter-v3_3.5.4_Solo.px4"
FILE_DST = "ArduCopter-v3_3.5.4_Solo.px4"
do_fetch () {
wget https://github.com/OpenSolo/documentation/raw/master/ArduCopter-v3_3.5.4_Solo.px4 -O ${WORKDIR}/${FILE_SRC}
}
do_install () {
install -d ${D}${firmwaredir}
install -m 0644 ${WORKDIR}/${FILE_SRC} ${D}${firmwaredir}/${FILE_DST}
}

View File

@ -1,24 +0,0 @@
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}
}