ficeto
66d9dbb070
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
ficeto
53cb1a0140
fix data types
2015-05-16 16:29:10 +03:00
ficeto
5529188dae
add info methods to SD class
2015-05-16 16:22:38 +03:00
ficeto
9217187968
Merge pull request #22 from Links2004/esp8266
...
pull SPI speed fix and uart overflow
2015-05-16 12:26:11 +03:00
ficeto
1cd9cd312f
add folder api for SPIFFS
2015-05-16 02:29:26 +03:00
ficeto
ea9368c88d
enhance board flash handling and eeprom location
2015-05-15 20:06:13 +03:00
Markus Sattler
2eea25873d
fix SPI speed calculation @160Mhz Clock
2015-05-15 13:42:30 +02:00
ficeto
0897f9e2e3
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
Ivan Grokhotkov
3c9d1f20bb
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
Ivan Grokhotkov
36d0968ada
Web server refactoring
2015-05-14 13:33:12 +03:00
ficeto
2e9a038f68
add template methods for stream to stream writes to SD and FS
2015-05-14 12:41:24 +03:00
ficeto
cde17ac259
Merge pull request #19 from esp8266/esp8266
...
pull latest changes
2015-05-14 11:48:36 +03:00
Ivan Grokhotkov
ce73ac216b
fix SDWebServer sample
2015-05-14 02:47:39 +03:00
Markus Sattler
e0c1b47937
add some notes to the SPI functions (aligned to 32Bit)
...
- Fatal exception (9)
2015-05-13 19:03:21 +02:00
ficeto
3e7b8515e4
pull get/set NoDelay for WiFiClient
2015-05-13 20:01:05 +03:00
ficeto
8d1c59842e
Revert "Revert "Edit SD Server example to use the new Write(Stream) method""
...
This reverts commit 163a98375637ab8e3e177bb7853303e397e39dc0.
2015-05-13 12:48:14 +03:00
ficeto
5eee3da4d5
add template client write
...
can read streams that have "available()" and "read(buf, len)" methods
thanks @igrr
2015-05-13 12:47:29 +03:00
ficeto
74a2b75cf9
Revert "Add WiFiClient.write for Stream"
...
This reverts commit fa24d770c5096ad7a8894c3e5221c1358efe128c.
2015-05-13 12:45:48 +03:00
ficeto
2f45612bb8
Revert "Edit SD Server example to use the new Write(Stream) method"
...
This reverts commit 4ae8a6d631d532409dde5ea35af03bccbb62974f.
2015-05-13 12:15:52 +03:00
ficeto
30228c3641
Edit SD Server example to use the new Write(Stream) method
2015-05-13 12:09:34 +03:00
ficeto
f4969ce0e5
Add WiFiClient.write for Stream
...
reads directly from the stream and fragments the data to achieve
maximum data throughput over WiFi
2015-05-13 12:07:42 +03:00
ficeto
c0fdd09132
make upload callback packets aligned to defined size
...
having this a multiple of 512 bytes helps writing to SDcard
2048 looks reasonable and fast, but could be lowered if too much
2015-05-13 01:09:44 +03:00
Ivan Grokhotkov
b959e82165
add missing includes to mDNS library
2015-05-12 21:05:00 +03:00
Ivan Grokhotkov
371320bc45
Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266
2015-05-12 20:46:57 +03:00
ficeto
7512339b0c
remove qsort dependency and add TelnetToSerial example
2015-05-12 20:41:31 +03:00
ficeto
f2f1fad298
add TCP_NODELAY control
2015-05-12 19:25:37 +03:00
Ivan Grokhotkov
936265357b
Merge branch 'jwatte-esp8266' into esp8266
...
* jwatte-esp8266:
Fix UDP send to not temporarily use connect()
2015-05-12 19:18:19 +03:00
Ivan Grokhotkov
720142ef24
Merge branch 'esp8266' of https://github.com/jwatte/Arduino into jwatte-esp8266
2015-05-12 19:11:22 +03:00
Ivan Grokhotkov
0474b33dc7
Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266
2015-05-12 19:08:00 +03:00
Ivan Grokhotkov
89248032d6
Merge branch 'esp8266' of https://github.com/ficeto/Arduino into esp8266
...
Conflicts:
hardware/esp8266com/esp8266/libraries/ESP8266WebServer/examples/SDWebServer/SDWebServer.ino
2015-05-12 18:58:10 +03:00
Markus Sattler
dd7d34ef9d
add more NULL prt checks in strtok_r
...
Conflicts:
libraries/SD/src/SD.cpp
libraries/SD/src/SD.h
2015-05-12 17:10:19 +02:00
Ivan Grokhotkov
699b06b875
implement async replies in mDNS library
...
No need to call mdns.update() from loop() any more.
2015-05-12 17:59:24 +03:00
Ivan Grokhotkov
25d814bdfb
some UdpContext fixes, add rx callback support
...
Set udp destination address, port, and multicast TTL only on send.
Fix read method to return -1 if buffer is empty.
2015-05-12 17:52:22 +03:00
ficeto
bacc0b1f8b
add method to check for clients without referencing them
2015-05-12 15:21:35 +03:00
ficeto
1707d3d036
move discard_cb to unref
2015-05-12 14:22:16 +03:00
ficeto
88c6ee418d
add close and abort methods and enable disconnect callback
2015-05-12 13:58:05 +03:00
ficeto
95007b229d
Add option to select SPI speed at SD::begin
2015-05-11 22:29:02 +03:00
Markus Sattler
6c469b6f42
Merge remote-tracking branch 'remotes/ficeto/esp8266' into esp8266
2015-05-11 17:18:27 +02:00
ficeto
1f657fab73
plaintext POST fixes and rework of the SD example
...
Added a single file web editor/browser/uploader and all needed methods
to work with the files on the SD Card
2015-05-11 13:43:26 +03:00
Jon Watte
3049d48d56
Fix UDP send to not temporarily use connect()
2015-05-10 14:00:50 -07:00
ficeto
8fac77b0c3
Merge pull request #16 from esp8266/esp8266
...
pull latest changes
2015-05-10 18:57:05 +03:00
Markus Sattler
27f45a205a
SD:
...
- optimize SPI usage 148% write speed (24kB/s -> 37kB/s) and 127% read speed (121kB/s -> 155kB/s) at 8MHz
- add clock frequency as parameter for begin(csPin, frequency)
- SD @80MHz write: 84kB/s read: 231kB/s
SPI add functions:
- void write32(uint32_t data);
- void write32(uint32_t data, bool msb);
- void transferBytes(uint8_t * out, uint8_t * in, uint32_t size);
Adafruit_ILI9341:
- code clean
2015-05-10 17:34:16 +02:00
Markus Sattler
539aa19305
Merge remote-tracking branch 'remotes/ficeto/esp8266' into esp8266
2015-05-10 09:35:14 +02:00
Markus Sattler
070f2b3a14
many speed optimizations in Adafruit_ILI9341 lib (3x times faster)
...
add new SPI function:
void write(uint8_t data);
void write16(uint16_t data);
void write16(uint16_t data, bool msb);
void writeBytes(uint8_t * data, uint32_t size);
void writePattern(uint8_t * data, uint8_t size, uint32_t repeat);
Adafruit_ILI9341:
| Benchmark | Old (ms) | New (ms) | Speedup |
| ------------------------- | -------- | -------- | ----------- |
| Screen fill | 1248369 | 278707 | +347,91% |
| Text | 86102 | 53785 | +60,09% |
| Lines | 825400 | 536374 | +53,89% |
| Horiz/Vert Lines | 101875 | 24653 | +313,24% |
| Rectangles (outline) | 65720 | 17295 | +279,99% |
| Rectangles (filled) | 2592250 | 579157 | +347,59% |
| Circles (filled) | 411475 | 179454 | +129,29% |
| Circles (outline) | 360002 | 233584 | +54,12% |
| Triangles (outline) | 261772 | 170118 | +53,88% |
| Triangles (filled) | 866951 | 246237 | +252,08% |
| Rounded rects (outline) | 154131 | 81570 | +88,96% |
| Rounded rects (filled) | 2828112 | 660983 | +327,86% |
| | | | |
| Total | 9802159 | 3061917 | +220,13% |
2015-05-09 16:19:32 +02:00
ficeto
7001086920
fix binary file http upload
2015-05-09 14:21:53 +03:00
Ivan Grokhotkov
5407b064b0
Merge pull request #206 from Links2004/esp8266
...
rework Adafruit_ILI9341 complete now work with the new SPI implementation
2015-05-08 22:45:23 +03:00
Markus Sattler
dcc899a1b5
some speed optimizations
2015-05-08 15:33:48 +02:00
Markus Sattler
7c33efc3d8
fix SPI run on system clock
2015-05-08 15:30:27 +02:00
Markus Sattler
5cbcd1da3c
rework Adafruit_ILI9341 complete now uses the new SPI implementation
...
tested with example graphicstest_esp8266
add missing define to SPI.h
2015-05-08 14:45:47 +02:00
ficeto
8ce762db16
increase SD Card SPI Speed
2015-05-08 13:22:49 +03:00