Federico Fissore
25a6d3df46
Lib: SD version bump
2015-04-02 14:24:53 +02:00
Ing. Jan Kaláb
f34dc938f6
Typos
2015-04-01 19:43:32 +02:00
Federico Fissore
f7106ecc65
Libraries: version now compliant with semver. See http://semver.org/
2015-03-27 15:01:49 +01:00
Martino Facchin
a6be90f983
SD: avoid timeout lock if millis() approaches 2^16
...
this is a rework of @Timmmm 's PR #1977
2015-03-23 15:28:19 +01:00
Federico Fissore
0ae9e3a0d0
Libraries: added missing properties
2015-02-25 11:20:40 +01:00
Arturo Guadalupi
ce412a0461
Added README.adoc for the library manager project
2015-01-16 17:14:02 +01:00
Cristian Maglie
6d7751cf5f
Fixed some libraries metadata.
2015-01-16 12:22:24 +01:00
PaulStoffregen
c0bc2d22f6
Fix SPI transaction mismatch errors
2014-11-20 18:54:04 -08:00
PaulStoffregen
f7a565de1a
Use SPI transactions and SPISettings in SD library
2014-08-01 12:19:51 -07:00
Fede85
b02e85ceb2
modified sentences in library.properties files
2014-07-18 19:41:34 +02:00
Cristian Maglie
b673b72cfb
Merge branch 'ide-1.5.x-warnings' of github.com:matthijskooijman/Arduino into ide-1.5.x
2014-04-20 19:36:29 +02:00
JC Wren
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
J.C. Wren
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
Cristian Maglie
76ded605ff
Updated all library.properties to 1.5 rev2 lib format
2014-02-18 22:32:24 +01:00
Cristian Maglie
793b139d39
Merge remote-tracking branch 'arduino/master' into ide-1.5.x
2014-02-05 15:58:30 +01:00
Scott Fitzgerald
1c28dab57b
Updated Listfiles SD example
...
Changed SS pin to 4 for consistency with other examples
2014-02-02 14:35:04 +04:00
Cristian Maglie
a0727ac862
Merge branch 'master' into ide-1.5.x
...
Conflicts:
build/shared/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino
build/shared/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino
libraries/LiquidCrystal/examples/CustomCharacter/CustomCharacter.ino
libraries/SD/examples/listfiles/listfiles.ino
2013-11-12 09:45:56 +01:00
Scott Fitzgerald
4869f7f979
Updated listfiles SD example
...
Updated description of the file
2013-11-11 16:19:48 +04:00
Federico Fissore
b4c68b3dff
Run new astyle formatter against all the examples
2013-10-21 09:58:40 +02:00
Cristian Maglie
e21b182af2
Removed destructor from File.cpp and SD.h as it leads to unexpected close/destructed objects #814
2013-10-17 20:49:24 +02:00
Federico Fissore
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
Federico Fissore
bef7b94ea7
merge
2013-10-14 12:42:42 +02:00
Cristian Maglie
07d9d558b5
Updated libraries metadata
2013-08-08 16:40:55 +02:00
Fede85
b28104b795
Audio library to the new format
2013-06-27 19:15:53 +02:00
Fede85
9454816162
Ethernet, SD and LiquidCrystal to the new library format
2013-06-26 19:13:04 +02:00
bjelojac
2aee42a12c
Fix for #814 , Memory Leak
...
File isn't closed before being released, it leaks. This test has been verified and tested many times.
2013-04-25 13:46:43 -05:00
Federico Fissore
730f81e8ba
fixes #832
2012-12-20 16:28:09 +01:00
Federico Fissore
9ef43accbc
fixes #832
2012-12-20 16:26:46 +01:00
Cristian Maglie
e0f967951f
Fixed SD examples. (added include for SPI lib)
2012-09-25 18:29:19 +02:00
Cristian Maglie
11c0555dcc
SD Card ported and tested
2012-09-24 19:00:56 +02:00
Cristian Maglie
1e221116f3
Moved SD lib into root libraries folder
2012-09-24 12:42:23 +02:00
David A. Mellis
34b265ed4c
Fixing SD card SPI pin mapping for Leonardo.
...
http://code.google.com/p/arduino/issues/detail?id=931
2012-06-22 11:28:16 -05:00
Tom Igoe
6f93d3fc17
Updated all comments for while (!Serial) additions to serial-based examples
2012-04-09 10:48:40 -04:00
Tom Igoe
202bb102a0
Updated all serial in setup examples with a note about the serial check
2012-04-02 11:11:46 -04:00
Tom Igoe
a631e4f834
Added Serial port check to all examples using Serial statements in the setup
2012-04-02 09:07:58 -04:00
David A. Mellis
3dfc2c6311
Serial.print() -> Serial.write() in SD SerialPrint_P function.
...
http://code.google.com/p/arduino/issues/detail?id=759
2012-02-03 17:32:54 -05:00
Cristian Maglie
57b8713cab
Moved libraries folder inside platform folder. Now libraries and examples are searched per board/platform
2012-01-04 15:14:51 +01:00
David A. Mellis
726acf77de
Fixing SD ls function (Paul Stoffregen).
...
http://code.google.com/p/arduino/issues/detail?id=700
2011-10-29 17:31:04 -04:00
David A. Mellis
ca671fdc05
Fixing more warnings (Paul Stoffregen).
2011-10-10 11:28:44 -04:00
David A. Mellis
5ba38fa9bd
Applying adafruit SD updates (available() overful fix).
...
http://code.google.com/p/arduino/issues/detail?id=595
2011-09-09 16:57:00 -04:00
David A. Mellis
7d8d20894c
Making Print::write(char *) non-virtual.
...
http://code.google.com/p/arduino/issues/detail?id=607
2011-09-07 18:41:05 -04:00
David A. Mellis
0c92f230b5
Fixing SD library compilation error (writeError() -> getWriteError()).
2011-09-04 20:18:27 -04:00
Tom Igoe
35777612c0
Changed all .pde examples to .ino
...
All examples in /build/shared/examples/ and /libraries/ have had their
extensions changed to .ino
2011-08-30 15:33:32 -04:00
David A. Mellis
b73cf39d94
Moving write errors out of return value into separate API methods.
...
write(), print(), println() now return size_t (and don't use negative values to signal errors).
Print adds writeError() for checking for write errors, clearWriteError() to reset the flag to false, and a protected setWriteError() for signalling errors.
http://code.google.com/p/arduino/issues/detail?id=598
2011-08-26 16:08:14 -04:00
David A. Mellis
929597375b
Changing from long to ssize_t (int) for write(), print(), println() return.
2011-08-26 14:20:41 -04:00
David A. Mellis
8059abe581
write(), print(), and println() now return number of bytes written.
...
The type is long, and negative values indicate errors. Needs more testing.
http://code.google.com/p/arduino/issues/detail?id=551
2011-08-23 19:12:03 -04:00
Tom Igoe
42039ecd19
changed CS pin on CardInfo example to make it consistent with other SD examples
2011-05-12 17:02:47 -04:00
David A. Mellis
cc954c3570
Removing O_SYNC from FILE_WRITE mode for the SD File class.
2011-05-12 16:59:26 -04:00
David A. Mellis
059bc5f022
Incorporating ladyada's SD changes (multifile & directories).
...
Grabbed a patch from this repository: https://github.com/adafruit/SD and updated it for Arduino 1.0 (using Arduino.h instead of WProgram.h).
2011-04-18 17:58:54 -04:00
David A. Mellis
d05e4021d0
Renamed WProgram.h to Arduino.h.
2011-03-01 19:52:13 -05:00