1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-24 08:45:10 +03:00

392 Commits

Author SHA1 Message Date
Juppit
a394787aa1 Update for time.c
configTime needs timezone as long
2015-11-09 16:53:24 +01:00
Juppit
d46ad79aa0 Declare s_timezone_sec as long
Some more small fixes:
removed ensureBootTimeIsSet() from function time()
call sntp_setservername() with server id
2015-11-09 16:39:10 +01:00
Ivan Grokhotkov
46468d4af7 I2C: generate STOP in case of NACK (fix #698, #254)
thanks @petrd and @Yazzcat
2015-11-09 00:18:08 +03:00
Ivan Grokhotkov
4cf72e7ef4 Add libc time functions
Merging https://github.com/igrr/axtls-8266/pull/1 by @Juppit into the core
2015-11-08 23:44:25 +03:00
Me No Dev
bd5b5d35f0 I2S optimizations
zero buffers so they are mute in case of underflow
add non-blocking write (returns false if DMA was full)
add checks for full and empty DMA
add some comments to the header
2015-10-29 10:51:51 +02:00
Ivan Grokhotkov
219cb19ece Update SPIFFS wrapper for 0.3.3 2015-10-28 16:45:08 +03:00
Ivan Grokhotkov
d2d1befe1c Merge pull request #899 from pgollor/SPIFFS_update
update SPIFFS to version 0.3.3
2015-10-28 15:49:48 +03:00
Ivan Grokhotkov
56bd4a78b3 Fix short unaligned writes in SPIFFS HAL, 2nd attempt (#924) 2015-10-26 14:50:50 +03:00
Ivan Grokhotkov
405b23876c Fix short unaligned writes in SPIFFS HAL (#924) 2015-10-25 23:25:03 +03:00
Ivan Grokhotkov
f328e66fd7 Add 512k (no SPIFFS) build option (#862) 2015-10-25 21:11:45 +03:00
luc
320a747890 Add SPIFFS wrapper for info function
this allow to display total space and used space on SPIFFS
2015-10-22 11:22:32 +08:00
Pascal Gollor
5333bdf8a6 update SPIFFS to version 0.3.3 2015-10-18 10:52:17 +02:00
Markus Sattler
996f2b53dd fix possible free of null in String 2015-10-09 14:32:19 +02:00
Ivan Grokhotkov
ed785b5f0b Add gdb stub library 2015-10-07 00:56:24 +03:00
Ivan Grokhotkov
4f35207951 Move some core functions back into RAM 2015-10-06 16:11:40 +03:00
Ivan Grokhotkov
0c703b3baf Move timer ISR handlers and PWM handler into RAM (fix #819) 2015-10-06 13:26:21 +03:00
Ivan Grokhotkov
cf424a9290 Fix build warning (#740) 2015-09-30 23:15:55 +03:00
Pascal Gollor
98d2468edf Merge remote-tracking branch 'esporigin/esp8266' into SPIFFS-OTA 2015-09-28 13:25:08 +02:00
Ivan Grokhotkov
001a129c3a Fix heap node corruption (#428) 2015-09-28 11:59:34 +03:00
Ivan Grokhotkov
abfcc1da22 Make soft wdt reset more obvious 2015-09-19 22:31:23 +03:00
Pascal Gollor
f54386e1c0 update UpdaterClass to flashing SPIFFS image 2015-09-18 16:44:10 +02:00
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