mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01: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
|
||||
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))
|
||||
|
||||
# Rules to generate GCS resources used to embed firmware binaries into the GCS.
|
||||
|
@ -1,5 +1,5 @@
|
||||
BOARD_TYPE := 0x09
|
||||
BOARD_REVISION := 0x03
|
||||
BOARD_REVISION := 0x04
|
||||
BOOTLOADER_VERSION := 0x06
|
||||
HW_TYPE := 0x00
|
||||
|
||||
|
@ -102,6 +102,9 @@ void DeviceWidget::populate()
|
||||
case 0x0903:
|
||||
devicePic.load(":/uploader/images/gcs-board-revo.png");
|
||||
break;
|
||||
case 0x0904:
|
||||
devicePic.load(":/uploader/images/gcs-board-revo.png");
|
||||
break;
|
||||
default:
|
||||
// Clear
|
||||
devicePic.load("");
|
||||
|
@ -667,6 +667,9 @@ bool UploaderGadgetWidget::autoUpdate()
|
||||
case 0x903:
|
||||
filename = "fw_revolution";
|
||||
break;
|
||||
case 0x904:
|
||||
filename = "fw_discoveryf4bare";
|
||||
break;
|
||||
default:
|
||||
emit autoUpdateSignal(FAILURE, QVariant());
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user