diff --git a/meta-3dr/recipes-firmware/pixhawk/pixhawk-firmware_1.3.1.bb b/meta-3dr/recipes-firmware/pixhawk/pixhawk-firmware_1.3.1.bb index bf6e56c..ffe0678 100644 --- a/meta-3dr/recipes-firmware/pixhawk/pixhawk-firmware_1.3.1.bb +++ b/meta-3dr/recipes-firmware/pixhawk/pixhawk-firmware_1.3.1.bb @@ -17,7 +17,7 @@ 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: - curl http://firmware.ap.ardupilot.org/Copter/stable/PX4/ArduCopter-v3.px4 -o ${WORKDIR}/${FILE_SRC} + 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} } @@ -26,3 +26,5 @@ do_install () { install -d ${D}${firmwaredir} install -m 0644 ${WORKDIR}/${FILE_SRC} ${D}${firmwaredir}/${FILE_DST} } + +wget -O ac.px4 http://firmware.ap.ardupilot.org/Copter/stable/PX4/ArduCopter-v3.px4 \ No newline at end of file