diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 4bfdcf5b..6f4ea72b 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -136,7 +136,7 @@
"message": "Request Optional Permissions"
},
"defaultWelcomeText": {
- "message": "This application is a configuration utility for cleanflight, a 32 bit fork of the popular open source RC flight control firmware project MultiWii.
Application supports hardware that run cleanflight (acro naze, naze, afromini, flip32, flip32+, chebuzz f3, stm32f3discovery, naze32pro, etc)
The firmware source code can be downloaded from here
The newest binary firmware image is available here
Latest CP210x Drivers can be downloaded from here
"
+ "message": "Welcome to Cleanflight - Configurator, utility designed to simplify updating, configuring and tuning of your flight controller.
Application supports hardware that run cleanflight (acro naze, naze, afromini, flip32, flip32+, chebuzz f3, stm32f3discovery, naze32pro, etc)
The firmware source code can be downloaded from here
The newest binary firmware image is available here
Latest CP210x Drivers can be downloaded from here
"
},
"defaultChangelogHead": {
"message": "Configurator - Changelog"
@@ -524,7 +524,7 @@
"message": "Progress:"
},
"firmwareFlasherNote": {
- "message": "If you are flashing board with bootloader pins shorted/connected, check No reboot sequence.
If you want configuration data to be wiped, check Full Chip Erase
"
+ "message": "If you are flashing board with bootloader pins shorted/connected, check No reboot sequence.
If you want configuration data to be wiped, check Full Chip Erase
If you are flashing via bluetooth adapter or using external usb to serial adapter, check Flash slowly
"
},
"firmwareFlasherNoReboot": {
"message": "No reboot sequence"
@@ -535,6 +535,12 @@
"firmwareFlasherFullChipErase": {
"message": "Full Chip Erase"
},
+ "firmwareFlasherFlashSlowly": {
+ "message": "Flash slowly"
+ },
+ "firmwareFlasherFlashSlowlyTitle": {
+ "message": "Use 115200 baudrate for flashing"
+ },
"firmwareFlasherButtonLoadLocal": {
"message": "Load Firmware [Local]"
},
@@ -566,19 +572,16 @@
"message": "Leave Firmware Flasher"
},
"firmwareFlasherFirmwareNotLoaded": {
- "message": "Firmware not loaded"
- },
- "firmwareFlasherLocalFirmwareLoaded": {
- "message": "Local Firmware loaded, ready for flashing"
+ "message": "Firmware not loaded"
},
"firmwareFlasherHexCorrupted": {
- "message": "HEX file appears to be corrupted"
+ "message": "HEX file appears to be corrupted"
},
"firmwareFlasherRemoteFirmwareLoaded": {
"message": "Remote Firmware loaded, ready for flashing"
},
"firmwareFlasherFailedToLoadOnlineFirmware": {
- "message": "Failed to load remote firmware"
+ "message": "Failed to load remote firmware"
},
"firmwareFlasherWaitForFinish": {
"message": "You can't do this right now, please wait for current operation to finish ..."
diff --git a/changelog.html b/changelog.html
index 749e7a6e..7c49f493 100644
--- a/changelog.html
+++ b/changelog.html
@@ -1,6 +1,8 @@
-08.25.2014 - 0.49.2 cleanflight
+08.31.2014 - 0.50
- - Disable sponsors panel.
+ - Small UI revamp for Firmware Flasher
+ - Added "Flash slowly" mode (bluetooth friendly)
+ - Bugfixes
diff --git a/js/data_storage.js b/js/data_storage.js index 36151a7c..ef80cc99 100644 --- a/js/data_storage.js +++ b/js/data_storage.js @@ -1,7 +1,7 @@ 'use strict'; var CONFIGURATOR = { - 'releaseDate': 1408379746980, // 08.18.2014 - new Date().getTime() + 'releaseDate': 1409496670288, // 08.31.2014 - new Date().getTime() 'firmwareVersionAccepted': 2.3, 'connectionValid': false, 'mspPassThrough': false, diff --git a/js/protocols/stm32usbdfu.js b/js/protocols/stm32usbdfu.js index 50da3e9d..e145f977 100644 --- a/js/protocols/stm32usbdfu.js +++ b/js/protocols/stm32usbdfu.js @@ -256,7 +256,7 @@ STM32DFU_protocol.prototype.upload_procedure = function (step) { case 2: // full chip erase console.log('Executing global chip erase'); - GUI.log('Erasing ...'); + $('span.progressLabel').text('Erasing ...'); self.controlTransfer('out', self.request.DNLOAD, 0, 0, 0, [0x41], function () { self.controlTransfer('in', self.request.GETSTATUS, 0, 0, 6, 0, function (data) { @@ -284,7 +284,7 @@ STM32DFU_protocol.prototype.upload_procedure = function (step) { // upload // we dont need to clear the state as we are already using DFU_DNLOAD console.log('Writing data ...'); - GUI.log('Flashing ...'); + $('span.progressLabel').text('Flashing ...'); var blocks = self.hex.data.length - 1; var flashing_block = 0; @@ -355,7 +355,7 @@ STM32DFU_protocol.prototype.upload_procedure = function (step) { case 5: // verify console.log('Verifying data ...'); - GUI.log('Verifying ...'); + $('span.progressLabel').text('Verifying ...'); var blocks = self.hex.data.length - 1; var reading_block = 0; @@ -422,7 +422,7 @@ STM32DFU_protocol.prototype.upload_procedure = function (step) { if (verify) { console.log('Programming: SUCCESSFUL'); - GUI.log('Programming: SUCCESSFUL'); + $('span.progressLabel').text('Programming: SUCCESSFUL'); googleAnalytics.sendEvent('Flashing', 'Programming', 'success'); // update progress bar @@ -432,7 +432,7 @@ STM32DFU_protocol.prototype.upload_procedure = function (step) { self.upload_procedure(6); } else { console.log('Programming: FAILED'); - GUI.log('Programming: FAILED'); + $('span.progressLabel').text('Programming: FAILED'); googleAnalytics.sendEvent('Flashing', 'Programming', 'fail'); // update progress bar diff --git a/manifest.json b/manifest.json index b2b140e4..f2447aca 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,7 @@ { "manifest_version": 2, "minimum_chrome_version": "36", - "version": "0.49.2", - + "version": "0.50", "author": "Hydra", "name": "Cleanflight - Configurator", "short_name": "cleanflight", diff --git a/tabs/auxiliary_configuration.js b/tabs/auxiliary_configuration.js index df54efe0..0287ccf3 100644 --- a/tabs/auxiliary_configuration.js +++ b/tabs/auxiliary_configuration.js @@ -125,7 +125,7 @@ TABS.auxiliary_configuration.initialize = function (callback) { AUX_val_buffer_out.push(highByte((AUX_CONFIG_values[i] >> 16) & 0xFFF)); } } - + MSP.send_message(MSP_codes.MSP_SET_BOX, AUX_val_buffer_out, false, save_to_eeprom); function save_to_eeprom() { diff --git a/tabs/default.css b/tabs/default.css index edd13cc1..e44771d6 100644 --- a/tabs/default.css +++ b/tabs/default.css @@ -146,9 +146,6 @@ .firmware_flasher:hover { background-color: #dedcdc; } - .tab-default .sponsors { - display: none; - } .tab-default .sponsors { margin-top: 10px; border: 1px solid silver; diff --git a/tabs/default.html b/tabs/default.html index 85c8f182..3b0970d7 100644 --- a/tabs/default.html +++ b/tabs/default.html @@ -11,7 +11,7 @@
-