1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-09-02 09:41:44 +03:00
Commit Graph

159 Commits

Author SHA1 Message Date
Max Prokhorov
10cd3a1eae Document git version install, upkeep and PR management (#8902) 2023-07-19 00:12:35 +02:00
david gauchard
01d1c8e46f 3.1.2 is released (#8894) 2023-03-20 23:49:21 +01:00
Max Prokhorov
6af463baaf Back to 3.2.0-dev (#8807) 2023-01-15 02:47:00 +03:00
david gauchard
3212f15cef back to dev (#8789) 2023-01-06 23:39:04 +01:00
Max Prokhorov
e1081e30f5 Update README.md (#8706)
Remove unused Travis URL, update documentation links and add PlatformIO platform instructions
2022-11-03 18:38:01 +03:00
Ryan Gates
61e7605549 Update broken links (#8589)
https://www.arduino.cc/en/main/software - broken
https://www.arduino.cc/en/software - working
2022-06-01 22:30:52 +02:00
david gauchard
929f0fb63c back to 3.1.0-dev after 3.0.2 (#8246)
That was fun :]
2021-07-27 00:59:47 +02:00
Earle F. Philhower, III
421d02eec1 Back to 3.1.0-dev (#8181) 2021-06-26 11:58:00 -07:00
david gauchard
90f611f984 back to dev (3.0.1) (#8039) 2021-05-15 19:42:38 -07:00
Jannik
cfd9a34c49 Specify where Additional Boards Manager URLs is (#7733)
As a newcomer to Arduino IDE, it is not obvious where the "Additional Boards Manager URLs" field is
2020-12-01 09:29:32 +01:00
Develo
93f41dcbb1 Pull deprecated axtls link (#7624)
Pull axtls link, add Espressif's NONOS SDK repo link
2020-10-02 11:30:08 -07:00
Develo
5dbc572b20 Update README.md (#7623)
Fix document version links
2020-10-02 08:29:14 -07:00
david gauchard
d59b1486cb done with release 2.7.2 (#7430) 2020-07-07 12:00:12 +02:00
Develo
0d43338a37 Add FTP client/server lib link (#7336) 2020-05-29 10:12:46 -04:00
Develo
ed8add50fe Update README.md (#7295)
Fix forgotten text edit for the latest version
2020-05-10 23:47:01 -04:00
Develo
9cf2186af1 Update version links (#7294) 2020-05-10 23:01:09 -04:00
david gauchard
4e3a4b6d21 Back to dev (#7260)
* Back to dev

* update documentation pointers
2020-05-02 01:17:04 +02:00
Ivan Kravets
845241b72c Fix RST links for PlatformIO (#7143)
* Fix RST links

* Update links to PlatformIO
2020-03-09 17:08:07 +02:00
Earle F. Philhower, III
9985a32914 Add documentation for compressed OTA, fix bug (#6924)
* Add documentation for compressed OTA, fix bug

Fixes #6923

Documents the user steps needed to do a compressed upload, and notes the
2-step process needed for deploying compressed uploads to the field for
the first time.

Fixes a bug in serial output formatting discovered by @AdrianEddy.

Adds additional contributors for uzlib, per @pfalcon.

* Update README for esptool.py, too
2019-12-20 09:22:10 -08:00
Earle F. Philhower, III
1d0bc5efdf Allow GZIP compressed flash updates (#6820)
* Allow GZIP compressed flash updates

Modified the bootloader to be able to take stored updates in compressed
GZIP format (i.e. the output of "gzip -9 xxx.bin") and decompress them
on-the-fly to their final destination.  This can work for apps and for
filesystems (when used with the 2-step update option).

Allow eboot to be built using -Os/2 optimizations by fixing some portions
which failed when any optimizations were used.  Add -Wall and use data
and function sections to reduce size.  Use -Os to minimize size.

Remove obsolete esptool-ck calls to build a .ROM image, we don't use it.

Move all uninitted variables to RAM from IRAM, allowing 8-bit access.

Hook in @d-a-v and @pfalcon's uzlib port to actually do the
decompression.  Do not use any CRC checking which saves space.  Since we
have overwritten all of flash by the time we know id the CRC matches,
there's nothing we could have done anyway.

Adjust the Updater class to support GZIP files and not attempt to patch
them.

Bootloader builds to 0xd90 out of 0xfff bytes.

* Add @d-a-v's patch for httpupdate

https://github.com/esp8266/Arduino/pull/6820#pullrequestreview-326541014

* Update uzlib to point to pfalcon++

For now, because there are some self-test failures with @d-a-v's esp8266
branch (whose cool new features we don't actually use in eboot now)
start with pfalcon's 2.9 release and add the 2 patches (clcidx to code
from IRAM/RODATA, and the Windows test file renaming) needed to build
and run successfully.

* Add (c) notice for uzlib to README
2019-12-18 09:17:38 -08:00
david gauchard
d1237fd016 back to 2.7.0-dev (#6917) 2019-12-16 13:41:15 -03:00
david gauchard
40f5a99d03 back to 2.7.0-dev (#6850) 2019-11-27 23:54:24 -03:00
david gauchard
48ea3a3e9e Update platform to 2.7.0-dev, bump Readme to 2.6.1 (#6774) 2019-11-14 17:36:32 +01:00
Develo
43e0554b9c Add some useful links (#6744)
Fixes #1360
2019-11-10 03:52:40 -03:00
Develo
b5f873ecc3 Update platform to 2.7.0-dev, bump Readme to 2.6.0 (#6734) 2019-11-08 22:17:53 -03:00
Develo
5af402e4dc Update README.md (#6624)
Replace latest git instructions in the README with a pointer to the instructions in readthedocs
2019-10-09 00:05:21 -03:00
dickorydock
ea17a06bc8 Grammar edits in documentation (#6401)
* Grammar changes

* Update readme.rst

* Update README.md
2019-08-08 20:26:19 -04:00
Earle F. Philhower, III
147fada3f5 Minor doc update, "How to make a PR" link (#6297) 2019-07-14 04:25:57 -07:00
Kyle Lobo
ec7bdfa284 Fix editing, typos and grammatical errors (#6207)
1. The current version is ~at~ on the Arduino website
2. Start Arduino and open _the_ Preferences window
3. Enter ```https://arduino.esp8266.com/stable/package_esp8266com_index.json``` into _the_ *Additional Board Manager URLs* field
4. The current version is ~at~ on the Arduino website
5. [PlatformIO](https://platformio.org?utm_source=github&utm_medium=arduino-esp8266) is an open source ecosystem for IoT
development with _a_ ~cross platform~ cross-platform build system, library manager and full support
6. [ESP8266 Community Forum](https://www.esp8266.com/u/arduinoanswers) is a ~well established~ well-established community
7. or just want to discuss how to approach a problem, (removed extra space after 'problem')
8. when encountering an issue ~which~ that happens at run time
9. attach _the_ serial output
10. Check out the list of issues ~which~ that are easy to fix
11. It is distributed under _the_ MIT license.
12. It is distributed under _the_ MIT license.
2019-06-17 16:40:46 -07:00
Earle F. Philhower, III
a389a995fb Add LittleFS as an optional filesystem, API compatible w/SPIFFS (but not on-flash-format compatible) (#5511)
* Add LittleFS as internal flash filesystem

Adds a LittleFS object which uses the ARMmbed littlefs embedded filesystem,
https://github.com/ARMmbed/littlefs, to enable a new filesystem for onboard
flash utilizing the exact same API as the existing SPIFFS filesystem.

LittleFS is built for low memory systems that are subject to random power
losses, is actively supported by the ARMmbed community, supports directories,
and seems to be much faster in the large-ish read-mostly applications I use.

LittleFS, however, has a larger minimum file allocation unit and does not do
static wear levelling.  This means that for systems that need many little
files (<4K), have small SPIFFS areas (64K), or which have a large static
set of files covering the majority of flash coupled with a frequently
updated set of other files, it may not perform as well.

Simply replace SPIFFS.begin() with LittleFS.begin() in your sketch,
use LittleFS.open in place of SPIFFS.open to open files, and everything
else just works thanks to the magic of @igrr's File base class.

**LITTLEFS FLASH LAYOUT IS INCOMPATIBLE WITH SPIFFS**
Since it is a completely different filesystem, you will need to reformat
your flash (and lose any data therein) to use it. Tools to build the
flash filesystem and upload are at
https://github.com/earlephilhower/arduino-esp8266littlefs-plugin and
https://github.com/earlephilhower/mklittlefs/ .  The mklittlefs tool
is installed as part of the Arduino platform installation, automatically.

The included example shows a contrived read-mostly example and
demonstrates how the same calls work on either SPIFFS.* or LittleFS.*
Host tests are also included as part of CI.

Directories are fully supported in LittleFS. This means that LittleFS
will have a slight difference vs. SPIFFS when you use
LittleFS.openDir()/Dir.next().  On SPIFFS dir.next()
will return all filesystem entries, including ones in "subdirs"
(because in SPIFFS there are no subdirs and "/" is the same as any
other character in a filename).

On LittleFS, dir.next() will only return entries in the directory
specified, not subdirs.  So to list files in "/subdir/..." you need
to actually openDir("/subdir") and use Dir.next() to parse through
just those elements.  The returned filenames also only have the
filename returned, not full paths.  So on a FS with "/a/1", "/a/2"
when you do openDir("/a"); dir.next().getName(); you get "1" and "2"
and not "/a/1" and "/a/2" like in SPIFFS.  This is consistent with
POSIX ideas about reading directories and more natural for a FS.

Most code will not be affected by this, but if you depend on
openDir/Dir.next() you need to be aware of it.

Corresponding ::mkdir, ::rmdir, ::isDirectory, ::isFile,
::openNextFile, and ::rewind methods added to Filesystem objects.
Documentation has been updated with this and other LittleFS information.

Subdirectories are made silently when they do not exist when you
try and create a file in a subdir.  They are silently removed when
the last file in them is deleted.  This is consistent with what
SPIFFS does but is obviously not normal POSIX behavior.  Since there
has never been a "FS.mkdir()" method this is the only way to be
compatible with legacy SPIFFS code.

SPIFFS code has been refactored to pull out common flash_hal_* ops
and placed in its own namespace, like LittleFS.

* Fix up merge blank line issue

* Merge in the FSConfig changs from SDFS PR

Enable setConfig for LittleFS as well plys merge the SPIFFS changes
done in the SDFS PR.

* Fix merge errors

* Update to use v2-alpha branch

The V2-alpha branch supports small file optimizations which can help
increase the utilization of flash when small files are prevalent.
It also adds support for metadata, which means we can start adding
things like file creation times, if desired (not yet).

* V2 of littlefs is now in upstream/master

* Update test to support non-creation-ordered files

In a directory, the order in which "readNextFile()" will return a name
is undefined.  SPIFFS may return it in order, but LittleFS does not as
of V2.  Update the test to look for files by name when doing
readNextFile() testing.

* Fix LittleFS.truncate implementation

* Fix SDFS tests

SDFS, SPIFFS, and LittleFS now all share the same common set of tests,
greatly increasing the SDFS test coverage.

* Update to point to mklittlefs v2

Upgrade mklittlefs to V2 format support

* Remove extra FS::write(const char *s) method

This was removed in #5861 and erroneously re-introduced here.

* Minimize spurious differences from master

* Dramatically reduce memory usage

Reduce the program and read chunk sizes which impacts performance
minimally but reduces per-file RAM usage of 16KB to <1KB.

* Add @d-a-v's host emulation for LittleFS

* Fix SW Serial library version

* Fix free space reporting

Thanks to @TD-er for discovering the issue

* Update littlefs to latest upstream

* Remove sdfat version included by accident

* Update SDFAT to include MOCK changes required

* Update to include SD.h test of file append
2019-05-25 09:53:24 +02:00
Earle F. Philhower, III
0bd36bf02b Back to 2.6.0-dev (#6122)
2.5.2 release completed, time for 2.6.0 work
2019-05-20 14:06:05 -07:00
Earle F. Philhower, III
501022404f Minor README fix (#6098)
Fix Linux location typos (lowercase "arduino" and missing "/").

Fixes #6093
2019-05-15 08:38:53 -07:00
david gauchard
d65de4aa95 back to 2.6.0-dev (#6072)
* back to dev

* emergency procedure

* per review

* 2.6.0-dev per review
2019-05-11 20:28:09 -04: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
Juppit
b270f4907c include submodules with git clone --recursive (#5882)
* include submodules
You may also need to run this update recursively ('git submodule update --init --recursive').
2019-03-21 15:48:23 +01:00
Develo
24fa59df4b Update README.md (#5732)
Version bumps, addition of espsoftwareserial to credits, minor text updates
2019-02-06 22:03:54 -03:00
Develo
574a121fa6 Update README.md (#5517)
Version bumps to beta2
2018-12-17 15:00:55 -03:00
Develo
20f07ecc31 Version bumps (#5479)
* bump platform.txt back to 2.5.0-dev

* bump README.md to 2.5.0-beta1
2018-12-12 00:42:46 -03:00
david gauchard
2486405e52 documentation: add quick links (#5391)
* doc: quick links

* ditto
2018-11-29 11:50:03 -08:00
Adrian Scillato
464bdccf41 Fix Readme Link (#5215) 2018-10-06 16:06:18 -07:00
Earle F. Philhower, III
b21619c172 Add BearSSL license info to README.md (#5211) 2018-10-06 13:37:53 -03:00
Develo
2f6a25b9f5 Revert "Wrong directory for installation??" (#5199)
* Revert "Make softAP documentation state the correct min value (0) for the max_connection argument. (#5165)"

This reverts commit 24a1d22730.

* Revert "Wrong directory for installation?? (#5163)"

This reverts commit d547c47667.

* Update README.md

Specify Linux dir for using git
2018-10-02 12:22:34 -03:00
teo1978
d547c47667 Wrong directory for installation?? (#5163)
PLEASE REVIEW, I'm not completely  sure, but on Linux there's no `hardware` directory inside `Java`, and it doesn't seem to make sense that there should be on MacOS. There is, instead, a `hardware` directory in the parent.
2018-10-01 12:36:58 -03:00
Ivan Grokhotkov
bb28d4a392 Release 2.4.2 2018-08-03 09:54:08 +03:00
david gauchard
144152ce6b update git+macos installation instructions (#4753) 2018-05-24 22:45:02 -04:00
Thomas Zahari
83ab03436f Update README.md (#4730)
Clarify the folder of the git installation method for Mac
2018-05-18 13:35:10 +02:00
Ivan Grokhotkov
614f7c32e5 Release 2.4.1 2018-03-08 11:49:56 +08:00
Ivan Kravets
e3074e9575 Update integration with @PlatformIO 2018-02-05 12:53:02 +02:00
Ivan Grokhotkov
06f21f28b4 bump version number 2018-01-02 07:37:22 +08:00
R P Herrold
c730c0f10c patch for #3462 2017-08-07 19:04:35 +03:00