diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index a3f9fee1..b1c66c0e 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -81,6 +81,11 @@ const config: Config = { label: 'Demo', to: '/demo', }, + { + position: 'right', + label: 'Flash Firmware', + href: 'https://nspanelmanager.com/flashing-tool.html', // `flashing-tool.html` returns a page not found + }, { href: 'https://github.com/NSPManager/NSPanelManager', label: 'GitHub', diff --git a/docs/static/firmwares/1.0/merged_flash.bin b/docs/static/firmwares/1.0/merged_flash.bin new file mode 100644 index 00000000..daa1a5a9 Binary files /dev/null and b/docs/static/firmwares/1.0/merged_flash.bin differ diff --git a/docs/static/firmwares/beta/merged_flash.bin b/docs/static/firmwares/beta/merged_flash.bin new file mode 100644 index 00000000..daa1a5a9 Binary files /dev/null and b/docs/static/firmwares/beta/merged_flash.bin differ diff --git a/docs/static/flashing-tool.html b/docs/static/flashing-tool.html new file mode 100644 index 00000000..4f690b74 --- /dev/null +++ b/docs/static/flashing-tool.html @@ -0,0 +1,115 @@ + + + + + NSPanelManager - Flashing tool + + + + + + + +
+

Flash your NSPanel

+

+ Use this tool to flash firmware onto your NSPanel device. Please ensure + you are using a supported browser (e.g., Chrome or Edge) that + supports the Web Serial API. +

+

Select the version you want to install

+ +

+ +

+ + + + + \ No newline at end of file diff --git a/docs/static/manifests/manifest_1.0.json b/docs/static/manifests/manifest_1.0.json new file mode 100644 index 00000000..474ddc57 --- /dev/null +++ b/docs/static/manifests/manifest_1.0.json @@ -0,0 +1,10 @@ +{ + "name": "NSPanelManager NSPanel Firmware", + "version": "1.0", + "builds": [ + { + "chipFamily": "ESP32", + "parts": [{ "path": "../firmwares/1.0/merged_flash.bin", "offset": 0 }] + } + ] +} \ No newline at end of file diff --git a/docs/static/manifests/manifest_beta.json b/docs/static/manifests/manifest_beta.json new file mode 100644 index 00000000..1cc05164 --- /dev/null +++ b/docs/static/manifests/manifest_beta.json @@ -0,0 +1,10 @@ +{ + "name": "NSPanelManager NSPanel Firmware", + "version": "beta", + "builds": [ + { + "chipFamily": "ESP32", + "parts": [{ "path": "../firmwares/beta/merged_flash.bin", "offset": 0 }] + } + ] +} \ No newline at end of file