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

272 Commits

Author SHA1 Message Date
John Doe
703ab8df64 make Update erase/write sector by sector as well 2015-07-06 12:34:55 +03:00
John Doe
9d0a690421 fix WebUpload example 2015-07-06 12:34:36 +03:00
John Doe
7596ed0742 inlining and enchancements 2015-07-06 12:34:09 +03:00
John Doe
0d969e9760 Fixes and HTTP Post update example
Because eboot first erases the space required for the new sketch, and
if the new sketch is larger then the old one, with the old way, part of
the beginning of new sketch will be deleted. Therefore for now I opted
to keep the max update size either half the available space for
sketches or what's left from the first one, whichever is smaller.
To be able to create a simple post mechanism for updates, I needed to
have a way to write the new binary, without knowing it's final size, so
I added an option to the end() method. Example in the WebServer
examples.
2015-07-06 12:32:28 +03:00
John Doe
ace974aede let's not wait too much :) telnet running here 2015-07-06 12:31:50 +03:00
John Doe
6f2069deac New Update library, example, upload and more
Proper error handling in the uploading python script
Much faster OTA example sketch with better results
New Update class that simplifies updating the firmware from any source
Updated Esp.updateSketch() to use the new class
2015-07-06 12:31:24 +03:00
John Doe
83eeaa31e0 typo 2015-07-06 12:25:29 +03:00
John Doe
dc9072b94b Initial Upload From IDE
For Test ONLY
2015-07-06 12:25:17 +03:00
Ivan Grokhotkov
a82796f83f Revert a460efb 2015-07-06 12:22:30 +03:00
Ivan Grokhotkov
6f63ad1ee4 Fix return value of WiFiClient::connect (#511) 2015-07-06 08:02:24 +03:00
Anwar Hahj Jefferson-George
212a2cfa60 Update ESP8266WiFi.h 2015-06-29 18:04:25 +03:00
Anwar Hahj Jefferson-George
389e5fb878 Update ESP8266WiFi.cpp 2015-06-29 18:04:19 +03:00
John Doe
148ec5579f no need for the IP 2015-06-29 02:42:54 +03:00
John Doe
25aa2cdc08 MDNS-SD 2015-06-29 02:27:14 +03:00
Ivan Grokhotkov
fc83952685 Merge pull request #438 from Links2004/esp8266
update SDK to esp_iot_sdk_v1.1.2_15_06_16_p1
2015-06-26 20:33:02 +03:00
probonopd
496fee1a15 Use BUILTIN_LED 2015-06-26 20:31:56 +03:00
probonopd
2969b0b7a3 Use BUILTIN_LED 2015-06-26 20:31:51 +03:00
probonopd
3e87bb3ce2 No need to disable the watchdog 2015-06-26 20:31:45 +03:00
probonopd
7553b67dd7 ESP8266 BlinkWithoutDelay 2015-06-26 20:31:39 +03:00
probonopd
0e29e7e048 ESP8266 Blink example for the blue LED on the ESP-01 module 2015-06-26 20:31:32 +03:00
reaper7
bdb5e0c0d9 missing part of class name WiFiMesh -> ESP8266WiFiMesh 2015-06-26 20:31:04 +03:00
Kristijan Novoselic
3bbe9b56c6 Added captive portal functionality 2015-06-26 20:30:57 +03:00
Kristijan Novoselic
bcdb580d7a Added simple HTTP server to DNSServer example 2015-06-26 20:30:48 +03:00
Me No Dev
f8895d1a61 Merge pull request #10 from esp8266/esp8266
Esp8266
2015-06-26 12:16:06 +03:00
John Doe
9bb29fc777 fix wifiAP, ip_addr redeclaration and TFT SPI 2015-06-26 12:12:26 +03:00
Markus Sattler
3a34aa61e0 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
Conflicts:
	hardware/esp8266com/esp8266/cores/esp8266/Esp.cpp
2015-06-25 20:02:37 +02:00
Ivan Grokhotkov
565c7aeac0 Less debug output from slist 2015-06-25 00:13:55 +03:00
Ivan Grokhotkov
e5fcdbd9e3 ESP8266WebServer: reduce amount of string copying 2015-06-24 23:58:53 +03:00
Markus Sattler
fdb723cbad Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
Conflicts:
	hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_main.cpp
2015-06-23 13:08:05 +02:00
Me No Dev
9de2621b7b Merge pull request #9 from esp8266/esp8266
Esp8266
2015-06-23 10:59:21 +03:00
Ivan Grokhotkov
b029e78a67 Fix for wifi disconnect handling (#431) 2015-06-22 13:59:12 +03:00
Markus Sattler
750c5dcc5d code style 2015-06-22 11:51:13 +02:00
Markus Sattler
f11c65e9a7 add basic check for valid data for in updateSketch (first byte of bin is always 0xE9)
send SDK version by HTTP Update
2015-06-22 10:23:33 +02:00
Markus Sattler
8559c8bbb1 add pull up option to OneWire
see #447
2015-06-21 22:19:23 +02:00
Markus Sattler
3d71bec59a rename to ESP8266HTTPUpdate 2015-06-21 22:07:02 +02:00
Markus Sattler
0f513e4814 add first code for HTTP Update 2015-06-21 21:38:36 +02:00
John Doe
80d5508b73 fix I2C case where using different pins would not work with libs calling begin internally
if you call Wire.begin(new_sda, new_scl) and your library calls
internally Wire.begin() this will overwrite the SDA,SCL pins to the
default ones
2015-06-20 21:57:09 +03:00
Markus Sattler
1f1497264b disable WiFi DEBUG_WIFI_MULTI
add _min and _max define as workaround
2015-06-20 20:55:08 +02:00
Markus Sattler
874cf0ef98 fix exception 28 in AP + STA mode and STA disconnect
UDP triggers exception 28
2015-06-20 18:36:19 +02:00
jtfell
6f05da45cf add ESP8266WiFiMesh library 2015-06-19 21:12:47 +03:00
Peter Newman
b7451114fd Don't wait for a connection to an AP when we're supposed to be the AP. 2015-06-19 20:57:19 +03:00
Markus Sattler
fe1b39fa0e update AVR src
* java code not tested *

Merge remote-tracking branch 'remotes/arduino/master' into esp8266

Conflicts:
	README.md
	app/src/processing/app/AbstractMonitor.java
	arduino-core/src/processing/app/Serial.java
	libraries/WiFi/examples/WiFiWebClientRepeating/WiFiWebClientRepeating.ino
	libraries/WiFi/library.properties
2015-06-17 14:24:25 +02:00
Markus Sattler
9a1ff7f70d add WiFi scan Async mode 2015-06-16 18:26:34 +02:00
John Doe
d441d8485e allow proper content length handling 2015-06-16 00:25:34 +03:00
Me No Dev
960ada04c3 Merge pull request #4 from esp8266/esp8266
Esp8266
2015-06-12 20:36:35 +03:00
John Doe
a409ce2e6b fix example not working on firefox 2015-06-12 20:31:09 +03:00
Ivan Grokhotkov
c51acf2a32 Fix tcp error handler 2015-06-11 18:11:26 +03:00
Ivan Grokhotkov
e6e57a8b81 Better handling of wifi disconnect (#231)
When network interface is down, some nasty things happen, for instance tcp_connect returns without ever calling error callback.
This change adds some workarounds for that: before doing a tcp connect and DNS resolve we check if there is a route available.
Also added a listener for wifi events which stops (aborts) all the WiFiClients and WiFiUDPs when wifi is disconnected. This should
help libraries detect disconnect properly.
2015-06-11 18:01:33 +03:00
Ivan Grokhotkov
567d401ed3 Merge pull request #406 from me-no-dev/esp8266
fix sd example returning bad json on empty folder
2015-06-11 12:38:52 +03:00
Kristijan Novoselic
c570d0f593 Added a DNSServer library 2015-06-11 12:37:30 +03:00