1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00
Commit Graph

1530 Commits

Author SHA1 Message Date
2d81ee290a Merge pull request #1242 from edog1973/master
mDNS fixes and enhancements
2015-12-20 10:11:28 +03:00
005d9d0bfd Merge pull request #1257 from Links2004/httpUpdate
check bin magic, add peekBytes
2015-12-20 00:42:55 +01:00
a04c225c59 Merge remote-tracking branch 'remotes/esp8266/master' into httpUpdate 2015-12-19 21:53:50 +01:00
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
5a4ced251d add check for magic header of bin before update is started.
see: #1250
2015-12-19 14:39:07 +01:00
5333ebfed7 add function peekBytes to WiFiClient/WiFiClientSecure to allow to peek multiple bytes if possible 2015-12-19 14:37:36 +01:00
898737422e ESP class - move interpretation of magic bytes in function 2015-12-19 14:30:13 +01:00
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
2c30bed897 New boards; move advanced documentation to @PlatformIO docs 2015-12-18 19:32:02 +02:00
a07838a19c Merge pull request #1245 from Links2004/httpUpdate
fix #1244 - MD5 handling
2015-12-18 09:12:09 +01:00
8032f77476 add missing ! for the checkFlashConfig call 2015-12-18 08:37:25 +01:00
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
727b6b1f6f Enable -mlongcalls flag for assembler 2015-12-18 10:00:44 +03:00
8f2ce1e7b9 Update GDBStub library with the source of esp-gdbstub 2015-12-18 10:00:44 +03:00
119ddca12c Update SDK changelog 2015-12-18 10:00:44 +03:00
2b941f5e2c Merge pull request #1239 from esp8266/sdk-1.5
Update to SDK 1.5 (#1102)
2015-12-18 09:31:00 +03:00
fa485cd88f Merge pull request #1231 from Makuna/ServoDetachFixes
Fix detach and attach
2015-12-18 08:45:37 +03:00
695583ec62 Merge pull request #1220 from asez73/master
Skip ':' inside SHA1 signatures in WiFiClientSecure.cpp .
2015-12-18 08:45:04 +03:00
1c8f9f5468 Merge branch 'mdns-updates' 2015-12-17 14:35:06 -08:00
f7d8a027e8 Fix begin overwriting instancename 2015-12-17 14:29:15 -08:00
99b3e2df26 remove debug code 2015-12-17 14:13:03 -08:00
5b012b2040 Update heap function defines in LwIP headers 2015-12-17 23:29:29 +03:00
b66ddbf93a Update to SDK 1.5 (#1102) 2015-12-17 23:14:59 +03:00
1c5751460b Merge pull request #1235 from Links2004/httpUpdate
HTTPupdate add flash size check + better error output
2015-12-17 13:35:38 +01:00
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
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
28dd31a80f add advanced error handling for HTTP update
see: #1111
2015-12-16 23:05:23 +01:00
b2de8735c8 check current flash before starting update, to avoid update problems.
see: #1111
2015-12-16 19:45:55 +01:00
e75c3d8444 Merge pull request #1230 from martinayotte/master
add show_hidden argument to scanNetworks()
2015-12-16 19:03:11 +01:00
481d74ba86 add show_hidden argument to scanNetworks() 2015-12-16 12:06:29 -05:00
246ed7a378 Merge pull request #1227 from pgollor/master
merge changes from ivankravets
2015-12-16 02:13:49 +01:00
7c5717ffb5 Merge branch 'ivankravets-patch-1' 2015-12-16 01:46:46 +01:00
8ed7424b63 Merge branch 'patch-1' of https://github.com/ivankravets/Arduino into ivankravets-patch-1 2015-12-16 01:46:36 +01:00
6711283027 Merge branch 'ivankravets-patch-2' 2015-12-16 01:44:27 +01:00
558e3d08e9 Merge branch 'patch-2' of https://github.com/ivankravets/Arduino into ivankravets-patch-2 2015-12-16 01:43:40 +01:00
9a4dc26451 Merge pull request #1226 from Links2004/httpClient
HTTP client move stream buffer the heap
2015-12-16 01:35:43 +01:00
b9d0807a56 only malloc needed ram if we know the response size and its less then 1460 2015-12-16 00:48:35 +01:00
b8769bf5eb HTTP Client move buffer (1460 Byte) from stack to heap. 2015-12-16 00:36:11 +01:00
8d9f174826 Add human readable instance name property 2015-12-15 13:29:59 -08:00
94fd0333fe Add authentication and upload options 2015-12-15 22:28:57 +02:00
7e1a04a41b More explanations about OTA uploading 2015-12-15 20:45:40 +02:00
79a4b922fa Add "Contents" block 2015-12-15 20:38:31 +02:00
3940b35491 Merge pull request #1222 from albeec13/patch-1
Modify boards.txt for Sparkfun Thing Dev
2015-12-15 19:08:31 +01:00
3a16bed4c2 Modify boards.txt for Sparkfun Thing Dev
The Sparkfun ESP8266 Thing Dev board currently has the "upload.resetmethod" set to "ck" which is invalid for the hardware, which uses the "nodemcu" reset circuitry.  You can compare the reset circuits here: https://cdn.sparkfun.com/datasheets/Wireless/WiFi/ESP8266-Thing-Dev-v10.pdf and https://raw.githubusercontent.com/nodemcu/nodemcu-devkit/master/Documents/NODEMCU_DEVKIT_SCH.png

Without this change, the Thing Dev board will not program correctly unless it is power cycled with GPIO0 held to ground.  After this change, the board resets, programs, and runs correctly, without any manual jumper or reset operations.
2015-12-15 11:46:17 -06:00
971bd9b75c Change addServiceTxt to key/val pair 2015-12-15 06:05:35 -08:00
758107f35d Add TXT support 2015-12-15 05:39:49 -08:00
f34f84be74 Fix add multiple services 2015-12-15 05:17:53 -08:00
d45294efff fix invalid packets, removes compression 2015-12-15 05:07:57 -08:00
1d1be8b848 Merge pull request #1 from asez73/asez73-patch-1
Skip ':' inside SHA1 signatures in WiFiClientSecure.cpp .
2015-12-15 11:42:17 +01:00
4be40bc5fa Skip ':' inside SHA1 signatures in WiFiClientSecure.cpp .
Improves the convenience of the verification of fingerprints.
As ':' are commonly inserted by web browser inside the SHA1 of https web sites, this created false problems with signatures "not matching".
Now, copied and pasted signature from Firefox simply because the verify function will skipped them...
2015-12-15 11:41:29 +01:00