1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

2610 Commits

Author SHA1 Message Date
Christian Schuster
2fbc619569 allocate HTTPUpload struct on demand (#2557) 2017-10-22 13:58:53 +08:00
Bryce Schober
20b7e480b5 Make ESP8266mDNS debug output like other ESP libs 2017-10-22 13:56:45 +08:00
Bryce Schober
42aa983628 Make DNSServer debug output like other ESP libs 2017-10-22 13:56:45 +08:00
James Stanley
2abbc36da4 Put WiFi into station mode in examples (#3731) 2017-10-22 13:53:01 +08:00
Julian Wolter
098172c5e4 Increase version for PlatformIO (#3742) 2017-10-22 13:51:30 +08:00
Peter Lerup
fdac1a2653 Update SoftwareSerial to 3.3.0 (#3727)
SoftwareSerial: update to 3.3.1
2017-10-22 13:32:53 +08:00
vdeconinck
5397813e5c Minimal file with a few ESP8266-specific keywords - github issue #3701 2017-10-22 13:29:38 +08:00
Ivan Grokhotkov
0c897c37a6 ci: add skip_cleanup for release deployment 2.4.0-rc2 2017-10-15 15:33:00 +08:00
ittacco
53d7cc01cf Optimize EEPROM::put (#2487)
* EEPROM Library:
Improved put function, compare data and only in case are different set _dirty flag, copy the data

* It will grant that the _dirty flag is reset only at EEPROM.commit() and no changes are lost
2017-10-15 02:16:42 -05:00
WereCatf
9fce9c792c Add a workaround-delay in Serial.flush() (#3714)
* Add a workaround-delay in Serial.flush()

In relation to #2536 and #2502

Tested at 80MHz and 160MHz with flash-frequency at both 40MHz and 80MHz, the bug mentioned in the above issues manifests in all cases. The proposed workaround seems to work fine, I tested at 2400bps, 9600bps, 115200bps, 230400bps and 2Mbps and didn't see anomalous output.

* Remove extraneous character

* Update HardwareSerial.cpp
2017-10-15 02:05:49 -05:00
E. van Harten
b81ef01ef7 Fix for redirect of HTTP Update, so that it always returns to the root / instead of /update (#3420) 2017-10-15 02:03:28 -05:00
Ivan Grokhotkov
80aeacfb80 Fix erase size in ESP.eraseConfig
SDK uses final 4 sectors of flash for configuration data.
ESP.eraseConfig would only erase 2 sectors, so in some cases of
corrupted data ("system param error"), users could not fix the issue
using ESP.eraseConfig, and had to use esptool instead.

Thanks @HugoML for reporting this.
2017-10-15 02:02:05 -05:00
BSCheshir
93ad1fb3b6 fix link from md to rst (#3704)
actual instructions in rst
2017-10-15 02:01:12 -05:00
Ivan Grokhotkov
84512ec811 fixes for SDK update
- recompile liblwip_gcc.a with new err_t definitions
- update espconn.h (function signature change, new function)
- add option to build lwip with debug-prefix-map
2017-10-15 14:59:37 +08:00
Juppit
1c8bcf6cb2 fix gettimeofday()
tp->tv_usec = micros() not micros() * 1000
2017-10-15 14:43:03 +08:00
Ivan Grokhotkov
c83e17b31e WiFiUpd: fix warning 2017-10-15 14:41:50 +08:00
Ivan Grokhotkov
d24a358817 esptool: update to 0.4.12 2017-10-15 01:40:10 -05:00
Ivan Grokhotkov
5116a46f09 WiFiClient,WiFiServer: update to match new err_t definition 2017-10-15 01:40:10 -05:00
Ivan Grokhotkov
1b932181bd enable 8M and 16M flash sizes for generic board 2017-10-15 01:40:10 -05:00
Ivan Grokhotkov
e04903225e sdk: update to v2.1.0-10-g509eae8 2017-10-15 01:40:10 -05:00
Ivan Grokhotkov
2c2d6a3bad Don't remove persistent WiFi settings when doing scan (#2946) 2017-10-13 02:27:10 +08:00
Ivan Grokhotkov
371d1412fe provide implementation of _exit (#3698) 2017-10-13 02:18:53 +08:00
Ivan Grokhotkov
10edfc211e debug: hexdump arguments should be const 2017-10-13 02:17:56 +08:00
Ivan Grokhotkov
de9e8e024b pgmspace: zero out memory in strncpy_P (#2633)
strncpy should write 'size' characters, padding with zeroes if src is
shorter than 'size'.
2017-10-13 02:17:06 +08:00
Ivan Grokhotkov
7a93478a99 pgmspace: expand varargs correctly in printf_P (#2819) 2017-10-13 02:15:32 +08:00
Christopher Thomas
71b963699d Fix broken link 2017-10-11 11:25:34 -05:00
Peter N Lewis
c5b26e487e Fixed comment InterruptLock "disable interrupts" 2017-10-11 11:11:22 -05:00
Ivan Grokhotkov
526f4fbb6c WiFiClientSecure: add option to allow self-signed certificates
Mainly useful for testing WiFiClientSecure in local environments.

If allowSelfSignedCerts is called before verifyCertChain, then the
certificate chain will be verified, but the final certificate may be
self-signed.
2017-10-08 07:08:51 +08:00
Ivan Grokhotkov
84b046f98c WiFiClientSecure: add support for keys and certificates in PROGMEM 2017-10-08 05:04:04 +08:00
Ivan Grokhotkov
f85f8269b7 axtls: update to 24af415
Clear bigint cache once certificates and keys are loaded, and also
during verification. Can save up to 3kB of heap in a typical use case.
2017-10-08 05:00:08 +08:00
Ivan Grokhotkov
507a15910e WiFiClientSecure: display certificates when debugging is enabled 2017-10-02 00:27:22 +08:00
Ivan Grokhotkov
80e9a841d6 axTLS: update to 49b9deb
- Upstream fix: Fixed issue with pathlen=0 for root certs

Fixes #2711, #3340
2017-10-02 00:26:43 +08:00
Ivan Grokhotkov
eb891cd6e4 Revert "Added support for user-supplied DHCP range, with basic sanity checks (#3562)"
This reverts commit bdf2296a7d521ec876f15f3491b6690fff6abbb7.
2017-09-26 04:31:45 +08:00
Ivan Grokhotkov
35d5fabe33 Revert SPIFFS_USE_MAGIC_LENGTH to 0 (#3612) 2017-09-22 18:38:01 +08:00
Rémy HUBSCHER
ed20eb5b3e ESP8266HTTPClient: update library.properties (#3406) 2017-09-22 03:57:28 -05:00
Matthew Blythe
13c1e8b293 UdpContext: check that pbuf_alloc doesn't return nullptr (#3354) 2017-09-22 03:56:27 -05:00
snosrap
369edb616d Case-insensitive deviceType compare and skip NOTIFY processing
* ifndef'd LWIP_OPEN_SRC to prevent a redefined warning
* ABORT on NOTIFY to prevent responding to NOTIFY messages (we should only respond to M-SEARCH messages)
* case-insensitive compare of _deviceType to enable response to all-lowercase Alexa queries (robustness principle)
2017-09-22 03:52:44 -05:00
Joe Todd
c9dc8e1717 ESP8266HTTPClient: Add PATCH request (#3590) 2017-09-22 03:52:13 -05:00
Ahmed El Sharnoby
1683b12dd7 SPIFFS: update to f5e26c4, fixes #3612 (#3623) 2017-09-22 03:49:41 -05:00
me-no-dev
1ee17e54dd Update mkspiffs to version 0.2.0 2017-09-22 03:48:18 -05:00
probonopd
ac626ad9f8 Use LED_BUILTIN so that it works w/o attaching external LED (#3452)
* Use LED_BUILTIN so that it works w/o attaching external LED

* Use built-in LED

* Clarify text
2017-09-21 04:22:27 -05:00
NdK
bdf2296a7d Added support for user-supplied DHCP range, with basic sanity checks (#3562) 2017-09-21 03:52:30 -05:00
cheng3100
41a8fdb4a9 Add the ESP8266WiFiMulti to KEYWORD1 to make it highlight in the ino file (#3624) 2017-09-20 22:17:09 -05:00
rudivandrunen
2d3b7b9759 WiFiClientSecure: add loadCACert function (#3610)
Added loadCACert function
2017-09-19 22:49:38 -05:00
Ivan Grokhotkov
c8947953ac axtls: update to 66d530a, fixes #3335
SHA512 module stored padding in PROGMEM, but would then pass the pointer
to padding into Update function which would do a memcpy. Use the same
approach as with SHA256, that is to copy padding to the stack first, and
then pass it to Update.
2017-09-20 11:37:26 +08:00
Ahmed El Sharnoby
eebc5ec593 Digest Authentication in Webserver Library (#3053)
* Add Digest Auth

* Check for Opaque and Nonce

* Remove Serial Debug and fix Indentation

* Added example sketch with documentation,Fixed indentation and Defaults

* Digest Authentication minor changes + new padded 32 digit random function

* update license to public domain

* renaming functions
2017-09-18 05:31:32 -05:00
Ivan Grokhotkov
3e9caf7a3d tools/sdk: remove conflicting time.o from libmain.a 2017-09-15 05:55:00 -05:00
Ivan Grokhotkov
e68e3402fa core: mask GPIO interrupts while attaching/detaching ISR handler (#3598)
Fixes https://github.com/esp8266/Arduino/issues/2916.
2017-09-12 22:28:26 -05:00
Ivan Kravets
99763f2d3d Merge pull request #3599 from esp8266/ivankravets-patch-1
Install @PlatformIO Core to user's space
2017-09-12 20:46:41 +03:00
Ivan Kravets
83dd960fe5 Install @PlatformIO Core to user's space 2017-09-12 20:02:30 +03:00