Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

před 10 roky
před 10 roky
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  1. 13 Sep 2016
  2. Added SdFatSdioEX class with Extended SD I/O.
  3. 5 Sep 2016
  4. Restructured classes to support SPI and SDIO controllers.
  5. Support for Teensy 3.5/3.6 SDIO.
  6. Added TeensySdioDemo example.
  7. 15 Aug 2016
  8. New classes SdFatEX and SdFatSoftSpiEX with Extended SD I/O.
  9. These classes provide higher performance but require a dedicated
  10. SPI port.
  11. The symbol SD_SPI_CONFIGURATION has been replaced by three symbols,
  12. ENABLE_EXTENDED_TRANSFER_CLASS, USE_STANDARD_SPI_LIBRARY, and
  13. ENABLE_SOFTWARE_SPI_CLASS to define the SPI configuration.
  14. SPI transactions are always used.
  15. The SPI divisor has been replaced by SPISettings. A new macro
  16. is used to generate SPISettings. This call will use the highest
  17. speed supported by the board that is not over 50 MHz.
  18. sd.begin(CS_PIN, SD_SCK_MHZ(50));
  19. SdFat on STM32 now supports a SdFat constructor with the SPI
  20. port number. See the STM32Test example for sample use.
  21. New versions of LowLatencyLogger for ADC, ADXL345, and MPU6050.
  22. Many internal changes to simplify ports to RTOS.
  23. 19 jul 2016
  24. Fix for multi-block transfers chip select.
  25. 27 Apr 2016
  26. Mods for STM32F1
  27. 11 Apr 2016
  28. Mods for ESP8266
  29. 9 Apr 2016
  30. Fix beginTransaction call for Standard SPI library
  31. 14 Feb 2016
  32. Add startMicros to LowLatencyLogger
  33. 12 Feb 2016
  34. Mods for Particle.io boards.
  35. Features for shared SPI with multiple block write.
  36. 23 Jan 2016
  37. New Examples.
  38. New SPI structure for ports to boards like the Particle Photon/Electron.
  39. Several bug fixes.
  40. 19 Jul 2015
  41. Converted to 1.5x library format.
  42. Use standard SPI library if no custom SPI library is available for a board.
  43. Option to maintain freeClusterCount.
  44. 16 Mar 2015
  45. Minimal support for Teensy-LC.
  46. 23 Feb 2015
  47. New 1284P software SPI macros.
  48. 01 Feb 2015
  49. Code cleanup and re-factor.
  50. 04 Dec 2014
  51. Added support for Long File Names.
  52. 14 Nov 2014
  53. Replaced the core SdFat code with FatLib, a generic FAT12/FAT16/FAT32
  54. library. This may result in bugs and backward compatibility problems.
  55. Added SdFatSoftSpi, software SPI template class.
  56. Allow simultaneous use of hardware and software SPI with multiple cards.
  57. See the ThreeCard example.
  58. Added minimal Long File Name support. See the LongFileName example.
  59. 25 Oct 2014
  60. Added File class for compatibility with the Arduino SD.h library
  61. Added StreamParseInt example.
  62. 23 Oct 2014
  63. Added Read SD OCR register.
  64. SdInfo example now prints OCR register.
  65. 05 Sep 2014
  66. Faster SdBaseFile::printField();
  67. Added SdBaseFile::printField(float value, char term, uint8_t prec);
  68. 24 Aug 2014
  69. Added support for Software SPI on Due and Teensy 3.1
  70. Added support for SPI transactions.
  71. 05 Aug 2014
  72. New examples.
  73. Teensy 3.x SPI mods.
  74. Test version of StdioStream.
  75. 25 Dec 2013
  76. Improved cluster allocation speed.
  77. Fix for Teensy 3.0
  78. 21 Jun 2013
  79. Improved speed of single block write.
  80. Added StressTest example.
  81. 04 May 2013
  82. Fix FreeRam() for 1.05/1.53 malloc.
  83. Reorganised SPI code.
  84. SPI speed set by SCK divisor.
  85. Faster directory search in file open.
  86. Removed deprecated functions.
  87. 13 Mar 2013
  88. Fix for 1.0.4 malloc
  89. New Software SPI
  90. 07 Feb 2013
  91. Patch for 1.5.2 version of malloc.
  92. Updated SPI driver for Teensy 3.0
  93. Added fast printField() functions.
  94. 19 Dec 2012
  95. Fixed SoftSPI bug
  96. 01 Dec 2012
  97. Added support for the Arduino Due.
  98. The default for ALLOW_DEPRECATED_FUNCTIONS has been changed to
  99. false. If you get compile errors for these functions, either
  100. change to the preferred replacement function indicated in the
  101. error message or set ALLOW_DEPRECATED_FUNCTIONS nonzero.
  102. A key change was to remove sd.init(spiRateID, chipSelect) in favor of
  103. sd.begin(chipSelect, spiRateID). The difference between these two is
  104. the order of the arguments which has caused serious confusion at times.
  105. A massive number of internal changes have been made. There are over 2600
  106. lines in the diff file of this version and the 20120719 version.
  107. 20 Oct 2012
  108. Changes to support ARM processors. Tested with a Teensy 3.0.
  109. Changes for higher performance with large reads and writes.
  110. 25 Aug 2012
  111. Added uint32_t available();
  112. Support for new industrial SD cards
  113. Better support for MiniSerial and MiniSerial example
  114. Changes to support newer versions of avr-gcc
  115. Changed RawWrite example to use micros() for delay between blocks.
  116. Changed SdFatSize example to use MiniSerial
  117. 19 Jul 2012
  118. Require Arduino 1.0 or greater. Change file type for all examples to *.ino.
  119. Modify the SdFormatter example to format SDXC cards as FAT32. This is not the
  120. SDXC standard which is exFAT.
  121. 30 May 2012
  122. Added << operator for Arduino flash string macro F().
  123. New RawWrite example for fast write of contiguous files.
  124. New faster software SPI
  125. Software SPI for Leonardo boards
  126. Don't use __cxa_pure_virtual by default for Arduino 1.0 or greater.
  127. 26 Mar 2012
  128. Removed definition for SS_PIN, MISO_PIN, MOSI_PIN, and SCK_PIN. Used the
  129. Arduino 1.0 symbols SS, MISO, MOSI, and SCK.
  130. Added Arduino style SdFat::begin(chipSelect, spiSpeed);
  131. Added options for SD crc checking. Enabling crc checking increases reliability
  132. at the cost of speed. Edit SdFatConfig.h to select CRC options.
  133. Override Print::getWriteError() and Print::clearWriteError() to use
  134. SdBaseFile functions.
  135. Many internal changes.
  136. 08 Jan 2012
  137. Changes to allow use of the SerialPort library.
  138. Error messages and output from programs are now sent to a stdOut Print
  139. stream.
  140. The default stdOut is a small non-interrupt driven class that outputs messages
  141. to serial port zero. This allows an alternate Serial library like SerialPort
  142. to be used with SdFat.
  143. You can redirect stdOut with SdFat::setStdOut(Print* stream) and
  144. get the current stdOut stream with SdFat::stdOut().
  145. If USE_SERIAL_FOR_STD_OUT in SdFatConfig.h is nonzero, the Arduino Serial
  146. object will be used as the default for stdOut.
  147. 05 Dec 2011
  148. Changes for Arduino 1.0
  149. 17 Sep 2011
  150. Changes for Arduino 1.0 beta 4
  151. Improved SPI handling
  152. 02 Sep 2011
  153. --------------------------------------------------------------------------------
  154. Warning:
  155. Several changes are not backward compatible with the previous
  156. version of SdFat.
  157. The function cwd() was renamed vwd() to allow multiple SD cards.
  158. The type SdBaseFile was added to the class hierarchy to avoid conflicts with
  159. other Arduino libraries that are derived from the Print class. Directory
  160. files should be declared type SdBaseFile.
  161. --------------------------------------------------------------------------------
  162. Added support for multiple SD cards.
  163. Change the name of SdFat::cwd() to SdFat::vwd() since the volume
  164. working directory is not the current working directory with
  165. multiple SD cards.
  166. Added the static function SdBaseFile::cwd() to return a pointer
  167. to the current working directory.
  168. Added the TwoCards.pde example to demonstrate use of multiple SD cards.
  169. Added readCSV.pde example to demonstrate iostream extractors.
  170. Added bool SdBaseFile::timestamp(SdBaseFile* file) to copy one
  171. file's timestamps to another file.
  172. Improved messages in the QuickStart.pde example.
  173. Added maximum latency test to the bench.pde example.
  174. Rearanged class hierarchy to fix conflicts with Flash.h and other Adruino
  175. libraries. Print is no longer a private parent of file stream classes.
  176. Added high speed multiple block read functions to Sd2Card.
  177. Changed include files in SdFatUtil.h
  178. Removed option to write protect block zero of an SD card.
  179. Changes for Arduino 1.0.
  180. 02 Jul 2011
  181. This is a major update based on previous beta versions.
  182. Read all changes since 10 Oct 2001
  183. Simplified examples in extra/examplesV1
  184. 28 Jun 2011
  185. This is a release candidate to replace sdfatlib20101010.
  186. Initialize SPI bus before every access.
  187. Improved write multiple block functions for fast data logging.
  188. SdVolume::cacheClear() returns zero if it fails.
  189. Documentation changes.
  190. 04 Jun 2011
  191. Added SdFatTestSuite and fixed bugs found by test programs.
  192. Added functions:
  193. bool SdFat::truncate(const char* path, uint32_t length);
  194. int16_t SdFile::fgets(char* str, int16_t num, char* delim);
  195. 11 May 2011
  196. Added QuickStart sketch and QuickStart.txt file for fast hardware test.
  197. Added several new examples.
  198. Version of ls() that can write to any Print object.
  199. New functions including freeClusterCount(), openNext() rename().
  200. 14 Apr 2011
  201. Total rewrite to add iostreams and SdFat class with current working directory.
  202. Old API maintained for backward compatibility.
  203. 27 Nov 2010
  204. Added experimental support for FAT12. This can be enabled by setting
  205. FAT12_SUPPORT nonzero in SdFatConfig.h.
  206. Added an experimental sketch, SdFatFormatter.pde, to format SD cards as
  207. FAT16 and SDHC cards as FAT32. See SdFat/examples/SdFormatter.
  208. The return type of SdVolume::cacheClear was changed to cache_t*.
  209. Many internal changes to support FAT12 and formatting SD/SDHC cards.
  210. 10 Oct 2010
  211. Added Mega 2560.
  212. Fixed rmRfStar() bug.
  213. Fixed Sanguino NULL definition.
  214. 18 Aug 2010
  215. Optimized write() for append at end of file. Up to 50% faster sequential write.
  216. 13 Aug 2010
  217. Added the following function to allow the SD chip select pin to be set
  218. at runtime. Warning - if the hardware SS pin is not used as chip select,
  219. the hardware SS pin will be set to output mode by init(). An avr processor
  220. will not function as an SPI master unless SS is set to output mode.
  221. uint8_t Sd2Card::init(uint8_t sckRateID, uint8_t chipSelectPin);
  222. Added more SPI clock rate choices. The above init() function and
  223. uint8_t Sd2Card::init(uint8_t sckRateID) call the new function
  224. uint8_t Sd2Card::setSckRate(uint8_t sckRateID).
  225. setSckRate() sets the SPI clock rate to F_CPU/pow(2, 1 + sckRateID).
  226. On an 16 MHz cpu this ranges from 8 MHz for sckRateId = 0 to 125 kHz
  227. for sckRateID = 6. This function must be called after the init() call.
  228. Modified most examples to call card.init(SPI_HALF_SPEED) to avoid SPI bus
  229. errors with breadboards and jumpers. This sets the SPI speed to F_CPU/4.
  230. Defined SPI_FULL_SPEED so init(SPI_FULL_SPEED) sets the SPI speed to F_CPU/2.
  231. Added the following function to cancel date/time callback. This function
  232. must now be used instead of dateTimeCallback(NULL).
  233. static void SdFat::dateTimeCallbackCancel(void);
  234. The following member functions have been added for users who wish to avoid
  235. calls to functions with non-const references.
  236. uint8_t SdFile::contiguousRange(uint32_t* bgnBlock, uint32_t* endBlock);
  237. uint8_t SdFile::createContiguous(SdFile* dirFile,
  238. const char* fileName, uint32_t size);
  239. static void SdFile::dateTimeCallback(
  240. void (*dateTime)(uint16_t* date, uint16_t* time));
  241. uint8_t SdFile::dirEntry(dir_t* dir);
  242. uint8_t SdFile::makeDir(SdFile* dir, const char* dirName);
  243. uint8_t SdFile::open(SdFile* dirFile, const char* fileName, uint8_t oflag);
  244. uint8_t SdFile::open(SdFile* dirFile, const char* fileName);
  245. uint8_t SdFile::open(SdFile* dirFile, uint16_t index, uint8_t oflag);
  246. uint8_t SdFile::openRoot(SdVolume* vol);
  247. int8_t SdFile::readDir(dir_t* dir);
  248. static uint8_t remove(SdFile* dirFile, const char* fileName);
  249. uint8_t SdVolume::init(Sd2Card* dev);
  250. uint8_t SdVolume::init(Sd2Card* dev, uint8_t part);
  251. The following member functions have been marked as deprecated since they
  252. are now wrappers for the new functions. dateTimeCallback is the only wrapper
  253. with extra overhead. The other wrappers are squeezed out by the complier.
  254. These wrappers will be maintained in the future for backward compatibility.
  255. uint8_t SdFile::contiguousRange(uint32_t& bgnBlock, uint32_t& endBlock);
  256. uint8_t SdFile::createContiguous(SdFile& dirFile,
  257. const char* fileName, uint32_t size);
  258. static void SdFile::dateTimeCallback(
  259. void (*dateTime)(uint16_t& date, uint16_t& time));
  260. uint8_t SdFile::dirEntry(dir_t& dir);
  261. uint8_t SdFile::makeDir(SdFile& dir, const char* dirName);
  262. uint8_t SdFile::open(SdFile& dirFile, const char* fileName, uint8_t oflag);
  263. uint8_t SdFile::open(SdFile& dirFile, const char* fileName);
  264. uint8_t SdFile::open(SdFile& dirFile, uint16_t index, uint8_t oflag);
  265. uint8_t SdFile::openRoot(SdVolume& vol);
  266. int8_t SdFile::readDir(dir_t& dir);
  267. static uint8_t remove(SdFile& dirFile, const char* fileName);
  268. uint8_t SdVolume::init(Sd2Card& dev);
  269. uint8_t SdVolume::init(Sd2Card& dev, uint8_t part);
  270. The deprecated function can be disabled by editing SdFat.h and setting
  271. #define ALLOW_DEPRECATED_FUNCTIONS 0
  272. Fixed file modify time for file rewrite.
  273. Major internal cleanup/reformat based on Google cpplint.py code style.
  274. New Sd2Card::init() algorithm.
  275. New SdFatInfo sketch for modified SdReadData() and other internal changes.
  276. Modified examples to eliminate deprecated functions.
  277. 11 Jun 2010
  278. Added definitions for Teensy to ArduinoPins.h (Paul Stoffregen)
  279. Added troubleshooting.txt
  280. 23 Dec 2009
  281. Added Software SPI capability. See Sd2Card.h
  282. Defining MEGA_SOFT_SPI allows an unmodified Adafruit GPS Shield to be used
  283. on Mega Arduinos. Software SPI works well with GPS Shield V1.1
  284. but many SD cards will fail with GPS Shield V1.0.
  285. Added file ArduinoPins.h for pin definitions.
  286. More error printout in examples.
  287. 25 Nov 2009
  288. Added new functions for SdFile class:
  289. dateTimeCallback(), dirEntry(), isRoot(), isSubDir, ls(),
  290. makeDir(), printDirName(), printFatDate(), printFatTime(),
  291. printTwoDigits(), rmDir(), and rmRStar().
  292. Added new examples to test and illustrate use of new functions.
  293. Removed sdCard() from SdFile class.
  294. Fixed several bugs.
  295. 12 Nov 2009
  296. Major rewrite of the version of SdFat that was included with
  297. the WaveRP library.
  298. This is a preview that is being released to obtain comments
  299. from several colleagues and future users.