1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00

43 Commits

Author SHA1 Message Date
Peter
d776ca5875 Re-wording of ATOMIC_FS_UPDATE documenation (#6693) 2019-10-31 10:04:22 -07:00
Robin Richtsfeld
45d71ae4bd Support FS update in two steps (#6505)
* Support FS update in two steps
2019-10-16 10:11:15 +02:00
Martin Berka
4f74ed8408 Edited OTA readme, added Stream Interface snippet (#6487)
* Edited OTA readme, added Stream Interface snippet

Reworded for easier understanding. Changes mostly in first half of page.

* OTA docs: corrected typos, misc edits near end

* Incorporated suggestions from earlephilhower

Extra ^, removed TODO
2019-09-10 11:44:19 -03:00
Earle F. Philhower, III
0a031ce957
Move all scripts and documentation to Python3 (#6378)
* Move all scripts and documentation to Python3

Python 2 EOL is Jan 1, 2020.  Migrate scripts to run under Python 3.

Under Windows, we're already running Python 3.7, by dumb luck.  The
oddness is that the Windows standalone executable for Python 3 is called
"python" whereas under UNIX-like OSes it's called "python3" with
"python" always referring to the Python 2 executable.  The ZIP needs to
be updated to include a Python3.exe (copy of Python.exe) so that we can
use the same command lines under Linux and Windows, and to preserve my
sanity.

Fixes #6376

* Add new Windows ZIP with python3.exe file

* Sort options in boards.txt generation for repeatability

The order of the board opts dict changes depending on the Python version
and machine, so sort the options before printing them to get a stable
ordering.

* Re-add Python2 compatibility tweaks

Most scripts can run as Python 2 or Python 3 with minimal changes, so
re-add (and fix, as necessary) compatibility tweaks to the scripts.
2019-08-28 12:42:48 -07:00
Chris van Marle
6272b49406 Updater signature validation - format incompatible w/RFC8017 (#6250)
* Add hash OID to signature verification (#6201)

* Add legacy signing option

* Describe and use the legacy option of signing.py
2019-07-04 12:17:30 +02:00
Earle F. Philhower, III
93ef9e7005
Upgrade to https: serving for JSON, links in docs (#5992)
* Upgrade to https: serving for JSON, links in docs

Fixes #5480

* Update boards.rst documentation

* Update more documentation http: refs to https:

* Remove obsolete staging info

* Drop obsolete versions from JSON programatically

After the final merge is done on the JSON, strip out any named versions
from the final product.

Removing 1.6.5-* and 2.5.0-beta(1,2,3) for now.

* Remove 2.4.0-rc(0/1) from JSON, too
2019-04-30 23:55:03 -07:00
Earle F. Philhower, III
848fbf5b4a
Update conf.py from git tag, fix sphinx warnings (#5716)
Fixes #5671

Implements https://protips.readthedocs.io/git-tag-version.html

Fix a myriad of minor Sphinx warnings generated in the docs.
2019-02-04 20:19:23 +00:00
Max Prokhorov
e043806065 Mention eboot use of rtc memory (#5439) 2018-12-05 15:14:31 -03:00
Earle F. Philhower, III
d8acfffdb0
Add cryptographically signed update support (#5213)
Using a pluggable architecture, allow updates delivered via the Update
class to be verified as signed by a certificate.  By using plugins, avoid
pulling either axTLS or BearSSL into normal builds.

A signature is appended to a binary image, followed by the size of the
signature as a 32-bit int.  The updater takes a verification function
and checks this signature using whatever method it chooses, and if it
fails the update is not applied.

A SHA256 hash class is presently implemented for the signing hash (since
MD5 is a busted algorithm).

A BearSSLPublicKey based verifier is implemented for RSA keys.  The
application only needs the Public Key, while to sign you can use
OpenSSL and your private key (which should never leave your control
or be deployed on any endpoints).

An example using automatic signing is included.

Update the docs to show the signing steps and how to use it in the
automatic and manual modes.

Also remove one debugging line from the signing tool.

Saves ~600 bytes when in debug mode by moving strings to PMEM

Windows can't run the signing script, nor does it normally have OpenSSL
installed.  When trying to build an automatically signed binary, warn
and don't run the python.
2018-12-02 19:57:47 -08:00
ZaPpInG
1eb0645dcb Improve the compatibility of the doc between Github and RTD... (#4800)
* Update requirements.txt

* Update conf.py

* Update libraries.rst

* Update libraries.rst

* Update libraries.rst

* Update stack_dump.rst

* Update client-examples.rst

* Update readme.rst

* Update readme.rst

* Update server-class.rst

* Update server-examples.rst

* Update soft-access-point-class.rst

* Update station-class.rst

* Update station-examples.rst

* Update udp-class.rst

* Update udp-examples.rst

* Update a04-board-generic-is-unknown.rst

* Update readme.rst

* Update readme.rst

* Update readme.rst
2018-06-28 10:58:33 -04:00
Jon H Peterson
d112dfa476 Update readme.rst (#4131)
* Update readme.rst

fix broken link to file system flash layout

* linkage repair

my second shot at fixing the external page link for "flash layout". It appears that the on-page link to "Update Process - Memory View" was broken (not sure if I got this one right or not).
2018-03-19 10:42:53 -03:00
Michael
7de58d9671 Fixed broken links in ota_updates/readme.rst
Replaced links to filesystem.md with filesystem.rst
2017-11-21 20:51:50 +08:00
Ivan Grokhotkov
1c4a48dbd8 docs: remove mention that Python 3 is not supported from OTA docs 2017-05-15 18:52:06 +08:00
Ivan Grokhotkov
283eb97cd3 docs: convert to .rst and add readthedocs 2017-05-14 11:44:16 -05:00
Erik van Roode
898d280176 Update readme.md (#2809)
fixed some typos/style/grammar
2017-02-19 09:30:23 -06:00
krzychb
cd2e04b6dd Extended troubleshooting section
* Missing reset after serial upload, ref. #2438, #2465
* Port not visible in IDE, ref. #2415
* `[alt text]` added
* Typo corrections
2016-09-02 19:15:30 +02:00
Jeroen Vogelpoel
edba2d2829 Exposed sketch MD5 through HTTP headers (#2236)
* Exposed sketch MD5 through HTTP headers

* Updated spacing, docs, example
2016-07-08 10:07:21 +08:00
krzychb
c0141d44a0 Review and update Arduino IDE section 2016-03-09 20:46:09 +01:00
krzychb
da6442a60d Changed ota_updates.md to readme.md
This is to make it's contents visible when browsing ota_updates
directory
2016-03-09 20:45:24 +01:00
krzychb
fc62aef26b Changed ArduinoOTA pictures
Menu entry "Upload Using:" has been removed
2016-03-09 06:23:43 +01:00
krzychb
4b7862c515 Classic OTA images deleted
two images renamed - trubleshooting
2016-03-09 05:53:11 +01:00
krzychb
8fc6aefbb2 Removed Classic OTA 2016-03-08 20:45:43 +01:00
Roland von Herget
dbcf674ec2 fix demo OTA php script 2016-02-04 17:43:06 +01:00
krzychb
4cd1744fc1 Protecting ArduinoOTA uploads with a password
New chapter addedd
TOC updated

TOC update

TOC update

Corrected path to pictures
2016-01-30 11:50:10 +01:00
krzychb
9fc5ac4ba1 IDE 1.6.7 support for ArduinoOTA
- addedd step by step ArdinoOTA
- updated package versions
- moved Trubleshooting section
2015-12-28 16:18:53 +01:00
krzychb
2f75f0b3c4 Troublehooting of OTA from IDE
Update ota_updates.md

Update ota_updates.md
2015-12-15 06:25:16 +01:00
Markus Sattler
6aa4f9e481 doc better quality of update_memory_copy.png 2015-12-10 18:06:56 +01:00
Markus Sattler
38427333c5 update ota docs 2015-12-10 17:05:00 +01:00
Markus Sattler
6a9f044f87 relative link 2015-12-01 17:26:45 +01:00
Markus Sattler
ac143b463b improve docs
see #1120
2015-12-01 17:13:00 +01:00
Ivan Grokhotkov
d45fe6a3d3 Update ota_updates.md 2015-11-30 09:14:38 +03:00
Markus Sattler
9f0fdd573f update ESP8266HTTPUpdate to use httpClient class
add support for MD5 check
2015-11-27 13:48:13 +01:00
Ivan Grokhotkov
866921c54a Documentation update 2015-11-23 20:21:16 +03:00
krzychb
51660bbfa2 Initial release of Web Browser section
Updated Introduction and Adruino IDE sections
Updated versions of platform packages
Addedd information about Digest-MD5 authentication and MD5 checksum
Updated TOC

Update ota_updates.md
2015-11-18 22:38:31 +01:00
Markus Sattler
ad2a887abc removed paragraph see #1023 2015-11-15 13:13:03 +01:00
krzychb
08f5e553aa Included desription of ArduinoOTA support and other corrections listed
1. Include ArduinoOTA as the way to go - http://www.esp8266.com/viewtopic.php?p=33231#p33231
2. Need to update boards.txt to have OTA for NodeMCU 1.0 in stable or staging platform package
3. Address possible confusion regarding DNS_SD_Arduino_OTA.ino - https://github.com/esp8266/Arduino/issues/1001 and https://github.com/esp8266/Arduino/pull/984#issuecomment-155805311

Next day cleaning review

Update ota_updates.md

Update ota_updates.md

Update ota_updates.md

Update ota_updates.md
2015-11-15 11:55:27 +01:00
Ivan Grokhotkov
40a511f706 Merge branch 'master' of https://github.com/krzychb/Arduino into krzychb-master
Conflicts:
	doc/ota_updates/ota_updates.md
2015-11-11 01:10:06 +03:00
krzychb
667de2d58d Another typo correction 2015-11-08 20:04:24 +01:00
krzychb
4e5515b92c Links addedd 2015-11-08 20:02:08 +01:00
krzychb
795eea0028 Typo update 2015-11-08 19:58:52 +01:00
krzychb
6db50d596a Reduced images 2015-11-08 19:50:50 +01:00
krzychb
e53a1fe8dd Added pictures
Now need to reduce size of pictures
2015-11-08 19:46:18 +01:00
krzychb
ecb95cbae4 OTA images - initial release 2015-11-08 19:35:22 +01:00