mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-29 22:24:32 +02:00
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:
parent
013de821c7
commit
63236aa25c
@ -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}
|
||||
}
|
24
meta-3dr/recipes-firmware/pixhawk/pixhawk-stock-fw_1.5.4.bb
Normal file
24
meta-3dr/recipes-firmware/pixhawk/pixhawk-stock-fw_1.5.4.bb
Normal 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}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user