1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00
Commit Graph

313 Commits

Author SHA1 Message Date
8d92e73e63 spiffs fixes 2015-05-17 00:04:39 +03:00
ba1ddbb1cf improve includes
add ssid and ip to debug out
2015-05-16 22:56:15 +02:00
267901ef7b add examples/WiFiMulti/WiFiMulti.ino 2015-05-16 22:47:29 +02:00
66a5832ad1 add support for list of AP connections
- auto select ssid with best signal
 - for debugging enable DEBUG_WIFI_MULTI macro and call Serial.setDebugOutput(true);

change ESP8266WiFiClass::status() return type to wl_status_t
2015-05-16 22:40:53 +02:00
25a540d9dd fix start address so erase works 2015-05-16 21:40:41 +03:00
1529d7086f disable all interrupts when reading from spiffs
this fixes any possible resets caused by interrupt routines trying to
read the flash while there is an ongoing spiffs operation
2015-05-16 21:01:51 +03:00
1eb2ee6e00 printf to print instead of write 2015-05-16 20:39:23 +03:00
a496c22d44 fix uart triggering reset when spi has been read/written 2015-05-16 20:38:00 +03:00
cd6ba47f24 ESP8266WiFiClass::waitForConnectResult()
waitForConnectResult() waits until wifi status is not disconnected,
unless STA is disabled, in which case it returns WL_DISCONNECTED
2015-05-16 19:00:36 +03:00
ca3795721e add Print::printf 2015-05-16 18:25:22 +03:00
bad669b91a add access to SPIFFS properties 2015-05-16 13:16:38 +03:00
e730a24f27 Merge pull request #22 from Links2004/esp8266
pull SPI speed fix and uart overflow
2015-05-16 12:26:11 +03:00
fe5c6671a8 enhancements on the FS Api 2015-05-16 11:03:39 +03:00
c4dca3bd50 add folder api for SPIFFS 2015-05-16 02:29:26 +03:00
13079dbc0c Merge branch 'esp8265' of https://github.com/esp8266/Arduino into esp8266 2015-05-15 22:21:12 +01:00
f6614863fc Merge pull request #21 from esp8266/esp8266
pull latest changes
2015-05-15 20:17:26 +03:00
1f789c920e not needed menu item 2015-05-15 20:07:55 +03:00
654ebcf598 enhance board flash handling and eeprom location 2015-05-15 20:06:13 +03:00
ca3d0b3192 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-05-15 14:36:29 +02:00
c11d7d473f add flash splits depending on the flash size 2015-05-15 15:36:09 +03:00
a372da159b fix SPI speed calculation @160Mhz Clock 2015-05-15 13:42:30 +02:00
17bfb12941 use WDT_RESET macro in spiffs_flashmem methods 2015-05-15 13:54:42 +03:00
5fc72293aa Merge pull request #242 from Makuna/esp8266
dtostrf fix for remainder leading zeros
2015-05-15 11:00:58 +03:00
fa880d992f fix reading bytes from incoming POST upload
proper error and premature connection loss should be implemented to
handle weird cases where we might not get the whole post content
2015-05-15 02:22:00 +03:00
2cf17727bf fix bug when TX buffer is full and os will write.
in this case we hang endless or until wtd triggers.

new:
 now we overdrive the data in FIFO --> no hang / crash but we loss chars.
 only happens by extensive use of os_printf!
2015-05-14 21:45:19 +02:00
f968805ae9 dtostrf fix for remainder leading zeros
Fix remainder to display leading zeros
2015-05-14 11:56:03 -07:00
577ddce3a7 double 2015-05-14 19:17:53 +03:00
43323440ae add flash frequency and mode options 2015-05-14 19:10:05 +03:00
cd9300ef9c mount spiffs on boot 2015-05-14 17:20:15 +03:00
c53daa7df3 blah 2015-05-14 16:37:13 +03:00
984eb3f3f2 cast it 2015-05-14 16:31:34 +03:00
1683c55dbd make sure write return a positive or zero value 2015-05-14 16:28:55 +03:00
8e14cdf93e fix FSFile template 2015-05-14 16:08:16 +03:00
fb2f8e5203 Merge branch 'esp8265' of https://github.com/esp8266/Arduino into esp8266 2015-05-14 13:31:59 +01:00
202d38bb3e boolean -> bool 2015-05-14 15:05:24 +03:00
143dbae29e Merge branch 'ficeto-esp8266' into esp8266
* ficeto-esp8266:
  add template methods for stream to stream writes to SD and FS
  alignment not needed. we use fixed addresses
  Rework SPIFFS API to be more Arduino like
  fix missed edits
  disable automount
  fix SPIFFS to work
  pull get/set NoDelay for WiFiClient
  Add SPIFFS Support
  export sketch data folder to the build config
  Revert "Revert "Edit SD Server example to use the new Write(Stream) method""
  add template client write
  Revert "Add WiFiClient.write for Stream"
  Revert "Edit SD Server example to use the new Write(Stream) method"
  Edit SD Server example to use the new Write(Stream) method
  Add WiFiClient.write for Stream
  make upload callback packets aligned to defined size

Conflicts:
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/ESP8266WebServer.cpp
	hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src/ESP8266WebServer.h
2015-05-14 14:38:22 +03:00
8c1a40b242 Web server refactoring 2015-05-14 13:33:12 +03:00
88be6b1f6f Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266 2015-05-14 11:31:09 +01:00
4ef84f6914 add template methods for stream to stream writes to SD and FS 2015-05-14 12:41:24 +03:00
1ff1914366 alignment not needed. we use fixed addresses 2015-05-14 12:14:39 +03:00
7ddb745fb7 Merge pull request #19 from esp8266/esp8266
pull latest changes
2015-05-14 11:48:36 +03:00
37108bbbc7 Rework SPIFFS API to be more Arduino like
SD Style commands and Stream API
2015-05-14 11:29:26 +03:00
8663a6b131 move hexdump declaration to debug.h 2015-05-14 02:48:30 +03:00
ee69c92f55 fix SDWebServer sample 2015-05-14 02:47:39 +03:00
6ca8b04dd6 Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266 2015-05-14 02:34:21 +03:00
bf427f12fb fix missed edits 2015-05-14 01:06:55 +03:00
55c2a71a23 disable automount 2015-05-14 00:53:55 +03:00
7842b3c41d fix SPIFFS to work 2015-05-14 00:44:33 +03:00
386b2cfb40 add hexdump function for easy debugging.
Output:
[HEXDUMP] Address: 0x3FFF5188 len: 0x200 (512)
[0x3FFF5188] 0x00000000: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF5198] 0x00000010: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF51A8] 0x00000020: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF51B8] 0x00000030: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF51C8] 0x00000040: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF51D8] 0x00000050: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
[0x3FFF51E8] 0x00000060: E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1 E6 D1
....
2015-05-13 22:54:09 +02:00
8b1caebf76 PgmSpace working
PSTR() and F() macros correctly place string into flash memory relying
on PROGMEM
PROGMEM uses ICACHE_RODATA_ATTR
Print and String classes fixed up
str* classes fixed up
2015-05-13 11:27:54 -07:00