diff --git a/src/main.rs b/src/main.rs index ec29002..bb63506 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,38 +46,38 @@ fn firmware(data: &State) -> Vec { fn index() -> content::RawHtml<&'static str> { content::RawHtml( " - - -
-

ESP Web Flaher

+ + +
+

ESP Web Flaher

-
+
-
- - -
- NOTE: Make sure to close anything using your devices com port (e.g. Serial monitor) -
-
- Your browser does not support the Web Serial API. Try Chrome -
-
+
+ + +
+ NOTE: Make sure to close anything using your devices com port (e.g. Serial monitor) + +
+ Your browser does not support the Web Serial API. Try Chrome +
+
- + - - - ", + + + ", ) } @@ -85,81 +85,81 @@ fn index() -> content::RawHtml<&'static str> { fn manifest() -> content::RawJson<&'static str> { content::RawJson( r#" -{ - "name": "ESP ", - "new_install_prompt_erase": true, - "builds": [ - { - "chipFamily": "ESP32", - "parts": [ { - "path": "bootloader.bin", - "offset": 4096 - }, - { - "path": "partitions.bin", - "offset": 32768 - }, - { - "path": "firmware.bin", - "offset": 65536 + "name": "ESP ", + "new_install_prompt_erase": true, + "builds": [ + { + "chipFamily": "ESP32", + "parts": [ + { + "path": "bootloader.bin", + "offset": 4096 + }, + { + "path": "partitions.bin", + "offset": 32768 + }, + { + "path": "firmware.bin", + "offset": 65536 + } + ] + }, + { + "chipFamily": "ESP32-C3", + "parts": [ + { + "path": "bootloader.bin", + "offset": 0 + }, + { + "path": "partitions.bin", + "offset": 32768 + }, + { + "path": "firmware.bin", + "offset": 65536 + } + ] + }, + { + "chipFamily": "ESP32-S2", + "parts": [ + { + "path": "bootloader.bin", + "offset": 4096 + }, + { + "path": "partitions.bin", + "offset": 32768 + }, + { + "path": "firmware.bin", + "offset": 65536 + } + ] + }, + { + "chipFamily": "ESP32-S3", + "parts": [ + { + "path": "bootloader.bin", + "offset": 0 + }, + { + "path": "partitions.bin", + "offset": 32768 + }, + { + "path": "firmware.bin", + "offset": 65536 + } + ] + } + ] } - ] - }, - { - "chipFamily": "ESP32-C3", - "parts": [ - { - "path": "bootloader.bin", - "offset": 0 - }, - { - "path": "partitions.bin", - "offset": 32768 - }, - { - "path": "firmware.bin", - "offset": 65536 - } - ] - }, - { - "chipFamily": "ESP32-S2", - "parts": [ - { - "path": "bootloader.bin", - "offset": 4096 - }, - { - "path": "partitions.bin", - "offset": 32768 - }, - { - "path": "firmware.bin", - "offset": 65536 - } - ] - }, - { - "chipFamily": "ESP32-S3", - "parts": [ - { - "path": "bootloader.bin", - "offset": 0 - }, - { - "path": "partitions.bin", - "offset": 32768 - }, - { - "path": "firmware.bin", - "offset": 65536 - } - ] - } - ] -} -"# + "#, ) }