add flasher
This commit is contained in:
11
flasher/firmware/README
Normal file
11
flasher/firmware/README
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
This directory is intended for PlatformIO Unit Testing and project tests.
|
||||
|
||||
Unit Testing is a software testing method by which individual units of
|
||||
source code, sets of one or more MCU program modules together with associated
|
||||
control data, usage procedures, and operating procedures, are tested to
|
||||
determine whether they are fit for use. Unit testing finds problems early
|
||||
in the development cycle.
|
||||
|
||||
More information about PlatformIO Unit Testing:
|
||||
- https://docs.platformio.org/page/plus/unit-testing.html
|
||||
BIN
flasher/firmware/boot_app0.bin
Normal file
BIN
flasher/firmware/boot_app0.bin
Normal file
Binary file not shown.
BIN
flasher/firmware/bootloader.bin
Normal file
BIN
flasher/firmware/bootloader.bin
Normal file
Binary file not shown.
BIN
flasher/firmware/firmware.bin
Normal file
BIN
flasher/firmware/firmware.bin
Normal file
Binary file not shown.
30
flasher/firmware/manifest.json
Normal file
30
flasher/firmware/manifest.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "AWTRIX Light",
|
||||
"version": "0.29",
|
||||
"home_assistant_domain": "AwtrixLight",
|
||||
"funding_url": "https://blueforcer.de",
|
||||
"new_install_prompt_erase": true,
|
||||
"builds": [
|
||||
{
|
||||
"chipFamily": "ESP32",
|
||||
"parts": [
|
||||
{
|
||||
"path": "bootloader.bin",
|
||||
"offset": 4096
|
||||
},
|
||||
{
|
||||
"path": "partitions.bin",
|
||||
"offset": 32768
|
||||
},
|
||||
{
|
||||
"path": "boot_app0.bin",
|
||||
"offset": 57344
|
||||
},
|
||||
{
|
||||
"path": "firmware.bin",
|
||||
"offset": 65536
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
flasher/firmware/partitions.bin
Normal file
BIN
flasher/firmware/partitions.bin
Normal file
Binary file not shown.
97
flasher/index.html
Normal file
97
flasher/index.html
Normal file
@@ -0,0 +1,97 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>AWTRIX LIGHT</title>
|
||||
<meta
|
||||
name="description"
|
||||
content="Install Awtrix Light."
|
||||
/>
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta name="color-scheme" content="dark light" />
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
|
||||
Roboto, Ubuntu, sans-serif;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.content {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 12px;
|
||||
}
|
||||
h2 {
|
||||
margin-top: 2em;
|
||||
}
|
||||
h3 {
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
a {
|
||||
color: #03a9f4;
|
||||
}
|
||||
.invisible {
|
||||
visibility: hidden;
|
||||
}
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
esp-web-install-button[install-unsupported] {
|
||||
visibility: inherit;
|
||||
}
|
||||
.content pre {
|
||||
max-width: 100%;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.footer {
|
||||
margin-top: 24px;
|
||||
border-top: 1px solid #ccc;
|
||||
padding-top: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
.footer .initiative {
|
||||
font-style: italic;
|
||||
margin-top: 16px;
|
||||
}
|
||||
table {
|
||||
border-spacing: 0;
|
||||
}
|
||||
td {
|
||||
padding: 8px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
.radios li {
|
||||
list-style: none;
|
||||
line-height: 2em;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
}
|
||||
a {
|
||||
color: #58a6ff;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script type="module" src="https://unpkg.com/esp-web-tools@8.0.1/dist/web/install-button.js?module"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="content">
|
||||
<h1 align="center">AWTRIX Light installer</h1>
|
||||
|
||||
<p class="button-row" align="center">
|
||||
<esp-web-install-button manifest="firmware/manifest.json"></esp-web-install-button>
|
||||
</p>
|
||||
|
||||
<div class="footer">
|
||||
<a href="https://github.com/Blueforcer/awtrix-light"
|
||||
>Awtrix Light </a>
|
||||
Installer powered by <a href="https://esphome.github.io/esp-web-tools/">ESP Web Tools</a>.
|
||||
</div>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user