From ec0feab3dd8a5f9938da99a7ff12a98ad221cf6e Mon Sep 17 00:00:00 2001 From: AJ Keller Date: Tue, 5 Sep 2017 13:42:43 -0400 Subject: [PATCH 1/3] REFACTOR: Made library conform to arduino standards and added library.properties file --- .DS_Store | Bin 0 -> 6148 bytes OBCI32_SD/File.cpp => File.cpp | 0 OBCI32_SD/LICENSE => LICENSE | 0 OBCI32_SD/OBCI32_SD.cpp => OBCI32_SD.cpp | 0 OBCI32_SD/OBCI32_SD.h => OBCI32_SD.h | 0 OBCI32_SD/README.txt => README.txt | 0 .../examples => examples}/CardInfo/CardInfo.pde | 0 .../Datalogger/Datalogger.pde | 0 .../examples => examples}/DumpFile/DumpFile.pde | 0 {OBCI32_SD/examples => examples}/Files/Files.pde | 0 .../ReadWrite/ReadWrite.pde | 0 OBCI32_SD/keywords.txt => keywords.txt | 0 library.properties | 9 +++++++++ {OBCI32_SD/utility => utility}/FatStructs.h | 0 {OBCI32_SD/utility => utility}/Sd2Card.cpp | 0 {OBCI32_SD/utility => utility}/Sd2Card.h | 0 {OBCI32_SD/utility => utility}/Sd2PinMap.h | 0 {OBCI32_SD/utility => utility}/SdFat.h | 0 {OBCI32_SD/utility => utility}/SdFatUtil.h | 0 {OBCI32_SD/utility => utility}/SdFatmainpage.h | 0 {OBCI32_SD/utility => utility}/SdFile.cpp | 0 {OBCI32_SD/utility => utility}/SdInfo.h | 0 {OBCI32_SD/utility => utility}/SdVolume.cpp | 0 23 files changed, 9 insertions(+) create mode 100644 .DS_Store rename OBCI32_SD/File.cpp => File.cpp (100%) rename OBCI32_SD/LICENSE => LICENSE (100%) rename OBCI32_SD/OBCI32_SD.cpp => OBCI32_SD.cpp (100%) rename OBCI32_SD/OBCI32_SD.h => OBCI32_SD.h (100%) rename OBCI32_SD/README.txt => README.txt (100%) rename {OBCI32_SD/examples => examples}/CardInfo/CardInfo.pde (100%) rename {OBCI32_SD/examples => examples}/Datalogger/Datalogger.pde (100%) rename {OBCI32_SD/examples => examples}/DumpFile/DumpFile.pde (100%) rename {OBCI32_SD/examples => examples}/Files/Files.pde (100%) rename {OBCI32_SD/examples => examples}/ReadWrite/ReadWrite.pde (100%) rename OBCI32_SD/keywords.txt => keywords.txt (100%) create mode 100644 library.properties rename {OBCI32_SD/utility => utility}/FatStructs.h (100%) rename {OBCI32_SD/utility => utility}/Sd2Card.cpp (100%) rename {OBCI32_SD/utility => utility}/Sd2Card.h (100%) rename {OBCI32_SD/utility => utility}/Sd2PinMap.h (100%) rename {OBCI32_SD/utility => utility}/SdFat.h (100%) rename {OBCI32_SD/utility => utility}/SdFatUtil.h (100%) rename {OBCI32_SD/utility => utility}/SdFatmainpage.h (100%) rename {OBCI32_SD/utility => utility}/SdFile.cpp (100%) rename {OBCI32_SD/utility => utility}/SdInfo.h (100%) rename {OBCI32_SD/utility => utility}/SdVolume.cpp (100%) diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0, Conor Russomanno +maintainer=Joel Murphy +sentence=The library for controlling OpenBCI Cyton (32bit) SD cards. +paragraph=Designed to be run on the Pic 32. Checkout the examples or see it implemented on the https://github.com/OpenBCI/OpenBCI_32bit_Library specifically the DefaultBoard.ino example. +category=Device Control +url=https://github.com/OpenBCI/OpenBCI_32bit_SD +architectures=pic32 diff --git a/OBCI32_SD/utility/FatStructs.h b/utility/FatStructs.h similarity index 100% rename from OBCI32_SD/utility/FatStructs.h rename to utility/FatStructs.h diff --git a/OBCI32_SD/utility/Sd2Card.cpp b/utility/Sd2Card.cpp similarity index 100% rename from OBCI32_SD/utility/Sd2Card.cpp rename to utility/Sd2Card.cpp diff --git a/OBCI32_SD/utility/Sd2Card.h b/utility/Sd2Card.h similarity index 100% rename from OBCI32_SD/utility/Sd2Card.h rename to utility/Sd2Card.h diff --git a/OBCI32_SD/utility/Sd2PinMap.h b/utility/Sd2PinMap.h similarity index 100% rename from OBCI32_SD/utility/Sd2PinMap.h rename to utility/Sd2PinMap.h diff --git a/OBCI32_SD/utility/SdFat.h b/utility/SdFat.h similarity index 100% rename from OBCI32_SD/utility/SdFat.h rename to utility/SdFat.h diff --git a/OBCI32_SD/utility/SdFatUtil.h b/utility/SdFatUtil.h similarity index 100% rename from OBCI32_SD/utility/SdFatUtil.h rename to utility/SdFatUtil.h diff --git a/OBCI32_SD/utility/SdFatmainpage.h b/utility/SdFatmainpage.h similarity index 100% rename from OBCI32_SD/utility/SdFatmainpage.h rename to utility/SdFatmainpage.h diff --git a/OBCI32_SD/utility/SdFile.cpp b/utility/SdFile.cpp similarity index 100% rename from OBCI32_SD/utility/SdFile.cpp rename to utility/SdFile.cpp diff --git a/OBCI32_SD/utility/SdInfo.h b/utility/SdInfo.h similarity index 100% rename from OBCI32_SD/utility/SdInfo.h rename to utility/SdInfo.h diff --git a/OBCI32_SD/utility/SdVolume.cpp b/utility/SdVolume.cpp similarity index 100% rename from OBCI32_SD/utility/SdVolume.cpp rename to utility/SdVolume.cpp From 6aea1e349f3e9f73658bdc3402821296ded13fce Mon Sep 17 00:00:00 2001 From: AJ Keller Date: Tue, 5 Sep 2017 13:44:03 -0400 Subject: [PATCH 2/3] Bump version to 2.0 --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 858ba81..cfdd351 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=OpenBCI_32bit_SD -version=1.0.0 +version=2.0.0 author=Joel Murphy , Conor Russomanno maintainer=Joel Murphy sentence=The library for controlling OpenBCI Cyton (32bit) SD cards. From 9428eedc8a06ba6e5bb0090a6fb86768f80c17fa Mon Sep 17 00:00:00 2001 From: AJ Keller Date: Tue, 5 Sep 2017 13:47:36 -0400 Subject: [PATCH 3/3] ADD: changelog file --- changelog.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelog.md diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..7650521 --- /dev/null +++ b/changelog.md @@ -0,0 +1,3 @@ +# v2.0.0 + +* Restructured library