Add uploading from documentation option. (#1048)
This allows for directly uploading OMG to ESP32 and ESp8266 devices from the upload section of the documentation. This will upload the latest release binary for the device selected in the dropdown menu on the webpage. A script has been added to generate the upload page when a new release is issued.
This commit is contained in:
1 parent
a4106cf0e9
commit
2601d72017
7 files changed
+231
-5
No files matched your search
@@ -15,7 +15,8 @@ module.exports = {
|
||||
['link', { rel: "apple-touch-icon", sizes: "180x180", href: "/img/apple-touch-icon.png"}],
|
||||
['link', { rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', color: '#3eaf7c' }],
|
||||
['meta', { name: 'msapplication-TileImage', content: '/icons/msapplication-icon-144x144.png' }],
|
||||
['meta', { name: 'msapplication-TileColor', content: '#000000' }]
|
||||
['meta', { name: 'msapplication-TileColor', content: '#000000' }],
|
||||
['script', {type: 'module', src: 'https://unpkg.com/esp-web-tools@3.4.2/dist/web/install-button.js?module'}]
|
||||
],
|
||||
themeConfig: {
|
||||
smoothScroll: true,
|
||||
@@ -62,6 +63,7 @@ module.exports = {
|
||||
title: '3 - Upload ➡️', // required
|
||||
sidebarDepth: 1, // optional, defaults to 1
|
||||
children: [
|
||||
'upload/web-install',
|
||||
'upload/binaries',
|
||||
'upload/builds',
|
||||
'upload/portal',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# (Option 1) Upload ready-to-go binaries
|
||||
# (Option 2) Upload ready-to-go binaries
|
||||
This section is useful if you want to directly flash your ESP from your desktop. Once flashed you can change wifi and broker settings.
|
||||
Nevertheless you will not be able to change advanced parameters; if you want to do so, refer to [Upload your configurations](builds.md) section.
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# (Option 2) Upload your configurations
|
||||
# (Option 3) Upload your configurations
|
||||
|
||||
## Introduction
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# (Option 1) Upload from the web
|
||||
You can upload the firmware to your ESP device directly from here.
|
||||
1. Plug in your ESP to a USB port.
|
||||
2. Select the firmware in the box below.
|
||||
3. Click the install button and choose the port that the ESP is connected to.
|
||||
4. Wait until the process is complete.
|
||||
|
||||
<web-uploader/>
|
||||
Reference in new issue
Block a user