Skip to content

Commit 8d40f35

Browse files
authored
Added introduction to Unified Targets. (#1725)
Added introduction to Unified Targets.
2 parents 4e56ba1 + 23ec6d1 commit 8d40f35

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

locales/en/messages.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2692,6 +2692,9 @@
26922692
"firmwareFlasherOnlineSelectBoardDescription": {
26932693
"message": "Select your board to see available online firmware releases - Select the correct firmware appropriate for your board."
26942694
},
2695+
"firmwareFlasherOnlineSelectBoardHint": {
2696+
"message": "Starting with Betaflight 4.1, Betaflight is introducing support for <strong>Unified Targets</strong>. The concept of Unified Targets means that the same firmware .hex file can be used for all boards using the same MCU (F4, F7). To make the different boards work with the same firmware, a specific configuration file is deployed alongside the firmware when a Unified Target is flashed.<br>This version of Betaflight configurator supports flashing of Unified Targets with the respective board specific configurations in one step. The different firmware types that are available for each board are shown in the drop-down as follows:<br><br><strong>&lt;board name&gt;</strong> or<br><strong>&lt;board name&gt; (Legacy)</strong>:<br>non-unified target, or pre-4.1 versions of the firmware for Unified Targets.<br><br><strong>&lt;board name&gt; (&lt;manufacturer id&gt;)</strong>:<br>(4 character manufacturer id)<br>Unified Target.<br><br><strong>Please use Unified Targets where available.</strong> If you encounter problems using a Unified Target, please open an <a href=\"https://github.com/betaflight/betaflight/issues\" target=\"_blank\" rel=\"noopener noreferrer\">issue</a> and then use the non-unified target until the issue has been resolved."
2697+
},
26952698
"firmwareFlasherOnlineSelectFirmwareVersionDescription": {
26962699
"message": "Select firmware version for your board."
26972700
},

src/css/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,9 @@ button.active {
19611961
max-width: 180px;
19621962
}
19631963

1964+
.jBox-Widetip {
1965+
max-width: 300px;
1966+
}
19641967

19651968
@media only screen and (max-width: 1055px) , only screen and (max-device-width: 1055px) {
19661969

src/js/gui.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,20 @@ GUI_control.prototype.content_ready = function (callback) {
360360
outside: 'x'
361361
});
362362

363+
new jBox('Tooltip', {
364+
theme: 'Widetip',
365+
attach: '.cf_tip_wide',
366+
trigger: 'mouseenter',
367+
closeOnMouseleave: true,
368+
closeOnClick: 'body',
369+
delayOpen: 100,
370+
delayClose: 100,
371+
position: {
372+
x: 'right',
373+
y: 'center'
374+
},
375+
outside: 'x'
376+
});
363377
});
364378

365379
if (callback) callback();

src/tabs/firmware_flasher.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<td><select name="board">
2727
<option value="0" i18n="firmwareFlasherOptionLoading">Loading ...</option>
2828
</select></td>
29-
<td><span class="description" i18n="firmwareFlasherOnlineSelectBoardDescription"></span></td>
29+
<td><span class="description" i18n="firmwareFlasherOnlineSelectBoardDescription"></span><div class="helpicon cf_tip_wide" i18n_title="firmwareFlasherOnlineSelectBoardHint"/></td>
3030
</tr>
3131
<tr>
3232
<td><select name="firmware_version">

0 commit comments

Comments
 (0)