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

2215 Commits

Author SHA1 Message Date
unaiur
3bfd5d51b4 Add missing pgm_read_ptr{_near/_far} macros (#2160) 2016-06-20 12:08:51 +08:00
Ivan Grokhotkov
79883e9d35 Fix UART pins setting (#2098) (#2141) 2016-06-20 12:08:33 +08:00
Ivan Grokhotkov
1640cc302d Fix ESP.getSketchSize, add ESP.getSketchMD5 (#2158)
* return true sketch size using ESP.getSketchSize() https://github.com/esp8266/Arduino/issues/2153
add MD5 for current binary ESP.getSketchMD5()

* Simplify ESP.getSketchSize, fix ESP.getSketchMD5
2016-06-16 21:05:43 +08:00
Charles
44d27228c5 Added Serial.baudRate() to get current baud rate (#2079)
* Changed WifInfo settings and WeMos board name

* Added board name to have in sketch and MDNS/OTA

* board naming convention

https://github.com/esp8266/Arduino/pull/2054

* Added Serial.baudRate() to get current baud rate

* Added more description

- Added note about Software Serial Implementation
- Indicate this will works on ESP8266 boards only
2016-06-15 18:35:33 +08:00
Ivan Grokhotkov
cbe8f7cb2d Update changelog 2016-06-15 12:22:34 +08:00
Ivan Grokhotkov
e64e32b329 Fix regression in WiFiClientSecure, update HTTPS test case (#2150) 2.3.0-rc2 2016-06-15 11:49:51 +08:00
Ivan Grokhotkov
da17d5425a Fix regression in WiFi.onEvent, add testcase (thanks @everslick) 2016-06-14 13:09:46 +08:00
Ivan Grokhotkov
b4490cd76d Fix issue when WiFi.begin(ssid, pass) is called right after WiFi.mode(WIFI_OFF)
If ssid and pass matched the values in flash, wifi_station_connect was not called and no connection was attempted
2016-06-14 13:07:08 +08:00
Ivan Grokhotkov
a14ac2cbdd Bring back old semantics to random and randomSeed, add secureRandom (#1710) (#2142) 2016-06-14 07:17:54 +08:00
Ivan Grokhotkov
b9dfe01903 Fix SPIFFS.openDir("") (#2143)
* Update spiffs_api.cpp

Fixes a bug where un-prefixed files are irretrievable with openDir(""). Described: https://github.com/esp8266/Arduino/issues/1818.

* Update FS test cases
2016-06-14 07:15:55 +08:00
Ivan Grokhotkov
91720337d3 Prevent WDT resets in SD library (#1815) 2016-06-13 19:30:58 +08:00
Ivan Grokhotkov
43412970ae Fix for crash in WiFiClientSecure when WiFi is disconnected (#2139)
* WiFiClient: implement stopAll() via stop()

* WiFiClientSecure: clean up ClientContext used by axTLS when stop is called (#2097)
2016-06-13 18:36:30 +08:00
Ivan Grokhotkov
6f3785b4b7 sntp_localtime: return -1 in tm_isdst field (#2010) 2016-06-13 15:29:05 +08:00
Ivan Grokhotkov
35fd2ccd52 Make ESP8266WebServer::urlDecode public (#1419) 2016-06-13 15:17:17 +08:00
Ivan Grokhotkov
fc80526ebf Remove symbols defined in abi.cpp from libstdc++ 2016-06-13 15:02:59 +08:00
Ivan Grokhotkov
90bbec9f50 Changes to MD5Builder missing from the last commit 2016-06-13 13:31:43 +08:00
Ivan Grokhotkov
063e4cc88f Add tests for MD5Builder, reformat and clean up code 2016-06-13 12:47:33 +08:00
Sven Eliasson
3640757692 MD5Builder::addStream: fixed falsy calculated hash for len > filelength (#2126) 2016-06-13 10:37:05 +08:00
Ivan Grokhotkov
9dd7910aed Enable SO_REUSE in LwIP and WiFiServer (#1431) (#2140) 2016-06-13 10:36:10 +08:00
Ivan Grokhotkov
0f0386e3c4 Update axTLS to ab516f7
fe6e51a...ab516f7
2016-06-13 00:56:38 +08:00
Ivan Grokhotkov
7d56ea4d9d Fix ARM toolchain size and hash in boards manager package template (#2004) 2016-06-12 14:50:20 +08:00
Ivan Grokhotkov
00065ac347 Allow DHCP client to be re-enabled using WiFi.config(0U, 0U, 0U) (#1896) 2016-06-12 14:44:15 +08:00
Ivan Grokhotkov
17c02ff252 ESP8266mDNS: restart listening when WiFi STA is connected/disconnected (#1828) 2016-06-12 14:17:27 +08:00
Ivan Grokhotkov
de166c9dd7 WiFi event handling refactoring (#2119) 2016-06-10 07:46:10 +08:00
Ivan Grokhotkov
7fd7ca6834 WiFiServer: fix error when calling close more than once 2016-06-08 17:32:45 +08:00
Anton Sokolchenko
533a600d95 Add virtual destructor to WiFiServer class (#2116)
Without this line compiler complains about :

Warning		22:9: warning: deleting object of polymorphic class type 'WiFiServer' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]		\\Mac\Home\Documents\Visual Studio 2015\Projects\BlinkESP8266_12\ActAsWiFi_server\SVServer.cpp	22

Reason for this is that I would like to init WiFiServer with port which can by dynamically chosen (for example by serial port)

internalServer = new WiFiServer(port);
2016-06-08 15:51:50 +08:00
Ivan Grokhotkov
5eb6a7f449 Add mechanism for posting functions to the main loop (#2082)
* Add mechanism for posting functions to the main loop (#1064)

* Fix indentation, add note that API is not stable
2016-06-08 11:22:48 +08:00
Ivan Grokhotkov
6bb8e1145b Rebuild libstdc++ with mlongcalls and link against it (#1983) 2016-06-07 22:47:35 +08:00
Me No Dev
a7ced9cabb make HTTP Update Server more secure (#2104)
* make HTTP Update Server more secure

* added option for authentication
* added option to change the url for upload

* move to overloaded setup

* remove delay in both examples

* Get better result responses

* fix strings

interesting, the meta did not refresh if the successResponse is put in
"R"
2016-06-07 10:09:05 +08:00
Ivan Grokhotkov
32bd42b028 Store git version of the core in the compiled binary (#2099)
* Store git version of the core in the compiled binary

* Don't update version number when using boards manager package
2016-06-06 14:37:39 +08:00
shiro
dbef28d394 add "include <ESP8266WiFi.h>" to ESP8266WebServer.h (#2094) 2016-06-06 12:21:01 +08:00
Nat
222e92a5fc Add new boards Phoenix 1.0 & Phoenix 2.0 (#2088)
* Add new boards Phoenix 1.0, Phoenix 2.0

* ESP8266HTTPClient: fix duplicate Content-Length headers (#1902)

* Add new boards Phoenix 1.0, Phoenix 2.0

* Add phoenix in variants.
2016-06-06 12:20:41 +08:00
Me No Dev
2f933e20fa Make Updater be able to run inside async callbacks (#2096) 2016-06-05 18:00:10 +08:00
Ivan Grokhotkov
dd81336b79 ESP8266HTTPClient: fix duplicate Content-Length headers (#1902) 2016-06-03 16:11:44 +08:00
Ivan Grokhotkov
d1fc7002c1 Move timer detachInterrupt functions into IRAM (#2083)
These functions are used from ISR in Servo library, so must be in IRAM.
2016-06-03 15:09:03 +08:00
Ivan Grokhotkov
ef800308ac Mention ESP8266Ping library 2016-06-02 16:07:18 +08:00
Ivan Grokhotkov
9db0393b65 Update RTC memory example 2016-06-02 14:34:28 +08:00
Ivan Grokhotkov
4b43860276 Add offset parameter to rtcUserMemoryRead/Write, expose RTC_USER_MEM in esp8266_peri.h 2016-06-02 13:39:53 +08:00
Ivan Grokhotkov
9e60d4d463 Update axTLS to fe6e51a (1.5.3+) 2016-06-01 17:40:04 +08:00
Ivan Grokhotkov
3fbf1d0029 Add ESP8285 entry in boards menu 2016-06-01 16:59:45 +08:00
Ivan Grokhotkov
ff1b456ea5 Add DOUT/QOUT flash modes 2016-06-01 16:12:13 +08:00
Charles
5176202603 Real board name available in Sketch/MDNS/OTA (#2054)
* Changed WifInfo settings and WeMos board name

* Added board name to have in sketch and MDNS/OTA

* board naming convention

https://github.com/esp8266/Arduino/pull/2054
2016-06-01 16:07:24 +08:00
unaiur
1dd50fb72c Execute global constructors in correct order (#2074)
Walk .ctors array from back to front, like gcc's gbl-ctors.h does
2016-06-01 14:45:59 +08:00
Ivan Grokhotkov
8176cbb28b Remove DISABLED macro (#2072) 2016-06-01 11:23:51 +08:00
Macro Yau
2a4081b079 Added support for RTC user memory in ESP-specific APIs. (#1836) 2016-06-01 11:13:33 +08:00
mgaman
974b9ae2fa UdpNtpClient rewritten in a clearer, more pedantic fashion. (#2008)
* Create readme.txt

* Add files via upload

* Update RFC1305.h

Added guard lines
2016-06-01 11:12:45 +08:00
WereCatf
0f3d0e86f7 Add MFRC522 to supported libraries (#2044) 2016-06-01 11:11:28 +08:00
unaiur
30720ce87a Fix #2015 ESP8266mDNS doesn't accept queryService responses from avahi-daemon (#2023)
Ignore unknown records (AAAA) in the query response; this way we can extract
the IPv4 address and connect to the server.
2016-06-01 11:11:11 +08:00
NullMedia
d60d744b59 ArduinoOTA library change (#2013)
* Fixed callbacks to allow lambda capture

* Update ArduinoOTA.cpp

* Fixed callbacks to allow lambda capture

* Fixed callbacks to allow lambda capture

* Update ArduinoOTA.h

* Tests update

Update ArduinoOTA.h

Fixed callbacks to allow lambda capture

* Modified callbacks to enable lambda capture

* Modified callbacks to enable lambda capture
2016-06-01 11:10:29 +08:00
Ivan Grokhotkov
3cfad27e38 Merge pull request #2058 from dave-prosee/master
I2C bus reset with status info to user, re issue 1025
2016-06-01 11:09:15 +08:00