1c25d2432f
SD: allow multiple SD instances
...
The SDClass class makes a reference to "SD.card" instead of just "card". SD is a global instance of SDClass.
This prevents any other instance of SDClass from functioning correctly.
The fix also allows SDClass to be used with an SD card which is removed and replaced, whereas previously, using the global instance SD did not allow this due to the limitation of begin() which cannot be called more than once.
2015-04-27 11:53:02 +02:00
5519f15663
Libraries: added help files to mitigate missing contextual reference issue
2015-04-23 17:19:15 +02:00
0b4b76fa67
Bundled libraries update
2015-04-23 13:01:30 +02:00
9eb2bac42e
First licenses review
2015-04-23 12:53:30 +02:00
d72bc63d6e
Merge pull request #2974 from facchinm/test_2659_2
...
SD: remove any reference to pinMode(10, OUTPUT) in the examples
2015-04-15 08:57:32 +01:00
d3a6c37980
increase version number
2015-04-15 09:55:37 +02:00
a57d390499
SD: remove any reference to pinMode(10, OUTPUT) in the examples
...
correct SS pin setup is already handled by SPI subsystem.
this should prevent future issues like #2868
current implementation assures that:
* pin10 is OUTPUT HIGH if SPI.begin() is called and the pin was unconfigured
* pin10 state is not modified if pinMode(10, OUTPUT) is called before SPI.begin()
* pin10 is INPUT HI-Z if nor pinMode(10, OUTPUT) nor SPI.begin() are called
2015-04-13 18:08:31 +02:00
0c01e66402
License fix
2015-04-09 17:22:46 +02:00
25a6d3df46
Lib: SD version bump
2015-04-02 14:24:53 +02:00
f34dc938f6
Typos
2015-04-01 19:43:32 +02:00
f7106ecc65
Libraries: version now compliant with semver. See http://semver.org/
2015-03-27 15:01:49 +01:00
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
0ae9e3a0d0
Libraries: added missing properties
2015-02-25 11:20:40 +01:00
ce412a0461
Added README.adoc for the library manager project
2015-01-16 17:14:02 +01:00
6d7751cf5f
Fixed some libraries metadata.
2015-01-16 12:22:24 +01: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
b02e85ceb2
modified sentences in library.properties files
2014-07-18 19:41:34 +02:00
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
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
76ded605ff
Updated all library.properties to 1.5 rev2 lib format
2014-02-18 22:32:24 +01:00
793b139d39
Merge remote-tracking branch 'arduino/master' into ide-1.5.x
2014-02-05 15:58:30 +01:00
1c28dab57b
Updated Listfiles SD example
...
Changed SS pin to 4 for consistency with other examples
2014-02-02 14:35:04 +04:00
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
4869f7f979
Updated listfiles SD example
...
Updated description of the file
2013-11-11 16:19:48 +04:00
b4c68b3dff
Run new astyle formatter against all the examples
2013-10-21 09:58:40 +02:00
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
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
07d9d558b5
Updated libraries metadata
2013-08-08 16:40:55 +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
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
730f81e8ba
fixes #832
2012-12-20 16:28:09 +01:00
9ef43accbc
fixes #832
2012-12-20 16:26:46 +01:00
e0f967951f
Fixed SD examples. (added include for SPI lib)
2012-09-25 18:29:19 +02:00
11c0555dcc
SD Card ported and tested
2012-09-24 19:00:56 +02:00
1e221116f3
Moved SD lib into root libraries folder
2012-09-24 12:42:23 +02:00
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
6f93d3fc17
Updated all comments for while (!Serial) additions to serial-based examples
2012-04-09 10:48:40 -04:00
202bb102a0
Updated all serial in setup examples with a note about the serial check
2012-04-02 11:11:46 -04:00
a631e4f834
Added Serial port check to all examples using Serial statements in the setup
2012-04-02 09:07:58 -04:00
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
57b8713cab
Moved libraries folder inside platform folder. Now libraries and examples are searched per board/platform
2012-01-04 15:14:51 +01:00
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
ca671fdc05
Fixing more warnings (Paul Stoffregen).
2011-10-10 11:28:44 -04:00
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
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
0c92f230b5
Fixing SD library compilation error (writeError() -> getWriteError()).
2011-09-04 20:18:27 -04:00