-
Notifications
You must be signed in to change notification settings - Fork 7.6k
/
Copy pathindex.html
72 lines (67 loc) · 3.65 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ESP32-C6 SDIO-Hosted</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/xterm@4.19.0/css/xterm.css">
<link href="https://fonts.googleapis.com/css?family=Orbitron" rel="stylesheet">
<link rel="icon" href="favicon.ee2246ac.ico">
<script src="https://cdn.jsdelivr.net/npm/xterm@4.19.0/lib/xterm.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/crypto-js@4.1.1/crypto-js.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<h1 align="center"><p><img src="esp-logo.e558125a.png" width="42" height="42" style="vertical-align: middle" crossorigin=""> ESP Tool</p></h1>
<h4 align="center">A Serial Flasher utility for Espressif chips</h4>
<div id="safariErr" style="display: none"><p align="center" style="color: red">This tool is not supported on Safari browser!</p>
</div>
<div class="container" id="main">
<hr>
<div id="program">
<h3> Program ESP32-C6 as SDIO ESP-Hosted adapter </h3>
<input class="btn btn-success" type="button" id="connectButton" value="Connect">
<input class="btn btn-primary" type="button" id="copyTraceButton" value="Copy Trace">
<input class="btn btn-danger" type="button" id="disconnectButton" value="Disconnect">
<input class="btn btn-warning" type="button" id="eraseButton" value="Erase Flash">
<input class="btn btn-warning" type="button" id="resetButton" value="Reset">
<label for="baudrates" id="lblBaudrate">Baudrate:</label>
<select name="baudrates" id="baudrates">
<option value="921600">921600</option>
<option value="460800">460800</option>
<option value="230400">230400</option>
<option value="115200">115200</option>
</select>
<br>
<label style="display: none" id="lblConnTo">Connected to device: </label>
<div id="files">
<table class="table table-striped" id="fileTable">
<thead class="thead-light">
<tr>
<th width="12%">Flash Address</th>
<th width="30%">File</th>
<th width="8%">Size</th>
<th width="50%">Progress</th>
</tr>
</thead>
<tbody id="tableBody">
</tbody>
</table>
<input class="btn btn-success" type="button" id="programButton" value="Program">
</div>
<output id="list"></output>
</div>
<div id="terminal"></div>
</div>
<script src="index.82fa246c.js" type="module"></script>
<script>var isSafari = /constructor/i.test(window.HTMLElement) || function(p) {
return p.toString() === "[object SafariRemoteNotification]";
}(!window["safari"] || typeof safari !== "undefined" && window["safari"].pushNotification);
if (isSafari) {
document.getElementById("safariErr").style.display = "inline";
document.getElementById("main").style.display = "none";
}
</script>
</body>
</html>