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

371 Commits

Author SHA1 Message Date
Ivan Grokhotkov
e0da5a284f Merge pull request #753 from martinayotte/esp8266
add ESP8266WebServer::sendContent_P and ESP8266WebServer::send_P with contentLength
2015-09-18 09:54:04 +03:00
Ivan Grokhotkov
c8b12fd72c Implement SPIFFS.exists 2015-09-14 12:46:47 +03:00
Ivan Grokhotkov
2a297ca171 Fix cbuf running out of bounds (#348) 2015-09-13 22:45:00 +03:00
Martin Ayotte
348efba5b2 Merge remote-tracking branch 'upstream/esp8266' into esp8266 2015-09-09 10:54:30 -04:00
Ivan Grokhotkov
f4bd97e8ee File system: fix SeekEnd behaviour, fix size() not being updated after write() 2015-09-09 14:07:00 +03:00
Ivan Grokhotkov
32cc374921 Force disable IOSWAP for UART0 in HardwareSerial initialization (#744) 2015-09-09 13:39:55 +03:00
Ivan Grokhotkov
2115480b26 Merge pull request #751 from chaeplin/esp8266
adding resetInfo.reason 6
2015-09-09 02:00:22 +03:00
Ivan Grokhotkov
cd9791eebe Check file path when doing SPIFFS_readdir (#746)
SPIFFS is actually a flat file system, so opendir/readdir always iterate over all files. This adds explicit check that file name returned after readdir starts with the requested pattern.
2015-09-09 01:46:40 +03:00
Ivan Grokhotkov
a9d4e6c3e6 SPIFFS HAL: fix unaligned 1-byte writes and reads (#738) 2015-09-09 01:12:36 +03:00
chaeplin
4b07256802 adding resetInfo.reason 6
enum rst_reason {
	REASON_DEFAULT_RST		= 0,
	REASON_WDT_RST			= 1,
	REASON_EXCEPTION_RST	= 2,
	REASON_SOFT_WDT_RST   	= 3,
	REASON_SOFT_RESTART 	= 4,
	REASON_DEEP_SLEEP_AWAKE	= 5,
	REASON_EXT_SYS_RST      = 6
};
2015-09-06 14:36:56 +09:00
Martin Ayotte
fe1cc18ddb add W25Q40 chipid 2015-09-04 09:52:27 -04:00
Ivan Grokhotkov
9a2f2f2849 Add axTLS, first draft of WiFiClientSecure (#43) 2015-09-01 15:45:12 +03:00
Ivan Grokhotkov
041f971a8b Add FS::format (#702) 2015-08-31 10:26:04 +03:00
Ivan Grokhotkov
b8a6b71a1f Fix return value of FS::write methods 2015-08-31 10:26:04 +03:00
Ivan Grokhotkov
a9fbe27cba Merge pull request #729 from Links2004/esp8266
fix mac 599 for ESP8266HTTPUpdate
2015-08-31 09:38:28 +03:00
Ivan Grokhotkov
4995d03b20 Merge pull request #714 from martinayotte/esp8266
add toCharArray() to IPAddress class
2015-08-31 09:37:22 +03:00
Markus Sattler
a3bc0e924b revert some space auto formatting 2015-08-29 13:56:03 +02:00
Markus Sattler
79bec479b5 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266
Conflicts:
	hardware/esp8266com/esp8266/cores/esp8266/Updater.cpp
	hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src/include/ClientContext.h
2015-08-29 13:47:25 +02:00
Markus Sattler
8e50cdb190 Updater.cpp:
- use new AutoInterruptLock
 - add delay to give the RTOS some time to handle TCP

WiFiClient.cpp
 - add stopAllexcepted to cancel all TCP excepted one

ClientContext.h
 - add getLocalPort()

ESP8266HTTPUpdate.cpp
 - close all not needed TCP and UDP

osapi.h
 - missing commit from SDK
2015-08-29 13:45:58 +02:00
Martin Ayotte
b28e879af6 change toCharArray() to toString() 2015-08-21 11:07:26 -04:00
Martin Ayotte
664d92fbd0 add toCharArray() to IPAddress class 2015-08-20 23:43:01 -04:00
Ivan Grokhotkov
c355f626f2 Add flash read/write/erase APIs to ESPClass 2015-08-18 23:38:23 +03:00
Ivan Grokhotkov
fac840b6a8 Use optimistic_yield in FS read and write 2015-08-16 14:39:16 +03:00
Ivan Grokhotkov
98423fa79d Fix FS size and add type size checks 2015-08-16 14:00:35 +03:00
Ivan Grokhotkov
c363b2d4f6 Update SPIFFS to 0.2-64-g15e5618
fix some exceptions due to unaligned memory access
remove leftover changes from NodeMCU (SPIFFS_eof and SPIFFS_ftell)
2015-08-14 01:01:47 +03:00
Ivan Grokhotkov
69e68943b1 Merge pull request #664 from martinayotte/esp8266
fix dtostrf() issue, add Dir::fileSize
2015-08-13 12:03:32 +03:00
Martin Ayotte
568c48b065 add fileSize() method to Dir object 2015-08-12 22:12:22 -04:00
Markus Sattler
4ad894683e add system_soft_wdt_feed to ESP.wdtFeed(); 2015-08-10 17:35:15 +02:00
Ivan Grokhotkov
b59f6e3598 Merge pull request #678 from nkolban/esp8266
Made changes to allow the compiler to compile without warnings.
2015-08-10 17:36:34 +03:00
Kiril Zyapkov
bae97e5cc1 strtol and strtoul in flash 2015-08-10 16:25:28 +03:00
Kiril Zyapkov
06676482cc strtod: allow endptr to be null 2015-08-10 16:17:16 +03:00
Kiril Zyapkov
3b9ea5c837 add strtol and strtoul from newlib 2015-08-10 16:16:18 +03:00
Ivan Grokhotkov
15fca01031 Import fs::SeekMode enum into global namespace 2015-08-10 15:27:28 +03:00
Neil Kolban
b500a1f26a Made changes to allow the compiler to compile without warnings. 2015-08-09 14:10:20 -05:00
Martin Ayotte
1cd99391c3 integrate new version provided by Odometer 2015-08-08 15:25:08 -04:00
Martin Ayotte
659e467141 padding should be done with space, not with '0' 2015-08-07 21:55:25 -04:00
Martin Ayotte
aa6965c172 fix the missing minimum width requirement 2015-08-07 11:06:06 -04:00
Martin Ayotte
80ccbaef0d fix dtostrf() issue using trackerj/odometer fixes along with my own fix for string null character ending 2015-08-06 13:32:02 -04:00
Ivan Grokhotkov
3a3f25997c Disable interrupts inside Esp.getVcc (#567) 2015-08-05 08:54:45 -04:00
Ivan Grokhotkov
661ccb23ae Fix compilation error when Esp.h is included first in sketch (#590) 2015-08-05 08:48:21 -04:00
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