Ivan Grokhotkov
cc152de907
Return to scheduler context from ESP::deepSleep ( #609 )
2015-08-05 08:42:29 -04:00
Ivan Grokhotkov
e02932fcdd
Only erase RTC RAM if sleep mode doesn't look valid ( #619 )
...
Source: http://esp8266.ru/forum/threads/mem-check-fail.168/#post-7354
2015-08-05 08:41:15 -04:00
Ivan Grokhotkov
5cbaa57af9
Resolve naming conflicts between FS and SD library
2015-08-05 08:36:43 -04:00
Ivan Grokhotkov
85c05e9454
Merge pull request #647 from Links2004/esp8266
...
add parameter names to Arduino.h
2015-08-05 08:05:20 -04:00
Ivan Grokhotkov
a0172dd93a
Merge pull request #649 from Makuna/interrupts
...
Interrupt cleanup
2015-08-05 08:04:00 -04:00
Ivan Grokhotkov
b5d9db91aa
Filesystem: fix File::available, add File::name
2015-08-05 07:41:12 -04:00
Makuna
a2673f2f4b
copy paste error fi
2015-08-03 19:58:42 -07:00
Makuna
dfeed84ecb
make compatible with existing interrupt lock class
...
Support both the normal auto lock at all levels, and the lock at a
specific level requiring different syntax
2015-08-03 19:55:56 -07:00
Makuna
57642c10b6
Interrupt cleanup
...
Fixes issue of reentrant calls to nointerrupts()
exposed functional replacements to cli sei and SREG when dealing with
interrupts
InterruptLock class to auto stop and restore interrupt level
Fix user ISR calls to be like Arduino with interrupts disabled fully.
2015-08-03 19:35:17 -07:00
Markus Sattler
5465eb1755
add parameter names to Arduino.h
2015-08-03 17:12:46 +02:00
Ivan Grokhotkov
5b82668a75
Fix warning for __run_user_rf_pre_init declaration
2015-07-30 13:52:20 +03:00
Ivan Grokhotkov
4aa8e1b8d5
FileSystem: interface changes and some additions
...
- rename mount to begin to be more in line with other libraries
- add rename and remove methods
- remove freestanding functions (mount,open,openDir) from public API until that part is ready
- fix resource leak in SPIFFSDirImpl
2015-07-30 13:44:50 +03:00
Ivan Grokhotkov
c0e0836a0b
Merge branch 'WifiSendP' of https://github.com/Makuna/Arduino into Makuna-WifiSendP
...
Conflicts:
README.md
2015-07-28 18:15:20 +03:00
Ivan Grokhotkov
f96e36ad02
Merge branch 'feature/fs' into esp8266
2015-07-28 18:10:26 +03:00
Ivan Grokhotkov
bbd8c9b411
FS wrapper
2015-07-28 15:23:11 +03:00
Markus Sattler
42332fc46e
allow user to run code in user_rf_pre_init.
...
add void to "C" functions.
example:
extern "C" void __run_user_rf_pre_init(void) {
system_phy_set_rfoption(2);
}
see: #515 and #413
2015-07-25 09:22:37 +02:00
Makuna
8fa156d356
send_P, sendContent_P, and FPSTR
...
This allows for the content of server response to be stored in flash
memory.
2015-07-24 12:41:26 -07:00
Markus Sattler
c33e2a60db
Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
2015-07-23 17:27:30 +02:00
Ivan Grokhotkov
b6185c3ceb
Merge pull request #575 from h4rm0n1c/patch-3
...
Re-added lost function memcpy_P
2015-07-22 17:15:34 +03:00
Ivan Grokhotkov
31344df515
Merge pull request #585 from esp8266/optimistic-yield
...
Pass timeout to optimistic_yield, add cont_can_yield check
2015-07-22 17:15:25 +03:00
Harrison Mclean
572d88c1c4
Re-added lost function memcpy_P
...
This was lost in 80a5f29e89
I've also changed the type of src to PGM_VOID_P to match the other changes made in the above commit.
2015-07-21 00:37:16 +08:00
Ivan Grokhotkov
e5d2ba5db8
Pass timeout to optimistic_yield, add cont_can_yield check
2015-07-20 15:48:25 +03:00
Makuna
47eb87d3ec
more memory functions
2015-07-19 19:45:17 -07:00
Markus Sattler
c6dc58a311
Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
2015-07-16 12:28:38 +02:00
Ivan Grokhotkov
5427abc325
Merge pull request #553 from skandragon/esp8266
...
adjust clock stretch
2015-07-16 09:47:48 +03:00
Ivan Grokhotkov
e87c4fffd3
Merge pull request #554 from bbx10/tcs34725_patch
...
NACK last byte when read
2015-07-16 09:47:35 +03:00
Makuna
17de2d7a4e
define in header
...
remove extern from cpp files
2015-07-15 16:32:49 -07:00
Makuna
0b2fb8d3ee
never yield within an ISR
2015-07-15 15:06:41 -07:00
Markus Sattler
0f25c46b94
Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
2015-07-15 13:58:30 +02:00
bbx10node
87001fea23
NACK last byte when read
...
The TCS34725 RGB color sensor works reliably with this change. See #535 for details.
2015-07-14 21:07:35 -10:00
Michael Graff
4b8f5342cd
adjust clock stretch
2015-07-14 11:05:53 -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
Markus Sattler
b54a98ba03
Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
2015-07-13 10:37:26 +02:00
Ivan Grokhotkov
9342874432
Merge pull request #532 from me-no-dev/esp8266
...
add synchronous ota
2015-07-13 02:10:14 +03:00
Markus Sattler
8d48aefb59
Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
2015-07-11 20:30:34 +02: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
0650b69b5a
send postmortem infos to Serial1 to.
2015-07-09 19:22:39 +02: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