1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-10 14:42:08 +03:00
Commit Graph

3219 Commits

Author SHA1 Message Date
c25ca1785d make sure write return a positive or zero value 2015-05-14 16:28:55 +03:00
261865cf6f fix FSFile template 2015-05-14 16:08:16 +03:00
44431bf9df add toolchain to ignore 2015-05-14 15:49:17 +03:00
5401d758f6 Merge branch 'esp8265' of https://github.com/esp8266/Arduino into esp8266 2015-05-14 13:31:59 +01:00
c570fd6348 Merge pull request #20 from esp8266/esp8266
pull latest changes
2015-05-14 15:27:21 +03:00
4644c3bad0 boolean -> bool 2015-05-14 15:05:24 +03:00
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
dea91ca620 Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266 2015-05-14 13:34:31 +03:00
36d0968ada Web server refactoring 2015-05-14 13:33:12 +03:00
46391b60e6 Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266 2015-05-14 11:31:09 +01:00
2e9a038f68 add template methods for stream to stream writes to SD and FS 2015-05-14 12:41:24 +03:00
5181f90725 alignment not needed. we use fixed addresses 2015-05-14 12:14:39 +03:00
cde17ac259 Merge pull request #19 from esp8266/esp8266
pull latest changes
2015-05-14 11:48:36 +03:00
53e8bd8f4d Rework SPIFFS API to be more Arduino like
SD Style commands and Stream API
2015-05-14 11:29:26 +03:00
eb37830238 move hexdump declaration to debug.h 2015-05-14 02:48:30 +03:00
ce73ac216b fix SDWebServer sample 2015-05-14 02:47:39 +03:00
b330cb794a Merge branch 'Links2004-esp8266' into esp8266
* Links2004-esp8266:
  add hexdump function for easy debugging.
  add some notes to the SPI functions (aligned to 32Bit)  - Fatal exception (9)
2015-05-14 02:35:03 +03:00
9f2c3a4bd2 Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266 2015-05-14 02:34:21 +03:00
aacfd9663a Merge pull request #236 from Makuna/esp8266
PgmSpace support
2015-05-14 02:31:39 +03:00
6e00fe8e83 Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266 2015-05-14 01:58:59 +03:00
cfac2cacb1 fix missed edits 2015-05-14 01:06:55 +03:00
5d1ee7ace6 disable automount 2015-05-14 00:53:55 +03:00
f501530f37 fix SPIFFS to work 2015-05-14 00:44:33 +03:00
a17aded8d6 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
81d27b403e 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
e0c1b47937 add some notes to the SPI functions (aligned to 32Bit)
- Fatal exception (9)
2015-05-13 19:03:21 +02:00
3e7b8515e4 pull get/set NoDelay for WiFiClient 2015-05-13 20:01:05 +03:00
3ff7641329 Add SPIFFS Support 2015-05-13 19:50:31 +03:00
8d1c59842e Revert "Revert "Edit SD Server example to use the new Write(Stream) method""
This reverts commit 163a983756.
2015-05-13 12:48:14 +03:00
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
74a2b75cf9 Revert "Add WiFiClient.write for Stream"
This reverts commit fa24d770c5.
2015-05-13 12:45:48 +03:00
2f45612bb8 Revert "Edit SD Server example to use the new Write(Stream) method"
This reverts commit 4ae8a6d631.
2015-05-13 12:15:52 +03:00
30228c3641 Edit SD Server example to use the new Write(Stream) method 2015-05-13 12:09:34 +03:00
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
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
6f22f15e4d Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266 2015-05-12 20:39:05 +01:00
bf2c3d04e2 Added advanced web server demo 2015-05-12 20:13:48 +01:00
8774b6ed48 Merge pull request #18 from esp8266/esp8266
add missing includes to mDNS library
2015-05-12 21:06:47 +03:00
b959e82165 add missing includes to mDNS library 2015-05-12 21:05:00 +03:00
e12509e4b3 Merge pull request #17 from esp8266/esp8266
pull latest changes
2015-05-12 20:53:19 +03:00
42f4d8d19a Merge branch 'ficeto-esp8266' into esp8266
* ficeto-esp8266:
  remove qsort dependency and add TelnetToSerial example
  add TCP_NODELAY control
2015-05-12 20:47:35 +03:00
371320bc45 Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266 2015-05-12 20:46:57 +03:00
7512339b0c remove qsort dependency and add TelnetToSerial example 2015-05-12 20:41:31 +03:00
f2f1fad298 add TCP_NODELAY control 2015-05-12 19:25:37 +03:00
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
720142ef24 Merge branch 'esp8266' of https://github.com/jwatte/Arduino into jwatte-esp8266 2015-05-12 19:11:22 +03:00
bbefe60403 Merge branch 'Links2004-esp8266' into esp8266
* Links2004-esp8266:
  remove libc still not working!
  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
  Adafruit_ILI9341 +7% speed now at 327,45% total
  many speed optimizations in Adafruit_ILI9341 lib (3x times faster)
2015-05-12 19:10:24 +03:00
0474b33dc7 Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266 2015-05-12 19:08:00 +03:00
139a3f0ad4 Merge branch 'ficeto-esp8266' into esp8266
* ficeto-esp8266: (28 commits)
  fix uart receive
  add method to check for clients without referencing them
  move discard_cb to unref
  add close and abort methods and enable disconnect callback
  removing timer aliases
  Add option to select SPI speed at SD::begin
  add pwm freq adjustment
  fix PWM and Timer1
  plaintext POST fixes and rework of the SD example
  fix binary file http upload
  some speed optimizations
  fix SPI run on system clock
  add esp8266_tcp_active_close.png image
  * miss to add the new files
  rework Adafruit_ILI9341 complete now uses the new SPI implementation tested with example graphicstest_esp8266
  increase SD Card SPI Speed
  fix SPI clock for SD library
  fix huge leak
  add proper POST support and more methods
  use a function to calculate best match clock register for SPI
  ...
2015-05-12 19:01:54 +03:00
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