mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-05-29 04:50:24 +02:00
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:
parent
e7cc0a3a47
commit
d63a8707e8
@ -47,8 +47,7 @@ IMAGE_INSTALL += " \
|
|||||||
shotmanager \
|
shotmanager \
|
||||||
rpm \
|
rpm \
|
||||||
util-linux \
|
util-linux \
|
||||||
pixhawk-stock-fw \
|
cubeBlack-solo \
|
||||||
pixhawk-green-fw \
|
|
||||||
gimbal-firmware \
|
gimbal-firmware \
|
||||||
e2fsprogs-e2fsck \
|
e2fsprogs-e2fsck \
|
||||||
dosfstools \
|
dosfstools \
|
||||||
|
18
meta-3dr/recipes-firmware/pixhawk/cubeBlack-solo_3.7.dev.bb
Normal file
18
meta-3dr/recipes-firmware/pixhawk/cubeBlack-solo_3.7.dev.bb
Normal 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}
|
||||||
|
}
|
12
meta-3dr/recipes-firmware/pixhawk/files/arducopter.apj
Normal file
12
meta-3dr/recipes-firmware/pixhawk/files/arducopter.apj
Normal file
File diff suppressed because one or more lines are too long
0
meta-3dr/recipes-firmware/pixhawk/files/resetParams
Normal file
0
meta-3dr/recipes-firmware/pixhawk/files/resetParams
Normal 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}
|
|
||||||
}
|
|
@ -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}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user