mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-04-08 00:53:48 +02:00
OP-1493 Update BOARD_REVISION for discoveryf4bare and fix AutoUpdate
This commit is contained in:
parent
61a58eeba9
commit
dd86e7f9c4
2
Makefile
2
Makefile
@ -698,7 +698,7 @@ endif
|
|||||||
##############################
|
##############################
|
||||||
|
|
||||||
# Firmware files to package
|
# Firmware files to package
|
||||||
PACKAGE_FW_TARGETS := $(filter-out fw_simposix fw_discoveryf4bare, $(FW_TARGETS))
|
PACKAGE_FW_TARGETS := $(filter-out fw_simposix, $(FW_TARGETS))
|
||||||
PACKAGE_ELF_TARGETS := $(filter fw_simposix, $(FW_TARGETS))
|
PACKAGE_ELF_TARGETS := $(filter fw_simposix, $(FW_TARGETS))
|
||||||
|
|
||||||
# Rules to generate GCS resources used to embed firmware binaries into the GCS.
|
# Rules to generate GCS resources used to embed firmware binaries into the GCS.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
BOARD_TYPE := 0x09
|
BOARD_TYPE := 0x09
|
||||||
BOARD_REVISION := 0x03
|
BOARD_REVISION := 0x04
|
||||||
BOOTLOADER_VERSION := 0x06
|
BOOTLOADER_VERSION := 0x06
|
||||||
HW_TYPE := 0x00
|
HW_TYPE := 0x00
|
||||||
|
|
||||||
|
@ -102,6 +102,9 @@ void DeviceWidget::populate()
|
|||||||
case 0x0903:
|
case 0x0903:
|
||||||
devicePic.load(":/uploader/images/gcs-board-revo.png");
|
devicePic.load(":/uploader/images/gcs-board-revo.png");
|
||||||
break;
|
break;
|
||||||
|
case 0x0904:
|
||||||
|
devicePic.load(":/uploader/images/gcs-board-revo.png");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
// Clear
|
// Clear
|
||||||
devicePic.load("");
|
devicePic.load("");
|
||||||
|
@ -667,6 +667,9 @@ bool UploaderGadgetWidget::autoUpdate()
|
|||||||
case 0x903:
|
case 0x903:
|
||||||
filename = "fw_revolution";
|
filename = "fw_revolution";
|
||||||
break;
|
break;
|
||||||
|
case 0x904:
|
||||||
|
filename = "fw_discoveryf4bare";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
emit autoUpdateSignal(FAILURE, QVariant());
|
emit autoUpdateSignal(FAILURE, QVariant());
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user