5763dbba3b
Code review
2015-07-06 21:04:08 +03:00
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
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
d828312299
fix fail on slow streams
2015-07-06 12:27:54 +03:00
2e08c5d797
Add an option to reboot on failed update
2015-07-06 12:27:44 +03:00
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
788095c66e
Remove implementations of WDT-related functions
...
which were not correct since 0.9.3 anyway
2015-06-25 00:13:06 +03:00
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
93f215cb2e
add wait time after reset
2015-06-21 21:38:19 +02:00
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
e856053254
update getResetInfo
2015-06-17 12:08:52 +02:00
26eede862f
Add function to update sketch from Stream
2015-06-05 14:07:55 +03:00
becc1d32ed
rename EspClass::eraseESPconfig to eraseConfig
2015-06-05 14:07:42 +03:00
5a19cc24bf
correct addr
2015-05-25 13:13:05 +02:00
5852c484ca
add ESP.eraseESPconfig() to erase the ESP SDK configuration (including wifi)
...
improve WiFiMulti
2015-05-25 12:29:26 +02:00
dc52cf82c5
read the rst reason from the SDK if stored.
...
add String getResetInfo(void); and struct rst_info * getResetInfoPtr(void);
2015-05-25 11:15:29 +02:00
4fdd546ad5
Fix build
2015-05-24 15:35:18 +03:00
ba65783177
add method to get the actual size of the flash
2015-05-18 22:34:34 +03:00
18349b2090
fix buffer and block size
2015-05-18 21:45:00 +03:00
163858dc44
fix use SPI.beginTransaction crash
2015-05-07 19:25:25 +02:00
5c915ff385
add Winbond flash chip Ids
2015-05-05 18:41:38 +02:00
1d2d8f8dd2
add function to get flash size based of flash Chip id
2015-04-30 16:06:01 +02:00
55b2d88d07
in Arduino.h make some errors by compiling in some cases moved to Esp.cpp
2015-04-30 15:19:36 +02:00
fab5104cff
use User-defined literals for kHz, MHz, GHz, kBit, MBit, GBit, kB, MB and GB
...
see #145
2015-04-30 15:04:10 +02:00
cf9da93b61
Remove some definitions from global namespace
...
Names like kB, MB and kHz are likely to collide with variable names in user sketches.
Nowadays this should be implemented using c++14 user-defined literals (http://en.cppreference.com/w/cpp/language/user_literal )
2015-04-30 19:06:11 +08:00
a4536d5935
Minor code style changes
2015-04-30 18:54:16 +08:00
724baf7910
add functions to read out the flash config
...
Serial.print(F("Flash Chip Size: "));
Serial.println(ESP.getFlashChipSize());
Serial.print(F("Flash Chip Speed: "));
Serial.println(ESP.getFlashChipSpeed());
Serial.print(F("Flash Chip Mode: 0x"));
Serial.println(ESP.getFlashChipMode(), HEX);
2015-04-30 10:42:17 +02:00
8cb330eadf
add ESP.getFlashChipId()
2015-04-29 22:33:15 +02:00
6bcb8198b8
add to ESP class:
...
getChipId
getSDKversion
getBootVersion
getBootMode
getCPUfreqMHz
add some defines for AVR like WDT control
2015-04-19 10:20:33 +02:00
8aa93b6bf6
add EspClass::getFreeHeap see #81
2015-04-19 09:50:58 +02:00
6cf87708c5
add void restart(void) and uint16_t getVCC(void) to Esp class
2015-04-17 11:05:02 +02:00
6b593a7978
Add ESP.reset() method
2015-04-12 02:07:56 +08:00
5c94d333c5
Add watchdog and deep sleep APIs
...
requested in #34
2015-04-11 10:58:57 +08:00