1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

201 Commits

Author SHA1 Message Date
Ivan Grokhotkov
4fdd546ad5 Fix build 2015-05-24 15:35:18 +03:00
Ivan Grokhotkov
01d0f61429 Update SDK to 1.1.0 (#306) 2015-05-23 12:48:56 +03:00
Ivan Grokhotkov
db1e033186 Remove SPIFFS wrapper 2015-05-23 10:13:59 +03:00
ficeto
8ec074e9fa fix I2C 2015-05-22 15:13:11 +03:00
ficeto
fe601d21ab clean unused defines and typos 2015-05-22 02:45:29 +03:00
ficeto
742d47b80a add proper headers 2015-05-22 02:30:41 +03:00
ficeto
d7679d810e amost broke it 2015-05-21 03:07:51 +03:00
ficeto
d78d73bc24 fix FS variables 2015-05-21 02:29:33 +03:00
ficeto
1fff41e80b Make FileSystem take into account the exported page and block sizes 2015-05-21 02:20:58 +03:00
Markus Sattler
6d40943138 Merge remote-tracking branch 'remotes/ficeto/esp8266' into esp8266 2015-05-19 16:48:47 +02:00
ficeto
c06b727fad better analogRead 2015-05-19 15:30:46 +03:00
ficeto
8000f2778a Merge pull request #27 from esp8266/esp8266
pull master
2015-05-19 00:20:07 +03:00
Ivan Grokhotkov
d4d4beb0d5 Fix issue with min/max
fix #263
2015-05-18 22:52:14 +03:00
ficeto
ba65783177 add method to get the actual size of the flash 2015-05-18 22:34:34 +03:00
ficeto
18349b2090 fix buffer and block size 2015-05-18 21:45:00 +03:00
Markus Sattler
3b059e2ef4 add new tool path to .gitignore
add yield in hexdump to handle big dumps better.
2015-05-18 19:56:08 +02:00
ficeto
df0da7c73b Merge branch 'esp8266' of https://github.com/esp8266/Arduino into esp8266-esp8266
blah
2015-05-18 16:48:48 +03:00
ficeto
d6e7cf1045 add SPIFS support to up to 16MB flash chips 2015-05-18 16:21:53 +03:00
Ivan Grokhotkov
1db2c8aa89 Support for multiple FileSystem instances 2015-05-18 13:45:34 +03:00
ficeto
b5763e0e77 leftovers 2015-05-18 04:57:34 +03:00
ficeto
ca88cb2b67 Update to the latest SPIFFS git and cleanup
Almost unmodified spiffs from github
lots of NodeMCU leftovers are removed
More proper names given to platform related files
Adjusting the FS class for the changes
2015-05-18 04:54:27 +03:00
ficeto
93c456602c Merge pull request #23 from Links2004/esp8266
pull markus's changes
2015-05-17 16:45:32 +03:00
Markus Sattler
5b5deb5a77 improve os_printf handling when buffer full.
- wait for free buffer in hw fifo
2015-05-17 13:43:49 +02:00
Markus Sattler
e0f9a4173e force all os_malloc calls to request a aligned size.
- this fix Fatal exception (9) by unaligned class memory
2015-05-17 13:33:10 +02:00
ficeto
4c4e6b8ce9 spiffs fixes 2015-05-17 00:04:39 +03:00
ficeto
b6c196a49a fix start address so erase works 2015-05-16 21:40:41 +03:00
ficeto
b902e86cb1 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
ficeto
62a460f0b8 printf to print instead of write 2015-05-16 20:39:23 +03:00
ficeto
ab46291383 fix uart triggering reset when spi has been read/written 2015-05-16 20:38:00 +03:00
ficeto
0b168fd1bf add Print::printf 2015-05-16 18:25:22 +03:00
ficeto
b5b783e508 add access to SPIFFS properties 2015-05-16 13:16: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
2c43072776 enhancements on the FS Api 2015-05-16 11:03:39 +03:00
ficeto
1cd9cd312f add folder api for SPIFFS 2015-05-16 02:29:26 +03:00
ficeto
7179c1aea8 Merge pull request #21 from esp8266/esp8266
pull latest changes
2015-05-15 20:17:26 +03:00
Markus Sattler
d8df646fc5 Merge remote-tracking branch 'remotes/esp8266/esp8266' into esp8266 2015-05-15 14:36:29 +02:00
ficeto
540fdb0f8c add flash splits depending on the flash size 2015-05-15 15:36:09 +03:00
ficeto
8153edb550 use WDT_RESET macro in spiffs_flashmem methods 2015-05-15 13:54:42 +03:00
Ivan Grokhotkov
221fbb548f Merge pull request #242 from Makuna/esp8266
dtostrf fix for remainder leading zeros
2015-05-15 11:00:58 +03: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
Markus Sattler
b4a8bb0653 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
Makuna
ed77f2d42b dtostrf fix for remainder leading zeros
Fix remainder to display leading zeros
2015-05-14 11:56:03 -07:00
ficeto
676193f47e mount spiffs on boot 2015-05-14 17:20:15 +03:00
ficeto
d56e5691fc blah 2015-05-14 16:37:13 +03:00
ficeto
c660de2029 cast it 2015-05-14 16:31:34 +03:00
ficeto
c25ca1785d make sure write return a positive or zero value 2015-05-14 16:28:55 +03:00
ficeto
261865cf6f fix FSFile template 2015-05-14 16:08:16 +03:00
Ivan Grokhotkov
4644c3bad0 boolean -> bool 2015-05-14 15:05:24 +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
ficeto
2e9a038f68 add template methods for stream to stream writes to SD and FS 2015-05-14 12:41:24 +03:00