diff --git a/roms/templates/roms/details.html b/roms/templates/roms/details.html index ab971cb..8bdd758 100644 --- a/roms/templates/roms/details.html +++ b/roms/templates/roms/details.html @@ -69,8 +69,16 @@
+
@@ -139,12 +147,19 @@ $(document).ready(function() {
$('#rom-link').text(url);
$('#rom-link').attr('href', url);
+ if(addr === 0x002000) {
+ $("#rom0-warning").show();
+ }
+ else {
+ $("#rom0-warning").hide();
+ }
+
command = 'esptool.py write_flash 0x' + addr.toString(16) + ' ' + filename;
$("#flash-command").text(command);
}
- setSlot(0x002000);
- $('#slot-select').val(0x002000);
+ setSlot(0x082000);
+ $('#slot-select').val(0x082000);
$("#slot-select").change(function() {
setSlot(parseInt($('#slot-select').val()));