1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-10-12 12:44:53 +03:00
Commit Graph

5329 Commits

Author SHA1 Message Date
Federico Fissore
c14d4fa8b4 Merge pull request #3109 from agdl/fix_i2cexamples
Fix for #2969 (I2C reserved addresses)
2015-05-14 14:07:43 +02:00
Federico Fissore
01d63f2dd1 Merge pull request #3130 from PaulStoffregen/uncategorized-warning
Fix Uncategorized warning message
2015-05-14 14:07:00 +02:00
Ivan Grokhotkov
202d38bb3e boolean -> bool 2015-05-14 15:05:24 +03:00
Ivan Grokhotkov
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
Ivan Grokhotkov
fa9ee11366 Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266 2015-05-14 13:34:31 +03:00
Ivan Grokhotkov
8c1a40b242 Web server refactoring 2015-05-14 13:33:12 +03:00
Matt Jenkins
88be6b1f6f Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266 2015-05-14 11:31:09 +01:00
ficeto
4ef84f6914 add template methods for stream to stream writes to SD and FS 2015-05-14 12:41:24 +03:00
Arturo Guadalupi
5199b0f6d3 Fixes #2969:
This fixes the Wire examples that uses I2C reserved address (from 0 to 7) substituting them with 8 that is the first one available and that can be used.

I also modified the wire reference
http://www.arduino.cc/en/reference/wire
according to this fact.
2015-05-14 11:27:00 +02:00
ficeto
1ff1914366 alignment not needed. we use fixed addresses 2015-05-14 12:14:39 +03:00
ficeto
7ddb745fb7 Merge pull request #19 from esp8266/esp8266
pull latest changes
2015-05-14 11:48:36 +03:00
ficeto
37108bbbc7 Rework SPIFFS API to be more Arduino like
SD Style commands and Stream API
2015-05-14 11:29:26 +03:00
Ivan Grokhotkov
8663a6b131 move hexdump declaration to debug.h 2015-05-14 02:48:30 +03:00
Ivan Grokhotkov
ee69c92f55 fix SDWebServer sample 2015-05-14 02:47:39 +03:00
Ivan Grokhotkov
9be51ebd6e 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
Ivan Grokhotkov
6ca8b04dd6 Merge branch 'esp8266' of https://github.com/Links2004/Arduino into Links2004-esp8266 2015-05-14 02:34:21 +03:00
Ivan Grokhotkov
779386f235 Merge pull request #236 from Makuna/esp8266
PgmSpace support
2015-05-14 02:31:39 +03:00
Ivan Grokhotkov
09e7e3fd46 Merge branch 'esp8266' of https://github.com/ficeto/Arduino into ficeto-esp8266 2015-05-14 01:58:59 +03:00
ficeto
bf427f12fb fix missed edits 2015-05-14 01:06:55 +03:00
ficeto
55c2a71a23 disable automount 2015-05-14 00:53:55 +03:00
ficeto
7842b3c41d fix SPIFFS to work 2015-05-14 00:44:33 +03:00
PaulStoffregen
0210c6b53a Fix Uncategorized warning message 2015-05-13 14:00:30 -07:00
Markus Sattler
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
Makuna
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
Markus Sattler
748b600487 add some notes to the SPI functions (aligned to 32Bit)
- Fatal exception (9)
2015-05-13 19:03:21 +02:00
ficeto
e518425746 pull get/set NoDelay for WiFiClient 2015-05-13 20:01:05 +03:00
ficeto
6c6420eff6 Add SPIFFS Support 2015-05-13 19:50:31 +03:00
Ivan Grokhotkov
0d376cbe0f Update all toolchains 2015-05-13 19:12:02 +03:00
Federico Fissore
765519a562 New editor: ALT+ BACKSPACE deletes next word (OSX only). See #3098 2015-05-13 17:39:43 +02:00
Federico Fissore
91da999cb0 New editor: ALT+ UP/DOWN move current line only if "editor.advanced" (hidden pref) is true. Fixes #3101 2015-05-13 17:12:26 +02:00
Federico Fissore
2d24d074e3 New editor: mark occurrences enable when "editor.advanced" (hidden pref) is true. Fixes #3102 2015-05-13 17:07:58 +02:00
Federico Fissore
02e94f1879 Update revisions.txt 2015-05-13 16:57:53 +02:00
Federico Fissore
6789cfe223 New modal dialog for adding additional boards manager url: with a wide text area, inputing is much easier 2015-05-13 16:24:37 +02:00
ficeto
ee6d70d8ee export sketch data folder to the build config 2015-05-13 17:09:27 +03:00
Ivan Grokhotkov
2b615646cc Remove osx toolchain package 2015-05-13 15:56:19 +03:00
ficeto
716eafe8bf 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
ficeto
de9873d04b 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
2fc2bcb53b Revert "Add WiFiClient.write for Stream"
This reverts commit fa24d770c5.
2015-05-13 12:45:48 +03:00
Ivan Grokhotkov
5504f631a8 Update windows toolchain 2015-05-13 12:16:39 +03:00
ficeto
163a983756 Revert "Edit SD Server example to use the new Write(Stream) method"
This reverts commit 4ae8a6d631.
2015-05-13 12:15:52 +03:00
ficeto
4ae8a6d631 Edit SD Server example to use the new Write(Stream) method 2015-05-13 12:09:34 +03:00
ficeto
fa24d770c5 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
Federico Fissore
74ace6674a Better naming and use of File constructor (avoids hardcoding system dependent path separator) 2015-05-13 10:21:57 +02:00
Federico Fissore
90a533b82c Using FileUtils.copyFile instead of dealing with raw streams 2015-05-13 10:16:09 +02:00
ficeto
2c1d353861 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
Matt Jenkins
6d963b3d9c Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266 2015-05-12 20:39:05 +01:00
Matt Jenkins
6ac4e8038a Added advanced web server demo 2015-05-12 20:13:48 +01:00
ficeto
9f42cca226 Merge pull request #18 from esp8266/esp8266
add missing includes to mDNS library
2015-05-12 21:06:47 +03:00
Ivan Grokhotkov
1862e0d629 add missing includes to mDNS library 2015-05-12 21:05:00 +03:00
ficeto
a5139bac67 Merge pull request #17 from esp8266/esp8266
pull latest changes
2015-05-12 20:53:19 +03:00