1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

2995 Commits

Author SHA1 Message Date
Me No Dev
a33dba099f fix identation 2015-12-21 13:54:29 +02:00
Me No Dev
1ae423021a optimize pwm interrupt handler for better precision 2015-12-21 13:50:29 +02:00
Me No Dev
5edcaa0eed Merge remote-tracking branch 'esp8266/master' 2015-12-21 13:43:15 +02:00
Markus
cc0db8b6a9 Merge pull request #1259 from Links2004/httpUpdate
add magic byte check for Update class
2015-12-20 13:08:05 +01:00
Markus Sattler
fa7f7bde81 add _verifyHeader and _verifyEnd
_verifyHeader is called before the beginning of the update progress to verify the first byte using peek
_verifyEnd is called on the end before the eboot command is written to verify first byte + flash config

add missing _reset() on timeout
2015-12-20 12:45:36 +01:00
Markus Sattler
d5e0c7e64c Merge remote-tracking branch 'remotes/esp8266/master' into httpUpdate 2015-12-20 11:46:30 +01:00
Markus Sattler
53e01932d3 add magic byte check for Update class
Note: only check of first 0xE9 possible.
2015-12-20 11:46:00 +01:00
Ivan Grokhotkov
4333634bde Add warning levels configurable through Preferences 2015-12-20 11:51:10 +03:00
Ivan Grokhotkov
a046f225c4 Fix warning related to wifinfo board (#1247) 2015-12-20 11:47:06 +03:00
Ivan Grokhotkov
854dddded8 Link mesh library (#1256) 2015-12-20 11:28:36 +03:00
Ivan Grokhotkov
2d81ee290a Merge pull request #1242 from edog1973/master
mDNS fixes and enhancements
2015-12-20 10:11:28 +03:00
Markus
005d9d0bfd Merge pull request #1257 from Links2004/httpUpdate
check bin magic, add peekBytes
2015-12-20 00:42:55 +01:00
Markus Sattler
a04c225c59 Merge remote-tracking branch 'remotes/esp8266/master' into httpUpdate 2015-12-19 21:53:50 +01:00
Ivan Grokhotkov
3f0fdab879 Merge pull request #1248 from ivankravets/patch-3
New boards; move advanced documentation to @PlatformIO docs
2015-12-19 23:19:56 +03:00
Markus Sattler
5a4ced251d add check for magic header of bin before update is started.
see: #1250
2015-12-19 14:39:07 +01:00
Markus Sattler
5333ebfed7 add function peekBytes to WiFiClient/WiFiClientSecure to allow to peek multiple bytes if possible 2015-12-19 14:37:36 +01:00
Markus Sattler
898737422e ESP class - move interpretation of magic bytes in function 2015-12-19 14:30:13 +01:00
Eric Wilkison
c40cb79ec2 -replace char _hostName[63], char _instanceName[63], and char _txt[128] with Strings. Calling enableArduino allocates four TXT records, and there is quite an overhead of storing tcp_check=no inside an 128-byte buffer. Plus you gain flexibility by supporting TXT records larger than 128 bytes. Host and instance names should also be less than 63 characters most of the time.\n-move definitions of struct MDNSService and struct MDNSTxt to .cpp file, and use forward declaratio 2015-12-18 11:37:53 -08:00
Ivan Kravets
2c30bed897 New boards; move advanced documentation to @PlatformIO docs 2015-12-18 19:32:02 +02:00
Markus
a07838a19c Merge pull request #1245 from Links2004/httpUpdate
fix #1244 - MD5 handling
2015-12-18 09:12:09 +01:00
Markus Sattler
8032f77476 add missing ! for the checkFlashConfig call 2015-12-18 08:37:25 +01:00
Markus Sattler
02e6b2fc16 setMD5 has now returns bool
handle setMD5 failed in HTTP update
reset UpdaterClass when MD5 check failed
see: #1244
2015-12-18 08:30:35 +01:00
Ivan Grokhotkov
727b6b1f6f Enable -mlongcalls flag for assembler 2015-12-18 10:00:44 +03:00
Ivan Grokhotkov
8f2ce1e7b9 Update GDBStub library with the source of esp-gdbstub 2015-12-18 10:00:44 +03:00
Ivan Grokhotkov
119ddca12c Update SDK changelog 2015-12-18 10:00:44 +03:00
Ivan Grokhotkov
2b941f5e2c Merge pull request #1239 from esp8266/sdk-1.5
Update to SDK 1.5 (#1102)
2015-12-18 09:31:00 +03:00
Ivan Grokhotkov
fa485cd88f Merge pull request #1231 from Makuna/ServoDetachFixes
Fix detach and attach
2015-12-18 08:45:37 +03:00
Ivan Grokhotkov
695583ec62 Merge pull request #1220 from asez73/master
Skip ':' inside SHA1 signatures in WiFiClientSecure.cpp .
2015-12-18 08:45:04 +03:00
Eric Wilkison
1c8f9f5468 Merge branch 'mdns-updates' 2015-12-17 14:35:06 -08:00
Eric Wilkison
f7d8a027e8 Fix begin overwriting instancename 2015-12-17 14:29:15 -08:00
Eric Wilkison
99b3e2df26 remove debug code 2015-12-17 14:13:03 -08:00
Ivan Grokhotkov
5b012b2040 Update heap function defines in LwIP headers 2015-12-17 23:29:29 +03:00
Ivan Grokhotkov
b66ddbf93a Update to SDK 1.5 (#1102) 2015-12-17 23:14:59 +03:00
Markus
1c5751460b Merge pull request #1235 from Links2004/httpUpdate
HTTPupdate add flash size check + better error output
2015-12-17 13:35:38 +01:00
Markus Sattler
f57ab609ec move flash size check to a function in ESP class,
allow real size bigger the IDE for Update
2015-12-17 13:02:14 +01:00
Me No Dev
a331927e93 Merge remote-tracking branch 'esp8266/master' 2015-12-17 01:36:40 +02:00
Makuna
2425ee3413 Fix detach and attach
detaching could leave a running timer which would cause issues.
Further, detaching could truncate the last pulse causing a invalid
movement.
This change moves detaching into the ISR so it can maintain the last
pulse and not start any more timers if not needed.
2015-12-16 15:17:53 -08:00
Markus Sattler
28dd31a80f add advanced error handling for HTTP update
see: #1111
2015-12-16 23:05:23 +01:00
Markus Sattler
b2de8735c8 check current flash before starting update, to avoid update problems.
see: #1111
2015-12-16 19:45:55 +01:00
Markus
e75c3d8444 Merge pull request #1230 from martinayotte/master
add show_hidden argument to scanNetworks()
2015-12-16 19:03:11 +01:00
Martin Ayotte
481d74ba86 add show_hidden argument to scanNetworks() 2015-12-16 12:06:29 -05:00
pgollor
246ed7a378 Merge pull request #1227 from pgollor/master
merge changes from ivankravets
2015-12-16 02:13:49 +01:00
Pascal Gollor
7c5717ffb5 Merge branch 'ivankravets-patch-1' 2015-12-16 01:46:46 +01:00
Pascal Gollor
8ed7424b63 Merge branch 'patch-1' of https://github.com/ivankravets/Arduino into ivankravets-patch-1 2015-12-16 01:46:36 +01:00
Pascal Gollor
6711283027 Merge branch 'ivankravets-patch-2' 2015-12-16 01:44:27 +01:00
Pascal Gollor
558e3d08e9 Merge branch 'patch-2' of https://github.com/ivankravets/Arduino into ivankravets-patch-2 2015-12-16 01:43:40 +01:00
Markus
9a4dc26451 Merge pull request #1226 from Links2004/httpClient
HTTP client move stream buffer the heap
2015-12-16 01:35:43 +01:00
Markus Sattler
b9d0807a56 only malloc needed ram if we know the response size and its less then 1460 2015-12-16 00:48:35 +01:00
Markus Sattler
b8769bf5eb HTTP Client move buffer (1460 Byte) from stack to heap. 2015-12-16 00:36:11 +01:00
Me No Dev
8addbe8eae Merge remote-tracking branch 'esp8266/master' 2015-12-16 01:23:06 +02:00