Makuna
0b2fb8d3ee
never yield within an ISR
2015-07-15 15:06:41 -07:00
Makuna
d815c36753
optimistic_yield()
...
this introduces optimistic_yield() used for when standard library
methods are normally used in tight loops waiting for something to
happen, like available().
2015-07-13 13:47:13 -07:00
Makuna
dece240830
Issue fixes
...
https://github.com/esp8266/Arduino/issues/475
https://github.com/esp8266/Arduino/issues/484
2015-07-13 19:08:35 +03:00
Ivan Grokhotkov
9342874432
Merge pull request #532 from me-no-dev/esp8266
...
add synchronous ota
2015-07-13 02:10:14 +03:00
John Doe
b605ab316e
add synchronous ota
2015-07-10 22:21:48 +03:00
h4rm0n1c
8e699b426b
Update core_esp8266_wiring_digital.c
2015-07-10 22:24:49 +08:00
h4rm0n1c
d0137574d0
Update core_esp8266_wiring_digital.c
...
Ugh, I don't know how that happened.
2015-07-10 22:04:58 +08:00
h4rm0n1c
c77f11906c
digitalWrite cleanup and more compliant with behavior on AVR
...
I rewrote digitalWrite because the existing version was breaking
functionality as compared to how it behaves on the AVR,. specifically, I
could not use digitalWrite for a library that works fine on the AVR.
Instead I had to resort to fiddling with GPOC and GPOS and bit masks,
but this rewrite made all of that unnecessary, for whatever reason, it
just works better.
This version borrows a little from the AVR library in the sense that the
same logic is applied to determine whether a pin should be high or low
as the AVR version, and yes, it does appear to make a difference.
2015-07-10 21:14:40 +08:00
Markus Sattler
d4ddb66fc4
update SDK to v1.2.0_15_07_03
2015-07-07 18:09:23 +03:00
Markus Sattler
39883f5ea8
upate phy with values from SDK 1.1.2 (esp_init_data_default.bin)
2015-07-07 18:07:59 +03:00
Markus Sattler
ddf03fc92b
Pulldown only possible for in 16. ( see #478 )
...
rename define to INPUT_PULLDOWN_16 to make it clear
2015-07-07 18:07:51 +03:00
Ivan Grokhotkov
49dc457fe5
Add strlcpy implementation ( #465 )
2015-07-07 14:39:39 +03:00
John Doe
4fdba1b635
Add SSDP Library and let Print::printf to handle longer strings
2015-07-07 10:22:43 +03:00
Ivan Grokhotkov
5763dbba3b
Code review
2015-07-06 21:04:08 +03:00
John Doe
1741bc68b6
speed :) and prevent write if we are not running
2015-07-06 12:35:35 +03:00
John Doe
703ab8df64
make Update erase/write sector by sector as well
2015-07-06 12:34:55 +03:00
John Doe
f3f500936d
make eboot erase/read/write sector by sector
...
that makes possible having sketches with size up to the free size
2015-07-06 12:34:29 +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
3427299065
minor enchancement
2015-07-06 12:32:04 +03:00
John Doe
d969115cda
protect the write method writing more than supposed to
2015-07-06 12:31:44 +03:00
John Doe
bfbfd31315
disable updater debug
2015-07-06 12:31:38 +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
d828312299
fix fail on slow streams
2015-07-06 12:27:54 +03:00
John Doe
2e08c5d797
Add an option to reboot on failed update
2015-07-06 12:27:44 +03:00
Ivan Grokhotkov
93f954d363
Add missing header
2015-07-06 12:20:20 +03:00
Ivan Grokhotkov
bd5187afc4
Use ROM functions directly instead of wrappers
2015-07-06 10:45:05 +03:00
Ivan Grokhotkov
f1c914fff8
Fix strncat ( #509 )
2015-07-06 08:18:54 +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
Makuna
28a5a4c97e
correct sync use
...
rsil doesn't require a sync,
isync needed for processor state register
esync needed to get special register
2015-06-26 20:27:13 +03:00
Ivan Grokhotkov
87abcf380e
Merge pull request #453 from me-no-dev/esp8266
...
Esp8266
2015-06-26 20:21:23 +03:00
Ivan Grokhotkov
3c846b720c
Merge pull request #469 from Testato/patch-3
...
Update core_esp8266_phy.c
2015-06-26 20:19:41 +03:00
Me No Dev
f8895d1a61
Merge pull request #10 from esp8266/esp8266
...
Esp8266
2015-06-26 12:16:06 +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
Testato
411773dffa
Update core_esp8266_phy.c
2015-06-25 11:38:43 +02:00
Testato
4d740bd8e1
Update core_esp8266_phy.c
2015-06-25 11:35:24 +02:00
Testato
cd5228f7c2
Update core_esp8266_phy.c
2015-06-25 11:34:53 +02:00
Testato
61f800ec14
Update core_esp8266_phy.c
2015-06-25 11:33:34 +02:00
Ivan Grokhotkov
9dce0c4181
Provide selection between A0 and VCC ( #443 , #338 )
2015-06-25 01:04:07 +03:00
Testato
9f67167eef
Update core_esp8266_wiring_analog.c
...
analogRead bugfix
2015-06-25 00:24:46 +03:00
Ivan Grokhotkov
788095c66e
Remove implementations of WDT-related functions
...
which were not correct since 0.9.3 anyway
2015-06-25 00:13:06 +03:00
Testato
432385604c
Update core_esp8266_phy.c
...
added vdd33_const explanation from official Espressif documentation
2015-06-24 22:32:59 +02: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
John Doe
64aaec8f54
more typos
2015-06-22 16:16:09 +03:00
John Doe
14f7b041b3
typo
2015-06-22 15:49:47 +03:00
John Doe
3a525e47cf
add I2S core
2015-06-22 15:47:22 +03: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
Ivan Grokhotkov
dc08418f08
Provide init data for register_chipv6_phy
2015-06-22 03:18:02 +03:00
Markus Sattler
93f215cb2e
add wait time after reset
2015-06-21 21:38:19 +02:00