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

2500 Commits

Author SHA1 Message Date
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
Ivan Grokhotkov
438dae64c7 link airkiss library
https://github.com/esp8266/Arduino/issues/3592
2017-09-12 21:30:18 +08:00
probonopd
1843030b8a Allow for double quotes in boundary (#3455)
as per https://tools.ietf.org/html/rfc2046#section-5.1.1
2017-09-12 07:41:54 -05:00
me-no-dev
6ac48124bd Update spiffs 0.3.7 to and mkspiffs 0.1.3 2017-09-12 19:21:08 +08:00
adams13x13
613f04c195 Update WString.cpp
realloc() is called with newSize > 0 (at least 16), so newbuffer==0 means the old memory was not deallocated. Therefore, the pointer should still point to the old buffer. This change should resolve issue #3516.
2017-09-11 05:10:17 -05:00
Nathaniel Wesley Filardo
2ffcb3e57b Fix exception_causes.rst formatting
The RST spec does not appear to believe in intra-cell line continuation as appeared to be expected by the original author.  Widen columns and unbreak words to fix output.
2017-09-06 09:11:44 -05:00
per1234
fe6f3cc830 Use correct separator in keywords.txt
The Arduino IDE requires the use of a tab separator between the name and identifier. Without this tab the keyword is not highlighted.

Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
2017-09-04 06:54:18 -05:00
hreintke
ba0e049b83 Functional Interrupts initial 2017-08-27 01:39:53 -05:00
Christopher Hiller
3f5d06bc12 add DigiStump Oak pins & board 2017-08-21 11:10:55 -05:00
R P Herrold
c730c0f10c patch for #3462 2017-08-07 19:04:35 +03:00
teejaydub
3b60f75635 Fix to parse parameters in the URL of a POST with empty content. (#3398) 2017-08-07 19:04:03 +03:00