1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00
Commit Graph

2988 Commits

Author SHA1 Message Date
361bebcbf2 Merge branch 'master' into travisupdate 2018-12-13 18:27:43 +01:00
6cb7fcebb0 wip 2018-12-13 18:26:49 +01:00
a6df83be26 Update release instructions README.md (#5482)
* Update README.md

Fix json url typo
Clarify some points
Add readthedocs instructions
Rephrase
Incorporate feedback
Added Release model section
2018-12-13 13:18:24 -03:00
f3aba892c3 Merge branch 'master' into travisupdate 2018-12-13 16:46:49 +01:00
5dd09ede78 wip 2018-12-13 16:04:12 +01:00
68f5a3d0d3 Keep signing commands in platform.txt on release (#5491)
* Keep signing commands in platform.txt on release

The boards packager was deleting what was at the time it was written
unused lines in fht platform.txt file before deploying to Arduino.
One of these lines is now needed for signing to work, so don't delete
it.

Also, explicitly call "python signing.py" because it looks like Arduino
is sanitizing/removing executable bits on files when extracting from
boards manager installations.

Fixes #5483

* Create the build subdir, if needed, for autosign

If the temporary build/core directory isn't available, make it in order
that Updater.cpp will see the generated signing header and not the one
in the main core.
2018-12-13 11:23:22 -03:00
c762de34f5 wip 2018-12-13 14:27:09 +01:00
bce2c99831 wip 2018-12-13 12:31:46 +01:00
ebe129c083 wip 2018-12-13 12:21:06 +01:00
e1e1bb3e21 wip 2018-12-13 12:12:27 +01:00
4c56a8c462 wip 2018-12-13 12:04:11 +01:00
1576aacb93 wip 2018-12-13 12:00:36 +01:00
1978e7bd0d wip 2018-12-13 11:37:54 +01:00
5fa07cd587 test 2018-12-13 10:43:43 +01:00
e1eca80d28 CI: deploy: use env TRAVIS_PULL_REQUEST to condition deploy 2018-12-13 10:19:02 +01:00
dce8dce44f deploy task will successfully exit if no key is used 2018-12-13 00:24:45 +01:00
3d6e2866fa test 2018-12-13 00:05:58 +01:00
afed781e92 test 2018-12-12 23:56:21 +01:00
3d3b8a3f19 test 2018-12-12 23:46:46 +01:00
e741bc33b4 try another key 2018-12-12 23:41:01 +01:00
d4a228200a debug mode 2018-12-12 23:36:11 +01:00
fbc2084dde show curl headers 2018-12-12 23:35:57 +01:00
8c4975eae7 CI: update git configuration
- git: clone with depth=1
- git: no recursive submodule
  no more dependency on savannah.nongnu.org nor bearssl.org
2018-12-12 22:35:48 +01:00
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
9c1e03a1f9 ci: use travis jobs to structure the CI flow
This mostly re-phrases the existing flow using the new language.

Ref. https://blog.travis-ci.com/2017-05-11-introducing-build-stages
2.5.0-beta1
2018-12-12 04:38:26 +08:00
47d6f83f5f Release 2.5.0-beta1 (#5470)
* Update platform.txt version to 2.5.0-beta1
2018-12-10 22:59:13 +01:00
8c7dc4a2ab Update to latest BearSSL w/es22519 fix (#5468) 2018-12-10 07:36:58 -08:00
4c8d8f1e8a uart: BW improvements (#4620)
* uart fixes and BW improvements

* uart: read_char straightly use hw buffer

* +attributes for functions called by ISR

* uart: BW improvements
read_char straightly use hw buffer (+ ~10%bw)
read by block (+ ~190%bw) (instead of generic Stream::readBytes)
attributes for functions called by ISR
remove overrun message
remove some ISR flags which were not honoured

* fix merge

* fix buffer overflow

* serial stress test sketch

* astyle

* serial stress example: interactive keyboard, stop reading, overrun

* serial device test: bandwidth & overrun

* update + HardwareSerial::hasError()

* interactive overrun in example

* astyle

* Test using @plerup's SoftwareSerial as submodule (tag 3.4.1)

* update upstream ref (fix warning)

* host mock uart/read(buf,size)

* reset style changes in submodules before style diff

* update build_boards_manager_package.sh for submodules

* trigger CI (removing space)

* cannot reproduce locally the CI issue, setting bash -x option to get live trace

* remove previously added (in this PR) 'set -e' in package builder (passes local tests, not real CI)
script-comment new recipe.hooks.core.prebuild.3 (along with already commented .1 and .2)
moved CI package test to be first on the test list
remove 'set -x', wish me luck
2018-12-10 10:35:11 -03:00
8a8848829c Update to Newlib c0f3596 with regexp/fnmatch (#5457) 2018-12-09 15:36:22 -03:00
0f59c9478e disable hard reset after flashing (reverts #5433) (#5460) 2018-12-09 02:57:48 -03:00
4373013bdd fix formatting (#5459) 2018-12-09 01:29:43 -03:00
7898ca7b46 Convert to standard PSTR/PROGMEM macros (#5458)
The bug referenced in the code that required a custom macro to enable
PSTR/PROGMEM compilation ( https://github.com/esp8266/Arduino/issues/3369 )
was fixed a while back and all PROGMEM references now live in their own
save .sections.

This patch simply is the output of `sed -i s/PSTR_LEA/PSTR/g *` and
`sed -i s/PROGMEM_LEA/PROGMEM/g *` on the codebase and the removal
of those defines.
2018-12-08 23:43:13 -03:00
0550ccd46b device test updates (#5455)
add test_ping
fix test_millis_mm
2018-12-08 21:22:29 -03:00
4d15590096 formalization of LEA's mdns rewrite (#5450)
* formalization of LEA's mdns rewrite (code), minor changes to polledTimeout

* fix typo

* Fix mdns examples
2018-12-08 19:36:20 -03:00
e4c6030e48 fix OTA (#5454)
https://github.com/esp8266/Arduino/issues/4283#issuecomment-445447030
2018-12-08 17:45:23 -03:00
783f817c16 Add doc for ESP8266WebServer (#5400)
* Add doc for ESP8266WebServer

* Use tabs
2018-12-08 08:38:41 -08:00
38b6a3c13e use OrderedDict to force order of get params (#5414)
refactor to share request handler code in tests
2018-12-07 23:18:06 -03:00
0db6ec4ba8 lwip2: 3 sntp servers, autoip (169.254), esp-ping, espconn (#5444)
* lwip2: better handling of ipv4_addr/t type + 3 sntp servers

* bump lwip2 version

* Only with FEATURES=1: 3 sntp servers and AutoIP enabled (169.254 when dhcp server fails)

* Only with FEATURES=1: 3 sntp servers and AutoIP enabled (169.254 when dhcp server fails)

* local CI runner: select build type

* new ipv4_addr/t definition makes things easier for IPAddress

* update local CI runner

* lwip2 changes

* lwip2: port esp-ping and espconn
2018-12-07 21:24:38 -03:00
6d42a26cc2 Update BearSSL to latest toolchain (#5449)
Remove the -fno-jump-tables since the new toolchain places these tables
in ROM now.  Rebuild using the toolchain.  Saves 1-3KB of flash and
has 0 RAM impact plus may make certain bits marginally faster by using
a LUT instead of a if-else-else chain.
2018-12-07 10:02:42 -08:00
8b3f4966e9 fix SPIFFS when not enabled in build options (#5249) 2018-12-06 22:55:05 +01:00
8e248064b9 Update toolchain and bins to 2.5.0-2 autobuild (#5441)
The complete toolchain, including mkspiffs, esptool, C, C++, newlib,
and others (BearSSL excluded) is now built and uploaded with a single
command to ensure repeatability and minimize manual mistakes.  All
OSes and architectures are built at a time.

Update to 2.5.0-2 throught the chain.
2018-12-05 18:38:48 -08:00
58a044b254 LEAmDNS - Multicast DNS Responder (#5442)
* LEAmDNS Responder (II)

Created a new branch to solve commit conflicts with recent changes to ESP8266mDNSResponder.cpp by d-a-v.

* Removed millis() roll-over issues

* fix LEA-mDNS

* astyle on lea-mdns examples

* add compatibility with lwIP-v1

* ditto

* use strncasecmp instead of lwip's strnicmp from lwIP-v2 (thanks @devyte)

* ditto

* fixes

* Update mDNS_Clock.ino

unindent

* Update mDNS_ServiceMonitor.ino

unindent

* Update LEAmDNS.h

Add setInstanceName() forwarder for compat

* Disable DEBUG_ESP_MDNS_RESPONDER by default

* [Fixed] Debug output line

DEBUG_OUTPUT needs to go inside DEBUG_EX_ function otherwise throw error if DEBUG_ESP_MDNS_RESPONDER is not defined
2018-12-05 16:51:01 -03:00
e043806065 Mention eboot use of rtc memory (#5439) 2018-12-05 15:14:31 -03:00
f8f4b81d60 better compatibility for IPAddress changes with external libraries (#5438) 2018-12-04 23:32:24 -03:00
e44bcfe8e4 Make exceptions a configurable menu (#5434)
* Make exceptions a configurable menu

Add a menu, Exceptions, which allows exceptions to be disabled for ROM
sensitive scripts.  Default is enabled.

* Update to latest JSON builder
2018-12-04 22:31:40 -03:00
aacc6edf69 Add 64-bit %ll printf format support (#5435)
* Fix the template.json with latest core patches

* Add 64-bit %ll printf format support

Adds support for %lld, %llx, etc. 64-bit integer printing, useful
for logging timestamps and other things.

Fixes #5430

* Remove unwanted updated JSON
2018-12-04 20:46:17 -03:00
667c27f864 wip host build (#5431) 2018-12-04 14:55:10 -03:00
d5d112683f add flag to esptool to hard reset after flashing (#5433) 2018-12-04 12:36:11 -03:00
ee3b374e4e inconsistent block size for spiffs in board.txt. and ld files (#5412)
block size of 4096 for all boads of flash size <= 1024, or
blocks size of 4096 for spiffs < 512, or
block size of 8192 for all other boards
2018-12-04 10:01:32 +01:00
216680bb57 weak hook preinit() #2111 #2133 #2136 (#5395)
* weak hook early_setup() #2111 #2133 #2136

* rename to early_init (more "c" vs early_setup which is more "c++arduino")

* example

* improve earlyWiFi example, slightly change AddrList interface, move WiFi sketches into WiFi examples

* fix CI

* fix local CI runner

* fix local CI runner

* rename early_init() to preinit()

* + static ESP8266WiFiClass::preinit_wifi_off()

* update early disable wifi example

* example update

* IPv6 example update

* Update ESP8266WiFiGeneric.h

camelCase for static method name

* Update ESP8266WiFiGeneric.cpp

camelCase for static method name

* Update EarlyDisableWiFi.ino

Expand comment, fix static method name

* Update core_esp8266_main.cpp

Expanded comment.

* Update core_esp8266_main.cpp

Expanded comment

* Update EarlyDisableWiFi.ino

Expanded comment
2018-12-03 20:54:27 -08:00