1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00
Commit Graph

17 Commits

Author SHA1 Message Date
f946821381 fix data types 2015-05-16 16:29:10 +03:00
b40ec2fc35 add info methods to SD class 2015-05-16 16:22:38 +03:00
4ef84f6914 add template methods for stream to stream writes to SD and FS 2015-05-14 12:41:24 +03:00
9e76276fb2 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
41d370fb28 Add option to select SPI speed at SD::begin 2015-05-11 22:29:02 +03:00
934434d5f9 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
c20cfbea87 increase SD Card SPI Speed 2015-05-08 13:22:49 +03:00
b15808e60f fix SPI clock for SD library 2015-05-08 11:44:45 +03:00
83ed3d5d8f Importing my changes 2015-04-30 20:48:50 +03:00
c0bc2d22f6 Fix SPI transaction mismatch errors 2014-11-20 18:54:04 -08:00
f7a565de1a Use SPI transactions and SPISettings in SD library 2014-08-01 12:19:51 -07:00
12b706551d SD.c: Fix error in comment for remove()
Comment was duplicated from mkdir() and not updated.
2014-02-19 16:09:30 +01:00
a991f26b8d Sd2Card.cpp: fix compiler warning
All the while() loops that check for the SPI transfer to be complete have the
semi-colon immediately after the closing parenthesis.  This both causes a
compiler warning of "warning: suggest a space before ';' or explicit braces
around empty body in 'while' statement", and is considered a less-than-ideal
programming practice.  This patch breaks the semi-colon on to the next line,
both eliminating the compiler error and making the code more readable.

In all probability the test should be moved into a macro or a inlineable
sub-routine.
2014-02-19 16:09:30 +01:00
88f7504e81 Removed destructor from File.cpp and SD.h as it leads to unexpected close/destructed objects #814 2013-10-15 17:09:20 +02:00
bef7b94ea7 merge 2013-10-14 12:42:42 +02:00
b28104b795 Audio library to the new format 2013-06-27 19:15:53 +02:00
9454816162 Ethernet, SD and LiquidCrystal to the new library format 2013-06-26 19:13:04 +02:00