Skip to content

sync from upstream #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 434 commits into from
Jun 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
434 commits
Select commit Hold shift + click to select a range
c40d8a9
adds WiFi.getPersistent() (#3857)
tablatronix Nov 22, 2017
7b09ae5
Bug #3795 (#3858)
tablatronix Nov 22, 2017
6e75ae4
CI: Use updated staging dev/platform without "_stage" suffix
ivankravets Nov 29, 2017
eb49406
Merge pull request #3894 from esp8266/ivankravets-patch-2
ivankravets Nov 29, 2017
3b0c395
cleanup warnings (#3934)
liebman Dec 8, 2017
31abb6e
[doc] update HTTPSRequest.ino (#3925)
Rotzbua Dec 8, 2017
7ff3ee9
[doc] update client-secure-class.rst (#3924)
Rotzbua Dec 8, 2017
7df2858
Fix comment misnomer (#3939)
devyte Dec 8, 2017
bd261c0
update and fix current generated boards.txt (#3940)
d-a-v Dec 12, 2017
cb723a5
realloc bug: fix #3953 (#3957)
d-a-v Dec 13, 2017
cc9e799
ci: split into multiple jobs
igrr Dec 13, 2017
4a0cdca
Export pgmspace symbols to C (#3955)
bofh69 Dec 14, 2017
58937dd
check nullptr in ESP8266WebServer (#3958)
d-a-v Dec 14, 2017
89e5a48
increase HTTP SEND/POST timeout to 5s (#3971)
d-a-v Dec 16, 2017
291fdfc
Update client-secure-examples.rst (#3907)
Rotzbua Dec 16, 2017
affd1b3
Update generic-class.rst (#3875)
tarzan115 Dec 17, 2017
26980b3
fix #1002 ::Flush() wait for empty send buffer (#3967)
d-a-v Dec 17, 2017
08cdf15
added int16_t i2s_available(); it returns the number of samples than …
aguaviva Dec 18, 2017
f8b577b
fix WiFiClient::availableForWrite() with no connexion (#3985)
d-a-v Dec 18, 2017
022ea5a
consequence of ::flush() update: fix potential double free (#3990)
d-a-v Dec 18, 2017
355232f
boards.txt: missing -DESP8266 + debug menu for -DNDEBUG (#3974)
d-a-v Dec 18, 2017
d0a4900
* extra validation breaking POST/DELETE rest calls (#4003)
vborcea Dec 21, 2017
d5bb4a9
in example properly wait for NTP to be set (#4000)
d-a-v Dec 21, 2017
9913e52
handle tv.tv_usec in settimeofday() (#4001)
d-a-v Dec 24, 2017
e4043e9
Fix boundary condition on resize (#4016)
boblemaire Dec 26, 2017
ddda374
WiFiClientSecure: don't trash unread decrypted data when writing (#4024)
igrr Dec 26, 2017
fac6490
Configurable WiFiClientSecure connect timeout, better default value (…
igrr Dec 26, 2017
9b3583d
ESP8266WebServer: add CONTENT_LENGTH_UNKNOWN keyword
igrr Dec 14, 2017
4c08389
ESP8266WebServer: send empty chunk when done sending chunked response
igrr Dec 14, 2017
db1cfc7
handle empty uri
liebman Dec 4, 2017
7fc23c6
WiFiUDP: fix crash when calling destinationIP with no packet availabl…
igrr Dec 28, 2017
237f7d9
ESP8266HTTPClient: allow changing connection timeout using setTimeout…
igrr Dec 28, 2017
a7984b6
Update a02-my-esp-crashes.rst (#3950)
devyte Dec 28, 2017
3838e58
WiFiClientSecure: don't use the broken max_fragment_length extension …
igrr Dec 28, 2017
7dd5036
Fix bug in WiFiClientBasic.ino (#3902)
hanwin Dec 28, 2017
1540369
Set architecture=esp8266 for bundled SD and Ethernet libraries (#4035)
igrr Dec 28, 2017
370e75c
multi-mss menus for lwip2, remove lwip xcc variant, lwip2 readme, upd…
d-a-v Dec 29, 2017
0b2df35
follow arduino API: pure virtual Stream::flush() moved to empty virtu…
d-a-v Dec 29, 2017
2880354
Added String hostname support to WiFiClient and WiFiClientSecure (#3349)
Mindavi Dec 29, 2017
2b868aa
allow disabling global Serial and Serial1 object (#2807)
Palatis Dec 29, 2017
a71118c
Improve error messages (#2800)
joeybab3 Dec 29, 2017
1cd4a00
Remove compiler warnings (#4043)
liebman Dec 29, 2017
a2d16f3
Extern C blocks (#1352) (#4044)
devyte Dec 30, 2017
4ab89d0
ESP8266WiFiMulti: Add count function (#3073)
patrickelectric Dec 30, 2017
b4653f4
Fix URL parameter decoding in web server (#3313)
scop Dec 30, 2017
b2e2d22
lwip2: fix minor "C" conflict (#4052)
d-a-v Dec 31, 2017
f9c60a2
Prevent endless loop in run_scheduled_functions (#4048)
hreintke Dec 31, 2017
9183366
fix IDE's OTA when using MSS != 1460
d-a-v Dec 31, 2017
8edeac0
sdk: rename `hostname` and `default_hostname` symbols (#1281)
igrr Dec 31, 2017
7dca072
Python 3 syntax fixes
scop May 30, 2017
ed83304
Python 3.6 invalid escape sequence deprecation fixes
scop May 30, 2017
8941404
get.py: identify aarch64 properly (#4050)
lobradov Jan 1, 2018
4ceabea
bump version for platformio
igrr Jan 1, 2018
06f21f2
bump version number
igrr Jan 1, 2018
b0bb1e1
Fix issue with UdpContext.h comment (#4068)
gchungsy Jan 2, 2018
411f8d8
Add support for @PlatformIO Core 3.5.0
ivankravets Jan 3, 2018
82e5186
Merge pull request #4079 from esp8266/ivankravets-patch-piocore35
ivankravets Jan 3, 2018
d9ef6b5
ArduinoOTA: don't crash on unrecognized packets (#4086)
yoursunny Jan 4, 2018
a19ff35
Update ArduinoOTA.cpp to solve #4086 (#4090)
lrmoreno007 Jan 4, 2018
fb7c519
small fix to stop crash on unrecognized packets (#4092)
mkillewald Jan 4, 2018
9cfbbc7
keepalive api (default 2h,75s,9 not enabled) (#3937)
d-a-v Jan 5, 2018
89837fc
lib/Ticker: add bool active() (#2722)
karlp Jan 5, 2018
f28d2eb
lwip2: fix wdt, fix wifi reconnection (#4105)
d-a-v Jan 6, 2018
4b319d9
UpdaterClass::printError now accepts the Print object
ijm7 Jan 7, 2018
28253c5
boards.txt generator (#3722)
d-a-v Jan 8, 2018
74ba914
tests/device: add make target to generate test reports
igrr Jan 7, 2018
e712711
tests/device: clean up requirements.txt, use latest versions
igrr Jan 7, 2018
2c8b2b9
tests: minor fixes, add README.md
igrr Jan 7, 2018
8765da2
Added WifiServer::begin(uint16_t port) method, listening port can be …
LuchoBecerra Jan 10, 2018
bd1c7ce
Add SSL enabled WiFiServer, Updater, WebServer
earlephilhower Feb 28, 2017
332e059
ESP8266HTTPClient: add digest authentication example (#4112)
1995parham Jan 10, 2018
02259a4
fixed support for psk in WiFiSTA, added support for psk to WiFiMulti,…
devyte Jan 11, 2018
ca25068
initialize io_ctx to nullptr
ztittle Jan 12, 2018
12f336f
Case change and and 'none' reset option for Digistump Oak (#4143)
pfeerick Jan 15, 2018
23a7bc2
restore zalloc() (lost with OOM debug commit, used by lwip/lwip2)
d-a-v Jan 12, 2018
de2a382
lower lwip2 ram and flash footprint (by disabling old asserts)
d-a-v Jan 12, 2018
074402e
Merge pull request #4150 from d-a-v/lwip
d-a-v Jan 15, 2018
bb794f9
Move C++ vtables into IRAM, out of HEAP (#4179)
earlephilhower Jan 17, 2018
b08ff10
Rework of arduino compatibility in WiFiSTAClass::config (#4145)
devyte Jan 17, 2018
d5c43f0
Utilized UPDATE_ERROR_ERASE, added _setError function and refactored …
Jan 18, 2018
dd00db1
check ClientContext's this and _pcb once out of the ::connect() delay…
d-a-v Jan 19, 2018
38fe6fc
Add timeout to WiFi connection loop in WiFiMulti (#4146)
devyte Jan 20, 2018
0fe7259
Update I2S base frequency and frequency dividers to real ones (#4031)
Crypter Jan 20, 2018
589eb29
Clear calloc block only if malloc succeeds
earlephilhower Jan 21, 2018
87b9097
add missing constants to variants/oak
boneskull Jan 23, 2018
575c45d
Merge pull request #4222 from boneskull/oak-fix
d-a-v Jan 24, 2018
8a24598
Add missing esptool upload modes for none and dtrset (#4228)
mribble Jan 24, 2018
4e539b2
Add a new resetmethod_menu_all macro (#4241)
mribble Jan 27, 2018
8b87491
new board generator option: --nofloat (#4232)
d-a-v Jan 27, 2018
8da1d78
Change argument to Esp.deepSleep from uint32 to uint64 to match SDK, …
devyte Jan 24, 2018
84228b1
Nameoftherose patch for Issue #2435 (#4256)
nameoftherose Jan 29, 2018
4bafbe5
WiFiTelnetToSerial Example - Minor Issues #2435 (#4255)
nameoftherose Jan 29, 2018
9ba8f77
Check that pins needed by Wire are defined at compile-time (#4261)
devyte Jan 30, 2018
199fe0f
ClientContext:_write_some: release buffer once data really accepted f…
d-a-v Feb 1, 2018
29c9ebe
update lwip menu (#4286)
d-a-v Feb 3, 2018
4e11591
fix dead link docs (#4221)
tarzan115 Feb 5, 2018
e38f19e
Remove warnings when NDEBUG build option used (#4196)
earlephilhower Feb 5, 2018
e3074e9
Update integration with @PlatformIO
ivankravets Feb 5, 2018
c3bd91a
Merge pull request #4294 from esp8266/ivankravets-patch-1
ivankravets Feb 5, 2018
c8dbfb1
Refrech api.github.com x509 certificate (#4306)
earlephilhower Feb 6, 2018
4c23e66
SSL server DEBUG, code cleanup fixes (#4280)
earlephilhower Feb 6, 2018
9694b3e
Fix spiffs lseek typo for seek_end (#4287)
devyte Feb 6, 2018
83f6d83
Fix RTCmem example buffer access past end (#4288)
devyte Feb 6, 2018
64885fd
minor cosmetics (dead code, -Wallextra) (#4274)
d-a-v Feb 7, 2018
0339bbb
lwip2: use only wifi_station_get_hostname() to set netif hostname (#4…
d-a-v Feb 7, 2018
bcbd596
add begin(port) to esp8266webserver, move some strings to flash, some…
devyte Feb 7, 2018
b15102a
doc/faq: tcpCleanup (#4314)
d-a-v Feb 7, 2018
4caf487
LED_BUILTIN should be a #define (#4276)
d-a-v Feb 7, 2018
85fb3d9
boards: Wemos D1 R1 needs a separate defined identifier (#4304)
d-a-v Feb 7, 2018
bb5787a
Fix mdns buffer overrun by 1 (#4317)
devyte Feb 7, 2018
f6f977f
fix links for read the docs (#4293)
tarzan115 Feb 8, 2018
cda72a0
Changed TIM_DIV265 for deprecation (#4326)
devyte Feb 8, 2018
bf5a0f2
Fix mem leak in SSL server, allow for concurrent client and server co…
earlephilhower Feb 8, 2018
291bc6b
Wrap mimetype strings in FSPTR()s (#4338)
earlephilhower Feb 10, 2018
eb58a31
Remove @PlatformIO library.json from GDBStub; fix pattern in LD // Re…
ivankravets Feb 13, 2018
11c83e1
Merge pull request #4363 from ivankravets/master
ivankravets Feb 14, 2018
bb90e12
Fix double-free in ESP8266WebServer (#4365)
earlephilhower Feb 14, 2018
5328a8b
additional mimetable fixes, additional string moves to progmem (#4371)
devyte Feb 16, 2018
d0f220f
fix board common variant inclusion for deprecated BUILTIN_LED (#4366)
d-a-v Feb 17, 2018
ad42ab6
Fix typos (#4346)
diogosalazar Feb 17, 2018
f9ac524
Add -Werror to acceptance builds for C and CPP (#4369)
earlephilhower Feb 18, 2018
429f40d
sdk: update to 2.2.0
igrr Feb 15, 2018
bc46db7
tools/boards.txt.py: remove tabs
igrr Feb 17, 2018
ce90037
tools/boards.txt.py: make ldscript output same as the existing files
igrr Feb 17, 2018
0d17639
ci: check that files generated by boards.txt.py are up to date
igrr Feb 17, 2018
aa37364
boards, package: update from boards.txt.py
igrr Feb 17, 2018
f0787e7
boards.txt.py: fix trailing comma in generated JSON
igrr Feb 17, 2018
a358bce
boards.txt.py: fix extra newline at the end of JSON output
igrr Feb 17, 2018
a020e89
boards.txt.py: normalize script name in generated output
igrr Feb 18, 2018
73ae0bb
sdk: add missing version.h file
igrr Feb 19, 2018
f3f00ed
gitignore: ignore generated files
igrr Feb 19, 2018
dcb6759
Revert "Remove @PlatformIO library.json from GDBStub; fix pattern in LD"
ivankravets Feb 19, 2018
0a000fe
Merge pull request #4393 from esp8266/ivankravets-patch-2
ivankravets Feb 19, 2018
28d8a41
ESP8266WiFi: zero-initialise scan_config structure
igrr Feb 19, 2018
ee5a1e2
WiFiClient: don’t destroy ClientContext on ::stop
igrr Feb 19, 2018
f2fc590
Drop PlatformIO lines from LD script; append object suffix to the end…
ivankravets Feb 20, 2018
e5746c0
Merge pull request #4399 from ivankravets/master
ivankravets Feb 20, 2018
0222e32
esptool: update to 0.4.13
igrr Feb 17, 2018
00c8b63
platform, boards: add menu to control what gets erased during upload
igrr Feb 18, 2018
c885542
sdk: update to v2.2.0-3-gf8f27ce
igrr Feb 22, 2018
cd6cd85
sdk: add a script for library update
igrr Feb 22, 2018
29789b1
fixed replyPakcet to replyPacket (#4439)
arush15june Feb 27, 2018
9127e6e
Fix some links (#4408)
lrmoreno007 Feb 28, 2018
19eb6ea
Fix small typo in documentation. (#4440)
fabianoms Feb 28, 2018
1349baf
[WIP] ESP8266WiFi: initialize new fields, remove old workaround (#4413)
igrr Feb 28, 2018
a2e7c7d
(bool)WiFiClient needs to return ::connected() since ClientContext is…
d-a-v Mar 2, 2018
7999f5c
Use correct separator in keywords.txt
per1234 Mar 5, 2018
2335f18
lwip2: fix disconnection/reconnection issue
d-a-v Mar 6, 2018
3df3246
lwip2: bump tag before 2.4.1
d-a-v Mar 6, 2018
e47a92a
lwip2: improve netif flags management on git side
d-a-v Mar 7, 2018
5b87c7b
Update ISSUE_TEMPLATE.md (#4474)
devyte Mar 7, 2018
8053f28
provide full version descriptor, displayed in debug mode (#4467)
d-a-v Mar 8, 2018
e52ead1
doc: remove changelog
igrr Mar 8, 2018
614f7c3
Release 2.4.1
igrr Mar 8, 2018
af74a10
Bump version to 2.5.0-dev
igrr Mar 8, 2018
e226251
ci: check examples code style
igrr Feb 19, 2018
61cd8d8
examples: format all .ino files
igrr Feb 19, 2018
7f0b9d1
Rx fifo latency fix (#4328)
mribble Mar 8, 2018
70f522c
Fix stack trace unwinding within continuation lib (#4385)
kylefleming Mar 8, 2018
ac546ac
Remove reference to an arrow/_right that doesn't exist (#4401)
lrmoreno007 Mar 8, 2018
0643d6e
Bugfix/persistentchecks (#3798)
tablatronix Mar 9, 2018
170911a
gdbstub, postmortem: clean up
igrr Mar 9, 2018
3b269c4
postmortem: raise exception when assert happens
igrr Mar 9, 2018
afcbcd5
Add support for hardware Sigma Delta generator
earlephilhower Mar 10, 2018
f070b55
Fix ESP8266WiFi/Diagnostics/Check Return Codes (#4504)
SConaway Mar 12, 2018
ad5691d
ie --> in (#4502)
SConaway Mar 12, 2018
4b9d3d9
Fix some typos in the FAQ (#4503)
SConaway Mar 12, 2018
5c0a57f
Specify units in CheckFlashConfig example sketch (#4490)
per1234 Mar 12, 2018
3934d10
Correct millis() drift, issue #3078 (#4264)
mrwgx3 Mar 12, 2018
c51c7b4
4m2m support in ldscripts (#4454)
d-a-v Mar 12, 2018
3ce888e
macro attributes should be used with brackets
fabianoms Mar 13, 2018
30155f2
Fix menu and checklist in a01-espcomm_sync-failed (#4512)
lrmoreno007 Mar 16, 2018
836c7da
adds getautoreconnect() (#4359)
tablatronix Mar 16, 2018
461c922
Compressed dns (#3769)
jonatanolofsson Mar 16, 2018
edd2754
Remove stray sigma_delta.h header (#4523)
earlephilhower Mar 16, 2018
732e22e
OOM debug option: simplify its management and make it compatible with…
d-a-v Mar 16, 2018
06352ab
Check Print::write(byte) return and stop on fail (#4527)
earlephilhower Mar 17, 2018
4a958c8
Record last failed alloc, dump on a panic (#4220)
earlephilhower Mar 17, 2018
4e2e1f2
AddServiceTxt returning bool (issue #1962) (#4507)
fabianoms Mar 17, 2018
855b03c
Fix exception handler, add assert, reduce RAM (#4187)
earlephilhower Mar 18, 2018
8911136
SPISlave.end() added (#4248)
JAndrassy Mar 18, 2018
99d2890
Quick Typo Fix (#4532)
ryanmaclean Mar 18, 2018
d112dfa
Update readme.rst (#4131)
jonhp Mar 19, 2018
f9110f5
Add I2S callback on DMA read (#4205)
Crypter Mar 19, 2018
6d3f0b4
Two More Typos (#4534)
ryanmaclean Mar 19, 2018
6580bf3
uart: fix wdt input overrun (#4536)
d-a-v Mar 21, 2018
2013af1
fix minor issues in test runner scripts on device (#4542)
d-a-v Mar 21, 2018
f8f205d
Inefficient Print::write(data,len) shows message if used (only in deb…
d-a-v Mar 22, 2018
479f1b3
HardwareSerial: one more duplicate test missing the call (#4547)
d-a-v Mar 22, 2018
3267443
Fix random crashing of ClientContext::write(Stream) and write_P(PGM_P…
mongozmaki Mar 22, 2018
42f824b
Fix WebServerSecure streamFile() (#4545)
earlephilhower Mar 22, 2018
d5cbd91
device test for #4516 (WiFiClient leaking) (#4549)
d-a-v Mar 23, 2018
95b1348
WiFiClient: clean up ClientContext before connecting (#4516)
igrr Mar 23, 2018
559cb35
spi: use const for output buffers (#4552)
d-a-v Mar 23, 2018
2d39bcb
Resolve updater size check bug (#4550)
Adam5Wu Mar 23, 2018
438d3f1
Update core_esp8266_si2c.c (#4070)
mrwgx3 Mar 24, 2018
6464ae0
Added 50kHz operation mode for I2C/Wire library (#3401)
derSeddy Mar 24, 2018
2105b8b
Update core_esp8266_si2c.c (#3389)
cgommel Mar 24, 2018
ee1ef4a
restore HardwareSerial::write(str) (#4564)
d-a-v Mar 26, 2018
e1ca870
defined SDA and SCL pins for Olimex MOD-WIFI-ESP8266(-DEV) (#4562)
mabi Mar 26, 2018
f2187f5
ldscripts: a Makefile to change c++ vtables location (#4567)
d-a-v Mar 26, 2018
a3a3654
Add linker MAP artifact to standard build process (#4186)
earlephilhower Mar 27, 2018
decfbdd
I2S driver fixes for IRQs, protocol, factoring (#4574)
earlephilhower Mar 27, 2018
29580e8
Fix for #4565 (rx fifo length), protect access to rx_buffer (#4568)
devyte Mar 28, 2018
241531a
Adding softAP SSID & PSK query API (#4138)
IMAN4K Mar 28, 2018
212a829
Move cont_init from ram to flash (#4384)
kylefleming Mar 31, 2018
7ae8f98
add board WiFiduino (#4590)
i3water Apr 1, 2018
8ae553d
I2s input API and examples (#4539)
earlephilhower Apr 2, 2018
f2c7256
Add flash for vtable destination, make it default, and add build menu…
earlephilhower Apr 2, 2018
b93cba1
simple fixes (#4597)
d-a-v Apr 2, 2018
3a110aa
Allow other ESP debug port class types (#4611)
bryceschober Apr 6, 2018
149af76
boards generator: new option --allgen (#4614)
d-a-v Apr 7, 2018
acbabf9
Added new ESP_EEPROM to list of ESP libraries (#4529)
jwrw Apr 7, 2018
cc11b29
board gen4iod: change flash mode from qio to dio (#4616)
d-a-v Apr 8, 2018
491c9b8
Fix packet typo (#4621)
JosefKuchar Apr 8, 2018
3138bdf
Update SoftwareSerial version to 3.4.1 (#4623)
plerup Apr 10, 2018
1ca5838
Add ESP.deepSleepMax() (#4627)
marcelstoer Apr 10, 2018
2315ac2
import use of __PROG_TYPES_COMPAT__ define for compatibility with old…
d-a-v Apr 10, 2018
8bd26f2
add support for environment variables in device tests
igrr Apr 10, 2018
1acaa8b
allow reading test environment from python mocks
igrr Apr 10, 2018
dae30ec
host side tests: update documentation about environment variables
igrr Apr 10, 2018
4305275
fix a very small typo in http client tests (#4633)
mhmd-azeez Apr 11, 2018
b08d282
fix connection reset by peer case (#4626)
d-a-v Apr 12, 2018
7820fb7
Added channel, ssid scan (#4636)
dtworth Apr 13, 2018
16a4f22
save 192 RAM bytes when attachInterrupt unused (#4601)
phoddie Apr 17, 2018
5d5ea92
Move continuation stack from .bss onto sys stack (#4622)
igrr Apr 18, 2018
1ae70ad
Force ARDUINO macro to 10805
ivankravets Apr 19, 2018
68f04bc
Merge pull request #4654 from esp8266/ivankravets-patch-3
ivankravets Apr 19, 2018
f5423c4
@PlatformIO: VTables, custom lwIP, sync libs and flags // Resolve #4618
ivankravets Apr 20, 2018
c12c9e2
Merge pull request #4661 from esp8266/ivankravets-patch-4
ivankravets Apr 20, 2018
d582cab
remove autogenerated eagle.app.v6.common.ld and git-ignore it (#4618)
d-a-v Apr 22, 2018
a0d1c64
Keep custom user flags passed via `build_flags`, such as a custom LD …
ivankravets Apr 25, 2018
41a6470
Fix WiFi status formatting issue (bullet list) (#4671)
marcelstoer Apr 25, 2018
758b0bd
Minimizing code redundancy (#4695)
fabianoms Apr 28, 2018
76a14b1
lwip2: fix static address management (#4677)
d-a-v May 1, 2018
bd87970
add http client configurable timeout usefull when download is slow on…
marian-craciunescu May 4, 2018
e3c9702
Add BearSSL client and server, support true bidir, lower memory, mode…
earlephilhower May 15, 2018
83ab034
Update README.md (#4730)
tzahari May 18, 2018
a1a9b99
Add build_even/odd types to split Arduino tests (#4737)
earlephilhower May 21, 2018
9b5f3c2
Report connected when any bytes are available (#4754)
earlephilhower May 22, 2018
529baab
Return data in internal SSL buffers after close (#4756)
earlephilhower May 23, 2018
5a03383
Add a build directory for libbearssl.a (#4736)
earlephilhower May 24, 2018
144152c
update git+macos installation instructions (#4753)
d-a-v May 25, 2018
1a9403d
lwip2 fix and update (#4729)
d-a-v May 25, 2018
ab7e109
A0 pin number can be changed in the variants (#4778)
acosinwork May 31, 2018
9c5c16e
add board WiFi Slot (#3916)
acosinwork Jun 4, 2018
9db33e1
Update to point to current Eclipse version (#4794)
Jun 7, 2018
8cda965
Allow to update credentials after setup performed. (#4789)
prampec Jun 7, 2018
73d36bb
fix base64_encode_expected_len (#4786)
d-a-v Jun 7, 2018
ea4720b
fix issue with compressed pointer (issue 4648) (#4752)
bikemike Jun 7, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,16 @@ exclude.txt
tools/sdk/lib/liblwip_src.a
tools/sdk/lwip/src/build
tools/sdk/lwip/src/liblwip_src.a
tools/sdk/ld/backup
tools/sdk/ld/eagle.app.v6.common.ld

*.pyc
*.gch

boards.local.txt

*.gcov
*.gcno
*.gcda
*.o
*.a
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "lwip2"]
path = tools/sdk/lwip2/builder
url = https://github.com/d-a-v/esp82xx-nonos-linklayer.git
[submodule "tools/sdk/ssl/bearssl"]
path = tools/sdk/ssl/bearssl
url = https://github.com/earlephilhower/bearssl-esp8266
93 changes: 52 additions & 41 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,61 @@
sudo: false
language: bash
os:
- linux
os: linux
dist: trusty

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache:
directories:
- $HOME/astyle

matrix:
include:
- env:
- BUILD_TYPE=build_even
- env:
- BUILD_TYPE=build_odd
- env:
- BUILD_TYPE=platformio
- env:
- BUILD_TYPE=docs
- env:
- BUILD_TYPE=package
- env:
- BUILD_TYPE=host_tests
- env:
- BUILD_TYPE=style_check

install:
- >
[ "$BUILD_TYPE" = "docs" ] && {
pip install --user -r doc/requirements.txt;
} || true
- >
[ "$BUILD_TYPE" = "style_check" ] && {
[ -f $HOME/astyle/build/gcc/bin/astyle ] || {
wget -O astyle_3.1_linux.tar.gz https://sourceforge.net/projects/astyle/files/astyle/astyle%203.1/astyle_3.1_linux.tar.gz/download;
tar -xf astyle_3.1_linux.tar.gz -C $HOME;
make -C $HOME/astyle/build/gcc;
}
make -C $HOME/astyle/build/gcc prefix=$HOME install;
} || true

script:
- set -e
- export CXX="g++-4.8" CC="gcc-4.8" GCOV="gcov-4.8"
- echo -e "travis_fold:start:host_tests"
- pushd $TRAVIS_BUILD_DIR/tests/host
- make
- make clean-objects
- echo -e "travis_fold:end:host_tests"
- echo -e "travis_fold:start:sketch_test_env_prepare"
- popd
- wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
- tar xf arduino.tar.xz
- mv arduino-nightly $HOME/arduino_ide
- cd $HOME/arduino_ide/hardware
- mkdir esp8266com
- cd esp8266com
- ln -s $TRAVIS_BUILD_DIR esp8266
- cd esp8266/tools
- python get.py
- export PATH="$HOME/arduino_ide:$TRAVIS_BUILD_DIR/tools/xtensa-lx106-elf/bin:$PATH"
- which arduino
- cd $TRAVIS_BUILD_DIR
- source tests/common.sh
- install_libraries
- echo -e "travis_fold:end:sketch_test_env_prepare"
- echo -e "travis_fold:start:sketch_test"
- build_sketches $HOME/arduino_ide $TRAVIS_BUILD_DIR/libraries "-l $HOME/Arduino/libraries"
- echo -e "travis_fold:end:sketch_test"
- echo -e "travis_fold:start:size_report"
- cat size.log
- echo -e "travis_fold:end:size_report"
- $TRAVIS_BUILD_DIR/tests/common.sh

after_success:
- pushd $TRAVIS_BUILD_DIR/tests/host
- bash <(curl -s https://codecov.io/bash) -X gcov
deploy:
provider: releases
prerelease: true
skip_cleanup: true
api_key:
secure: A4FBmqyhlzy33oPeZVolg2Q/A3ZcJ3WnRQqQJ3NAPy+qGM5xcboOYtwcLL9vKaHZGfUB7lUP9QVZFGou1Wrmo9DnPvAoe3+XvCaDRGzVMxeIpu7UStbBD4Knbh98tlbMvZCXYRlT4VcusI9bMLK6UWw4sMdPislBh2FEfglTiag=
file_glob: true
file:
- package/versions/$TRAVIS_TAG/esp8266-$TRAVIS_TAG.zip
- package/versions/$TRAVIS_TAG/package_esp8266com_index.json
on:
repo: esp8266/Arduino
tags: true
condition: "$BUILD_TYPE = package"

notifications:
email:
Expand Down
70 changes: 50 additions & 20 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,65 @@
----------------------------- Delete below -----------------------------

Please fill the info fields, it helps to get you faster support ;)
If your issue is a general question, starts similar to "How do I..", is related to 3rd party libs, or is related to hardware, please discuss at a community forum like esp8266.com.

if you have a stack dump decode it:
https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/stack_dump.md
INSTRUCTIONS
============
If you do not follow these instructions, your issue may be dismissed.

for better debug messages:
https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.md
1. Follow the checklist under Basic Infos and fill in the [ ] spaces with an X.
2. Fill in all the fields under Platform and Settings in IDE marked with [ ] (pick the correct option for you in each case, delete the others).
3. If you haven't already done so, test your issue against current master branch (aka latest git), because it may have been already fixed.
4. Describe your problem.
5. If you have a STACK DUMP decode it:

----------------------------- Remove above -----------------------------
https://arduino-esp8266.readthedocs.io/en/latest/Troubleshooting/stack_dump.html

6. Include a Minimal Complete Reproducible Example sketch that shows your issue. Do not include your entire project, or a huge piece of code.
7. Include debug messages:

https://arduino-esp8266.readthedocs.io/en/latest/Troubleshooting/debugging.html

8. Use markup (buttons above) and the Preview tab to check what the issue will look like.
9. Delete these instructions from the above to the below marker lines before submitting this issue.


----------------------------- Delete above -----------------------------

### Basic Infos

#### Hardware
Hardware: ?ESP-12?
Core Version: ?2.1.0-rc2?
- [ ] This issue complies with the [issue POLICY doc](https://github.com/esp8266/Arduino/blob/master/POLICY.md).
- [ ] I have read the documentation at [readthedocs](https://arduino-esp8266.readthedocs.io/en/latest) and the issue is not addressed there.
- [ ] I have tested that the issue is present in current master branch (aka latest git).
- [ ] I have searched the issue tracker for a similar issue.
- [ ] If there is a stack dump, I have decoded it.
- [ ] I have filled out all fields below.

### Description
#### Platform

Problem description
- Hardware: [ESP-12|ESP-01|ESP-07|ESP8285 device|other]
- Core Version: [latest git hash or date]
- Development Env: [Arduino IDE|Platformio|Make|other]
- Operating System: [Windows|Ubuntu|MacOS]

### Settings in IDE

Module: ?Generic ESP8266 Module?
Flash Size: ?4MB/1MB?
CPU Frequency: ?80Mhz?
Flash Mode: ?qio?
Flash Frequency: ?40Mhz?
Upload Using: ?OTA / SERIAL?
Reset Method: ?ck / nodemcu?
- Module: [Generic ESP8266 Module|Wemos D1 mini r2|Nodemcu|other]
- Flash Mode: [qio|dio|other]
- Flash Size: [4MB/1MB]
- lwip Variant: [v1.4|v2 Lower Memory|Higher Bandwidth]
- Reset Method: [ck|nodemcu]
- Flash Frequency: [40Mhz]
- CPU Frequency: [80Mhz|160MHz]
- Upload Using: [OTA|SERIAL]
- Upload Speed: [115200|other] (serial upload only)


### Sketch
### Problem Description

Detailed problem description goes here.


### [MCVE](https://stackoverflow.com/help/mcve) Sketch

```cpp

Expand All @@ -43,12 +72,13 @@ void setup() {
void loop() {

}

```

### Debug Messages

```
messages here
Debug messages go here
```


67 changes: 67 additions & 0 deletions POLICY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
This document describes rules that are in effect for this repository, meant for handling issues by contributors in the issue tracker and PRs.
# Opening New Issues
1. The issue tracker is precisely that: a tool to track issues in the core code, and not a discussion forum. Opening an issue means that a problem has been found in the core code, and that it should be addressed by a contributor.
2. When opening an issue, a template is presented with fields to fill out. The requested information is important. If the template is ignored, or not enough info about the issue is provided, the issue may be closed due to lack of info. Example:
* Using WifiMulti and FS crashes with error. Why? (no basic info, no IDE settings, no sketch provided)
3. Questions of type "How do I..." or "Can you please help me with..." or "Can the ESP do..." won't be handled here. Such questions should be directed at a discussion forum, like esp8266.com or stackoverflow. All issues of this type will be closed with a simple reference to the policy. Example:
* how do I connect to wifi
* how do I connect two ESPs
* can I send http data over a public network
* my wiring/project/code doesn't work, help!
4. Issues that are obviously user error, programming language errors, lack of knowledge or experience with the use semantics of the core libs, or similar, will be closed with a reference to the policy. Examples:
* sketch crashes due to a char[] in it that is not null terminated
* trying to use yield/delay, or libs that use yield/delay, from inside async callbacks
* Use of new/malloc without matching delete/free (mem leak)
5. Issues about topics already handled in the documentation will be closed in a similar manner. Example:
* can't flash with error espcomm failed
6. Issues must be provided with a minimalist sketch. Issues with an incomplete sketch, or a huge sketch, will be closed. Maximum effort must be put forth by the person opening the issue to reduce the relevant code that reproduces the issue, so that investigation can be taken up. MCVE is a must.
7. Issues for unmerged PRs will be closed. If there is an issue with a PR, the explanation should be added to the PR itself.
8. Issues with accompanied investigation that shows the root of the problem should be given priority
9. Duplicate issues will be closed with a reference to the original

# Triaging
1. Any contributor of the project can participate in the triaging process, if he/she chooses to do so
2. An issue that needs to be closed, either due to not complying with this policy, or for other reasons, should be closed by a contributor
3. Issues that are accepted should be marked with appropriate labels, e.g.: component: xyz
4. If an issue is deemed to require specialized knowledge (e.g.: TLS, HTTP parser, SDK integration, etc), contributor(s) relevant to the affected code should be /cc’ed, as this can help grab attention
5. Severe issues should be assigned to the current milestone (i.e.: the next version to be released), or the milestone following. It is ok to push back issues depending on available resources.
6. Issues that could impact functionality for many users should be considered severe.
7. Issues caused by the SDK or chip should not be marked severe, as there usually isn’t much to be done. Common sense should be applied when deciding. Such issues should be documented in a KID (Known Issues Document), possibly on the Wiki, for reference by users. Example:
* ARP issue
* Extra channel change beacon announced by the SoftAP
* Wakeup ROM bug in the ESP chip
8. Issues with feature requests should be discussed for viability/desirability. Example:
* Support for new board. If the new board is not widely used, doesn’t have a manufacturer webpage, etc, then it isn’t desirable to support it. If the new board is essentially a duplicate of another, it isn’t desirable to duplicate the existing one.
9. Feature requests or changes that are meant to address a very specific/limited use case, especially if at the expense of increased code complexity, may be denied, or may be required to be redesigned, generalized, or simplified
10. Feature requests that are not accompanied by a PR:
* could be closed immediately (denied)
* could be closed after some predetermined period of time (left as candidate for somebody to pick up)
* could be deemed interesting enough to work on, but without a specific project or target, and hence accumulated in a long-term feature request list. Such feature requests will in general not be targeted for a deadline or release.
11. In some cases, feedback may be requested from the issue reporter, either as additional info for clarification, additional testing, or other. If no feedback is provided after 30 days, the issue may be closed by a contributor.

# Compatibility
1. Compatibility with the Arduino build system is first priority. Compatibility with PlatformIO and make are also maintained, but are second priority.
2. Feature requests should consider compatibility with Arduino
* ESP-specific APIs should be added with care, and should be marked as such (Example: ESP8266WiFi)
* APIs of common libraries should maintain compatibility (Example: Wire, SPI, Servo)
* ESP-specific extensions to compatible APIs are ok, especially if required to fully use certain peripherals, but such functions should be clearly marked as ESP-specific
3. When making changes that are likely to impact PlatformIO or make, relevant people should be notified. Check whether some corresponding changes are needed on the build system side. When an issue related to one of these build systems is reported, redirect the issue reporter to the respective issue tracker.
4. The core libs are implemented as a wrapper layer over the Espressif SDK. Due to the requirements and limitations imposed by the SDK, there are inherent differences between the behavior of this core and the standard Arduino core (Example: using long delay()s is not allowed here). Compatibility can’t be maintained in such cases, and differences should be clearly documented.

# Pull requests
1. All pull requests should undergo peer review by at least one contributor other than the creator
2. All pull requests should consider updates to the documentation
3. All pull requests should consider updates to regression tests, where possible
4. Pull requests that address an outstanding issue, particularly an issue deemed to be severe, should be given priority
5. If a PR is accepted, then it should undergo review and updated based on the feedback provided, then merged
6. Pull requests that don't meet the above will be denied and closed

# Other
A table should be maintained for relating maintainers and components. When triaging, this is essential to figure out if someone in particular should be consulted about specific changes.

A stable release cadence should be established, e.g.: every 6 months.

Regression testing should be revisited and streamlined with the release process. Running regression tests should be done before merging a PR to reduce overhead for a release.



Loading