add files for web flash
This commit is contained in:
37
index.html
Normal file
37
index.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<title>NUKI Hub web installer</title>
|
||||
<html>
|
||||
|
||||
|
||||
<body>
|
||||
<h1>NUKI Hub</h1>
|
||||
|
||||
<div id="main" style="display: none;">
|
||||
|
||||
<br>
|
||||
<script
|
||||
type="module"
|
||||
src="https://unpkg.com/esp-web-tools@8.0.1/dist/web/install-button.js?module">
|
||||
</script>
|
||||
<esp-web-install-button id="installButton" manifest="webflash/manifest.json"></esp-web-install-button>
|
||||
<br><br><br><br>
|
||||
Note: If flashing doesn't work, press and hold the "BOOT" switch, then click "Install".
|
||||
</div>
|
||||
<div id="notSupported" style="display: none;">
|
||||
Your browser does not support the Web Serial API. Try Chrome
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
if(navigator.serial){
|
||||
document.getElementById("notSupported").style.display = 'none';
|
||||
document.getElementById("main").style.display = 'block';
|
||||
} else {
|
||||
document.getElementById("notSupported").style.display = 'block';
|
||||
document.getElementById("main").style.display = 'none';
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
BIN
webflash/boot_app0.bin
Executable file
BIN
webflash/boot_app0.bin
Executable file
Binary file not shown.
BIN
webflash/bootloader_qio_80m.bin
Executable file
BIN
webflash/bootloader_qio_80m.bin
Executable file
Binary file not shown.
15
webflash/manifest.json
Normal file
15
webflash/manifest.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "enocean",
|
||||
"new_install_prompt_erase": true,
|
||||
"builds": [
|
||||
{
|
||||
"chipFamily": "ESP32",
|
||||
"parts": [
|
||||
{ "path": "boot_app0.bin", "offset": 57344 },
|
||||
{ "path": "bootloader_qio_80m.bin", "offset": 4096 },
|
||||
{ "path": "nuki_hub.bin", "offset": 65536 },
|
||||
{ "path": "nuki_hub.partitions.bin", "offset": 32768 }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
webflash/nuki_hub.bin
Normal file
BIN
webflash/nuki_hub.bin
Normal file
Binary file not shown.
BIN
webflash/nuki_hub.partitions.bin
Normal file
BIN
webflash/nuki_hub.partitions.bin
Normal file
Binary file not shown.
Reference in New Issue
Block a user