You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
149 lines
4.6 KiB
HTML
149 lines
4.6 KiB
HTML
<style type="text/css">
|
|
.tab-firmware_flasher .info {
|
|
margin: 0 0 10px 0;
|
|
}
|
|
.tab-firmware_flasher .info strong {
|
|
margin-right: 5px;
|
|
}
|
|
.tab-firmware_flasher .info .progress {
|
|
width: 140px;
|
|
|
|
border: 1px solid silver;
|
|
}
|
|
.tab-firmware_flasher .info .progress::-webkit-progress-value {
|
|
background-color: #f4af4d;
|
|
}
|
|
.tab-firmware_flasher .info .progress.valid::-webkit-progress-value {
|
|
background-color: #43c232;
|
|
}
|
|
.tab-firmware_flasher .info .progress.invalid::-webkit-progress-value {
|
|
background-color: #cf2222;
|
|
}
|
|
.tab-firmware_flasher .note {
|
|
float: left;
|
|
|
|
margin-bottom: 10px;
|
|
padding: 5px;
|
|
|
|
border: 1px dotted silver;
|
|
}
|
|
.tab-firmware_flasher .note p {
|
|
margin-bottom: 5px;
|
|
}
|
|
.tab-firmware_flasher .note input {
|
|
float: left;
|
|
margin-top: 2px;
|
|
}
|
|
a.load_file, a.load_remote_file {
|
|
display: block;
|
|
float: left;
|
|
|
|
margin: 0 10px 0 0;
|
|
padding: 0 10px 0 10px;
|
|
|
|
height: 20px;
|
|
line-height: 20px;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
|
|
border: 1px solid silver;
|
|
background-color: #ececec;
|
|
}
|
|
a.load_file:hover, a.load_remote_file:hover {
|
|
background-color: #dedcdc;
|
|
}
|
|
a.flash_firmware {
|
|
display: block;
|
|
float: left;
|
|
|
|
padding: 0 10px 0 10px;
|
|
|
|
height: 20px;
|
|
line-height: 20px;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
|
|
border: 1px solid silver;
|
|
background-color: #ececec;
|
|
}
|
|
a.flash_firmware:hover {
|
|
background-color: #dedcdc;
|
|
}
|
|
a.flash_firmware.locked {
|
|
background-color: #b8b8b8;
|
|
}
|
|
a.flash_firmware.locked:hover {
|
|
cursor: default;
|
|
background-color: #b8b8b8;
|
|
}
|
|
a.back {
|
|
display: block;
|
|
position: absolute;
|
|
|
|
bottom: 10px;
|
|
|
|
height: 28px;
|
|
line-height: 28px;
|
|
|
|
padding: 0 15px 0 15px;
|
|
|
|
text-align: center;
|
|
font-weight: bold;
|
|
|
|
border: 1px solid silver;
|
|
background-color: #ececec;
|
|
}
|
|
a.back:hover {
|
|
background-color: #dedcdc;
|
|
}
|
|
.warning {
|
|
width: 610px;
|
|
|
|
margin-top: 20px;
|
|
|
|
border: 1px solid silver;
|
|
}
|
|
.warning .title {
|
|
line-height: 20px;
|
|
|
|
text-align: center;
|
|
font-weight: bold;
|
|
color: white;
|
|
|
|
border-bottom: 1px solid silver;
|
|
background-color: #cd4c4c;
|
|
}
|
|
.warning p {
|
|
padding: 5px;
|
|
}
|
|
</style>
|
|
<div class="tab-firmware_flasher">
|
|
<div class="info">
|
|
<strong>Path:</strong><span class="path">empty</span><br />
|
|
<strong>Size:</strong><span class="size">0 bytes</span><br />
|
|
<strong>Status:</strong><span class="status">Firmware not loaded</span><br />
|
|
<strong>Progress:</strong><progress class="progress" value="0" min="0" max="100"></progress>
|
|
</div>
|
|
<div class="note">
|
|
<p>
|
|
If you are flashing board with <strong>baseflight</strong> already flashed (updating), leave this checkbox unchecked.<br />
|
|
If you are flashing "<strong>bare</strong>" board with no firmware preloaded or you have bootloader pins <strong>shorted</strong>, check this box.<br />
|
|
</p>
|
|
<span style="float: left; font-weight: bold; margin-right: 6px;">No reboot sequence:</span><input class="updating" type="checkbox" />
|
|
</div>
|
|
<div class="clear-both"></div>
|
|
<a class="load_file" href="#">Load Firmware [Local]</a>
|
|
<a class="load_remote_file" href="#">Load Firmware [Online]</a>
|
|
<a class="flash_firmware locked" href="#">Flash Firmware</a>
|
|
<div class="clear-both"></div>
|
|
<div class="warning">
|
|
<div class="title">Warning</div>
|
|
<p>
|
|
Please do not try to flash <strong>non-baseflight</strong> hardware with this firmware flasher (it wont work).<br />
|
|
Do not <strong>disconnect</strong> the board or <strong>turn off</strong> your computer while flashing.<br />
|
|
<br />
|
|
Note: <strong>STM32</strong> bootloader is stored in <strong>ROM</strong>, it cannot be bricked.<br />
|
|
</p>
|
|
</div>
|
|
<a class="back" href="#">Leave Firmware Flasher</a>
|
|
</div> |