소스 검색

fix include paths

main
John Robinson 3 년 전
부모
커밋
97f98028a0
No known key found for this signature in database
83개의 변경된 파일141개의 추가작업 그리고 141개의 파일을 삭제
  1. +1
    -1
      src/sdfat/BufferedPrint.h
  2. +1
    -1
      src/sdfat/DigitalIO/DigitalPin.h
  3. +2
    -2
      src/sdfat/DigitalIO/SoftSPI.h
  4. +9
    -9
      src/sdfat/DigitalIO/boards/GpioPinMap.h
  5. +3
    -3
      src/sdfat/ExFatLib/ExFatDbg.cpp
  6. +3
    -3
      src/sdfat/ExFatLib/ExFatFile.cpp
  7. +3
    -3
      src/sdfat/ExFatLib/ExFatFile.h
  8. +3
    -3
      src/sdfat/ExFatLib/ExFatFilePrint.cpp
  9. +3
    -3
      src/sdfat/ExFatLib/ExFatFileWrite.cpp
  10. +1
    -1
      src/sdfat/ExFatLib/ExFatFormatter.cpp
  11. +2
    -2
      src/sdfat/ExFatLib/ExFatFormatter.h
  12. +3
    -3
      src/sdfat/ExFatLib/ExFatLib.h
  13. +1
    -1
      src/sdfat/ExFatLib/ExFatPartition.cpp
  14. +2
    -2
      src/sdfat/ExFatLib/ExFatPartition.h
  15. +1
    -1
      src/sdfat/ExFatLib/ExFatTypes.h
  16. +1
    -1
      src/sdfat/ExFatLib/ExFatVolume.cpp
  17. +2
    -2
      src/sdfat/ExFatLib/ExFatVolume.h
  18. +1
    -1
      src/sdfat/ExFatLib/upcase.cpp
  19. +1
    -1
      src/sdfat/ExFatLib/upcase.h
  20. +2
    -2
      src/sdfat/FatLib/FatDbg.cpp
  21. +2
    -2
      src/sdfat/FatLib/FatFile.cpp
  22. +2
    -2
      src/sdfat/FatLib/FatFile.h
  23. +2
    -2
      src/sdfat/FatLib/FatFileLFN.cpp
  24. +1
    -1
      src/sdfat/FatLib/FatFilePrint.cpp
  25. +2
    -2
      src/sdfat/FatLib/FatFileSFN.cpp
  26. +1
    -1
      src/sdfat/FatLib/FatFormatter.cpp
  27. +1
    -1
      src/sdfat/FatLib/FatFormatter.h
  28. +3
    -3
      src/sdfat/FatLib/FatLib.h
  29. +1
    -1
      src/sdfat/FatLib/FatLibConfig.h
  30. +1
    -1
      src/sdfat/FatLib/FatPartition.cpp
  31. +1
    -1
      src/sdfat/FatLib/FatPartition.h
  32. +1
    -1
      src/sdfat/FatLib/FatVolume.cpp
  33. +2
    -2
      src/sdfat/FatLib/FatVolume.h
  34. +1
    -1
      src/sdfat/FreeStack.cpp
  35. +1
    -1
      src/sdfat/FreeStack.h
  36. +1
    -1
      src/sdfat/FsLib/FsFile.cpp
  37. +3
    -3
      src/sdfat/FsLib/FsFile.h
  38. +2
    -2
      src/sdfat/FsLib/FsLib.h
  39. +1
    -1
      src/sdfat/FsLib/FsNew.cpp
  40. +1
    -1
      src/sdfat/FsLib/FsVolume.cpp
  41. +1
    -1
      src/sdfat/FsLib/FsVolume.h
  42. +2
    -2
      src/sdfat/MinimumSerial.cpp
  43. +1
    -1
      src/sdfat/MinimumSerial.h
  44. +2
    -2
      src/sdfat/SdCard/SdCard.h
  45. +1
    -1
      src/sdfat/SdCard/SdCardInfo.cpp
  46. +1
    -1
      src/sdfat/SdCard/SdCardInterface.h
  47. +1
    -1
      src/sdfat/SdCard/SdSpiCard.cpp
  48. +2
    -2
      src/sdfat/SdCard/SdSpiCard.h
  49. +1
    -1
      src/sdfat/SdCard/SdioCard.h
  50. +3
    -3
      src/sdfat/SdCard/SdioTeensy.cpp
  51. +8
    -8
      src/sdfat/SdFat.h
  52. +1
    -1
      src/sdfat/SdFatConfig.h
  53. +2
    -2
      src/sdfat/SpiDriver/SdSpiArduinoDriver.h
  54. +1
    -1
      src/sdfat/SpiDriver/SdSpiArtemis.cpp
  55. +1
    -1
      src/sdfat/SpiDriver/SdSpiChipSelect.cpp
  56. +4
    -4
      src/sdfat/SpiDriver/SdSpiDriver.h
  57. +1
    -1
      src/sdfat/SpiDriver/SdSpiDue.cpp
  58. +1
    -1
      src/sdfat/SpiDriver/SdSpiESP.cpp
  59. +1
    -1
      src/sdfat/SpiDriver/SdSpiParticle.cpp
  60. +1
    -1
      src/sdfat/SpiDriver/SdSpiSTM32.cpp
  61. +1
    -1
      src/sdfat/SpiDriver/SdSpiTeensy3.cpp
  62. +1
    -1
      src/sdfat/common/BlockDevice.h
  63. +1
    -1
      src/sdfat/common/DebugMacros.h
  64. +1
    -1
      src/sdfat/common/FmtNumber.cpp
  65. +3
    -3
      src/sdfat/common/FsDateTime.cpp
  66. +1
    -1
      src/sdfat/common/FsDateTime.h
  67. +1
    -1
      src/sdfat/common/FsStructs.cpp
  68. +1
    -1
      src/sdfat/common/PrintBasic.cpp
  69. +1
    -1
      src/sdfat/common/PrintTemplates.h
  70. +1
    -1
      src/sdfat/common/SysCall.h
  71. +1
    -1
      src/sdfat/common/SysCallBareUno.cpp
  72. +2
    -2
      src/sdfat/iostream/ArduinoStream.h
  73. +1
    -1
      src/sdfat/iostream/StdioStream.cpp
  74. +1
    -1
      src/sdfat/iostream/StdioStream.h
  75. +1
    -1
      src/sdfat/iostream/StreamBaseClass.cpp
  76. +1
    -1
      src/sdfat/iostream/bufstream.h
  77. +2
    -2
      src/sdfat/iostream/fstream.h
  78. +2
    -2
      src/sdfat/iostream/iostream.h
  79. +1
    -1
      src/sdfat/iostream/istream.cpp
  80. +1
    -1
      src/sdfat/iostream/istream.h
  81. +1
    -1
      src/sdfat/iostream/ostream.cpp
  82. +1
    -1
      src/sdfat/iostream/ostream.h
  83. +3
    -3
      src/sdfat/sdios.h

+ 1
- 1
src/sdfat/BufferedPrint.h 파일 보기

@@ -28,7 +28,7 @@
* \file
* \brief Fast buffered print.
*/
#include "common/FmtNumber.h"
#include "./common/FmtNumber.h"
/**
* \class BufferedPrint
* \brief Fast buffered print template.

+ 1
- 1
src/sdfat/DigitalIO/DigitalPin.h 파일 보기

@@ -41,7 +41,7 @@ struct GpioPinMap_t {
#define GPIO_PIN(reg, bit) {&PIN##reg, &DDR##reg, &PORT##reg, 1 << bit}

// Include pin map for current board.
#include "boards/GpioPinMap.h"
#include "./boards/GpioPinMap.h"
//------------------------------------------------------------------------------
/** generate bad pin number error */
void badPinNumber(void)

+ 2
- 2
src/sdfat/DigitalIO/SoftSPI.h 파일 보기

@@ -18,7 +18,7 @@
* <http://www.gnu.org/licenses/>.
*/
/**
* @file
* @file
* @brief Software SPI.
*
* @defgroup softSPI Software SPI
@@ -27,7 +27,7 @@
*/
#ifndef SoftSPI_h
#define SoftSPI_h
#include "DigitalPin.h"
#include "./DigitalPin.h"
//------------------------------------------------------------------------------
/** Nop for timing. */
#define nop asm volatile ("nop\n\t")

+ 9
- 9
src/sdfat/DigitalIO/boards/GpioPinMap.h 파일 보기

@@ -23,22 +23,22 @@
||defined(__AVR_ATmega168P__)\
||defined(__AVR_ATmega328P__)
// 168 and 328 Arduinos
#include "UnoGpioPinMap.h"
#include "./UnoGpioPinMap.h"
#elif defined(__AVR_ATmega1280__)\
|| defined(__AVR_ATmega2560__)
// Mega ADK
#include "MegaGpioPinMap.h"
#include "./MegaGpioPinMap.h"
#elif defined(__AVR_ATmega32U4__)
#ifdef CORE_TEENSY
#include "Teensy2GpioPinMap.h"
#include "./Teensy2GpioPinMap.h"
#else // CORE_TEENSY
// Leonardo or Yun
#include "LeonardoGpioPinMap.h"
#include "./LeonardoGpioPinMap.h"
#endif // CORE_TEENSY
#elif defined(__AVR_AT90USB646__)\
|| defined(__AVR_AT90USB1286__)
// Teensy++ 1.0 & 2.0
#include "Teensy2ppGpioPinMap.h"
#include "./Teensy2ppGpioPinMap.h"
#elif defined(__AVR_ATmega1284P__)\
|| defined(__AVR_ATmega1284__)\
|| defined(__AVR_ATmega644P__)\
@@ -48,13 +48,13 @@
|| defined(__AVR_ATmega324__)\
|| defined(__AVR_ATmega16__)
#ifdef ARDUINO_1284P_AVR_DEVELOPERS
#include "AvrDevelopersGpioPinMap.h"
#include "./AvrDevelopersGpioPinMap.h"
#elif defined(ARDUINO_1284P_BOBUINO)
#include "BobuinoGpioPinMap.h"
#include "./BobuinoGpioPinMap.h"
#elif defined(ARDUINO_1284P_SLEEPINGBEAUTY)
#include "SleepingBeautyGpioPinMap.h"
#include "./SleepingBeautyGpioPinMap.h"
#elif defined(ARDUINO_1284P_STANDARD)
#include "Standard1284GpioPinMap.h"
#include "./Standard1284GpioPinMap.h"
#else // ARDUINO_1284P_SLEEPINGBEAUTY
#error Undefined variant 1284, 644, 324
#endif // ARDUINO_1284P_SLEEPINGBEAUTY

+ 3
- 3
src/sdfat/ExFatLib/ExFatDbg.cpp 파일 보기

@@ -22,9 +22,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "ExFatVolume.h"
#include "upcase.h"
#include "ExFatFile.h"
#include "./ExFatVolume.h"
#include "./upcase.h"
#include "./ExFatFile.h"
#include "../common/FsDateTime.h"
#ifndef DOXYGEN_SHOULD_SKIP_THIS
//------------------------------------------------------------------------------

+ 3
- 3
src/sdfat/ExFatLib/ExFatFile.cpp 파일 보기

@@ -24,9 +24,9 @@
*/
#define DBG_FILE "ExFatFile.cpp"
#include "../common/DebugMacros.h"
#include "ExFatFile.h"
#include "ExFatVolume.h"
#include "upcase.h"
#include "./ExFatFile.h"
#include "./ExFatVolume.h"
#include "./upcase.h"
//-----------------------------------------------------------------------------
bool ExFatFile::close() {
bool rtn = sync();

+ 3
- 3
src/sdfat/ExFatLib/ExFatFile.h 파일 보기

@@ -30,13 +30,13 @@
*/
#include <limits.h>
#include <string.h>
#include "ExFatConfig.h"
#include "./ExFatConfig.h"
#include "../common/FsDateTime.h"
#include "../common/FsStructs.h"
#include "../common/FsApiConstants.h"
#include "../common/FmtNumber.h"
#include "ExFatTypes.h"
#include "ExFatPartition.h"
#include "./ExFatTypes.h"
#include "./ExFatPartition.h"

class ExFatVolume;


+ 3
- 3
src/sdfat/ExFatLib/ExFatFilePrint.cpp 파일 보기

@@ -24,9 +24,9 @@
*/
#define DBG_FILE "ExFatFilePrint.cpp"
#include "../common/DebugMacros.h"
#include "ExFatFile.h"
#include "upcase.h"
#include "ExFatVolume.h"
#include "./ExFatFile.h"
#include "./upcase.h"
#include "./ExFatVolume.h"
//-----------------------------------------------------------------------------
size_t ExFatFile::printFileSize(print_t* pr) {
uint64_t n = m_validLength;

+ 3
- 3
src/sdfat/ExFatLib/ExFatFileWrite.cpp 파일 보기

@@ -24,9 +24,9 @@
*/
#define DBG_FILE "ExFatFileWrite.cpp"
#include "../common/DebugMacros.h"
#include "ExFatFile.h"
#include "ExFatVolume.h"
#include "upcase.h"
#include "./ExFatFile.h"
#include "./ExFatVolume.h"
#include "./upcase.h"
//=============================================================================
#if READ_ONLY
bool ExFatFile::sync() {

+ 1
- 1
src/sdfat/ExFatLib/ExFatFormatter.cpp 파일 보기

@@ -24,7 +24,7 @@
*/
#define DBG_FILE "ExFatFormatter.cpp"
#include "../common/DebugMacros.h"
#include "ExFatFormatter.h"
#include "./ExFatFormatter.h"
//-----------------------------------------------------------------------------
// Formatter assumes 512 byte sectors.
const uint32_t BOOT_BACKUP_OFFSET = 12;

+ 2
- 2
src/sdfat/ExFatLib/ExFatFormatter.h 파일 보기

@@ -24,10 +24,10 @@
*/
#ifndef ExFatFormatter_h
#define ExFatFormatter_h
#include "ExFatConfig.h"
#include "./ExFatConfig.h"
#include "../common/SysCall.h"
#include "../common/BlockDevice.h"
#include "upcase.h"
#include "./upcase.h"
/**
* \class ExFatFormatter
* \brief Format an exFAT volume.

+ 3
- 3
src/sdfat/ExFatLib/ExFatLib.h 파일 보기

@@ -24,7 +24,7 @@
*/
#ifndef ExFatLib_h
#define ExFatLib_h
#include "ExFatVolume.h"
#include "ExFatFile.h"
#include "ExFatFormatter.h"
#include "./ExFatVolume.h"
#include "./ExFatFile.h"
#include "./ExFatFormatter.h"
#endif // ExFatLib_h

+ 1
- 1
src/sdfat/ExFatLib/ExFatPartition.cpp 파일 보기

@@ -24,7 +24,7 @@
*/
#define DBG_FILE "ExFatPartition.cpp"
#include "../common/DebugMacros.h"
#include "ExFatVolume.h"
#include "./ExFatVolume.h"
#include "../common/FsStructs.h"
//-----------------------------------------------------------------------------
void FsCache::invalidate() {

+ 2
- 2
src/sdfat/ExFatLib/ExFatPartition.h 파일 보기

@@ -30,8 +30,8 @@
*/
#include "../common/SysCall.h"
#include "../common/BlockDevice.h"
#include "ExFatConfig.h"
#include "ExFatTypes.h"
#include "./ExFatConfig.h"
#include "./ExFatTypes.h"
/** Type for exFAT partition */
const uint8_t FAT_TYPE_EXFAT = 64;


+ 1
- 1
src/sdfat/ExFatLib/ExFatTypes.h 파일 보기

@@ -24,7 +24,7 @@
*/
#ifndef ExFatTypes_h
#define ExFatTypes_h
#include "ExFatConfig.h"
#include "./ExFatConfig.h"

#if __cplusplus < 201103
#warning no char16_t

+ 1
- 1
src/sdfat/ExFatLib/ExFatVolume.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "ExFatVolume.h"
#include "./ExFatVolume.h"
ExFatVolume* ExFatVolume::m_cwv = nullptr;
//----------------------------------------------------------------------------
bool ExFatVolume::chdir(const ExChar_t* path) {

+ 2
- 2
src/sdfat/ExFatLib/ExFatVolume.h 파일 보기

@@ -24,8 +24,8 @@
*/
#ifndef ExFatVolume_h
#define ExFatVolume_h
#include "ExFatPartition.h"
#include "ExFatFile.h"
#include "./ExFatPartition.h"
#include "./ExFatFile.h"
//=============================================================================
/**
* \class ExFatVolume

+ 1
- 1
src/sdfat/ExFatLib/upcase.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "upcase.h"
#include "./upcase.h"

#ifdef __AVR__
#include <avr/pgmspace.h>

+ 1
- 1
src/sdfat/ExFatLib/upcase.h 파일 보기

@@ -24,7 +24,7 @@
*/
#ifndef upcase_h
#define upcase_h
#include "ExFatFile.h"
#include "./ExFatFile.h"
bool exFatCmpName(const DirName_t* unicode,
const char* name, size_t offset, size_t n);
bool exFatCmpName(const DirName_t* unicode,

+ 2
- 2
src/sdfat/FatLib/FatDbg.cpp 파일 보기

@@ -22,8 +22,8 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "FatVolume.h"
#include "FatFile.h"
#include "./FatVolume.h"
#include "./FatFile.h"
#include "../common/FsDateTime.h"
#ifndef DOXYGEN_SHOULD_SKIP_THIS
//------------------------------------------------------------------------------

+ 2
- 2
src/sdfat/FatLib/FatFile.cpp 파일 보기

@@ -24,8 +24,8 @@
*/
#define DBG_FILE "FatFile.cpp"
#include "../common/DebugMacros.h"
#include "FatFile.h"
#include "FatVolume.h"
#include "./FatFile.h"
#include "./FatVolume.h"
//------------------------------------------------------------------------------
// Add a cluster to a file.
bool FatFile::addCluster() {

+ 2
- 2
src/sdfat/FatLib/FatFile.h 파일 보기

@@ -31,12 +31,12 @@
#include <string.h>
#include <stddef.h>
#include <limits.h>
#include "FatLibConfig.h"
#include "./FatLibConfig.h"
#include "../common/FmtNumber.h"
#include "../common/FsApiConstants.h"
#include "../common/FsDateTime.h"
#include "../common/FsStructs.h"
#include "FatPartition.h"
#include "./FatPartition.h"
class FatVolume;
//------------------------------------------------------------------------------
// Stuff to store strings in AVR flash.

+ 2
- 2
src/sdfat/FatLib/FatFileLFN.cpp 파일 보기

@@ -24,8 +24,8 @@
*/
#define DBG_FILE "FatFileLFN.cpp"
#include "../common/DebugMacros.h"
#include "FatFile.h"
#include "FatVolume.h"
#include "./FatFile.h"
#include "./FatVolume.h"
//------------------------------------------------------------------------------
//
uint8_t FatFile::lfnChecksum(uint8_t* name) {

+ 1
- 1
src/sdfat/FatLib/FatFilePrint.cpp 파일 보기

@@ -25,7 +25,7 @@
#include <math.h>
#define DBG_FILE "FatFilePrint.cpp"
#include "../common/DebugMacros.h"
#include "FatFile.h"
#include "./FatFile.h"
//------------------------------------------------------------------------------
static void printHex(print_t* pr, uint8_t w, uint16_t h) {
char buf[5];

+ 2
- 2
src/sdfat/FatLib/FatFileSFN.cpp 파일 보기

@@ -25,8 +25,8 @@
#define DBG_FILE "FatFileSFN.cpp"
#include "../common/DebugMacros.h"
#include "../common/FsStructs.h"
#include "FatFile.h"
#include "FatVolume.h"
#include "./FatFile.h"
#include "./FatVolume.h"
//------------------------------------------------------------------------------
bool FatFile::getSFN(char* name) {
uint8_t j = 0;

+ 1
- 1
src/sdfat/FatLib/FatFormatter.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "FatFormatter.h"
#include "./FatFormatter.h"
// Set nonzero to use calculated CHS in MBR. Should not be required.
#define USE_LBA_TO_CHS 0


+ 1
- 1
src/sdfat/FatLib/FatFormatter.h 파일 보기

@@ -24,7 +24,7 @@
*/
#ifndef FatFormatter_h
#define FatFormatter_h
#include "FatFile.h"
#include "./FatFile.h"
#include "../common/SysCall.h"
#include "../common/BlockDevice.h"
#include "../common/FsStructs.h"

+ 3
- 3
src/sdfat/FatLib/FatLib.h 파일 보기

@@ -24,7 +24,7 @@
*/
#ifndef FatLib_h
#define FatLib_h
#include "FatVolume.h"
#include "FatLibConfig.h"
#include "FatFormatter.h"
#include "./FatVolume.h"
#include "./FatLibConfig.h"
#include "./FatFormatter.h"
#endif // FatLib_h

+ 1
- 1
src/sdfat/FatLib/FatLibConfig.h 파일 보기

@@ -28,5 +28,5 @@
*/
#ifndef FatLibConfig_h
#define FatLibConfig_h
#include "SdFatConfig.h"
#include "../SdFatConfig.h"
#endif // FatLibConfig_h

+ 1
- 1
src/sdfat/FatLib/FatPartition.cpp 파일 보기

@@ -26,7 +26,7 @@
#define DBG_FILE "FatPartition.cpp"
#include "../common/DebugMacros.h"
#include "../common/FsStructs.h"
#include "FatPartition.h"
#include "./FatPartition.h"
//------------------------------------------------------------------------------
cache_t* FatCache::read(uint32_t sector, uint8_t option) {
if (m_lbn != sector) {

+ 1
- 1
src/sdfat/FatLib/FatPartition.h 파일 보기

@@ -29,7 +29,7 @@
* \brief FatPartition class
*/
#include <stddef.h>
#include "FatLibConfig.h"
#include "./FatLibConfig.h"
#include "../common/SysCall.h"
#include "../common/BlockDevice.h"
#include "../common/FsStructs.h"

+ 1
- 1
src/sdfat/FatLib/FatVolume.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "FatVolume.h"
#include "./FatVolume.h"
FatVolume* FatVolume::m_cwv = nullptr;
//----------------------------------------------------------------------------
bool FatVolume::chdir(const char *path) {

+ 2
- 2
src/sdfat/FatLib/FatVolume.h 파일 보기

@@ -24,8 +24,8 @@
*/
#ifndef FatVolume_h
#define FatVolume_h
#include "FatPartition.h"
#include "FatFile.h"
#include "./FatPartition.h"
#include "./FatFile.h"
/**
* \file
* \brief FatVolume class

+ 1
- 1
src/sdfat/FreeStack.cpp 파일 보기

@@ -23,7 +23,7 @@
* DEALINGS IN THE SOFTWARE.
*/
#define FREE_STACK_CPP
#include "FreeStack.h"
#include "./FreeStack.h"
#if defined(HAS_UNUSED_STACK) && HAS_UNUSED_STACK
//------------------------------------------------------------------------------
inline char* stackBegin() {

+ 1
- 1
src/sdfat/FreeStack.h 파일 보기

@@ -47,7 +47,7 @@ inline int FreeStack() {
#elif defined(ARDUINO_ARCH_APOLLO3)
#define HAS_UNUSED_STACK 0
#elif defined(PLATFORM_ID) // Particle board
#include "Arduino.h"
#include <core/Arduino.h>
inline int FreeStack() {
return System.freeMemory();
}

+ 1
- 1
src/sdfat/FsLib/FsFile.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "FsLib.h"
#include "./FsLib.h"
//------------------------------------------------------------------------------
FsBaseFile::FsBaseFile(const FsBaseFile& from) {
m_fFile = nullptr;

+ 3
- 3
src/sdfat/FsLib/FsFile.h 파일 보기

@@ -28,9 +28,9 @@
* \file
* \brief FsBaseFile include file.
*/
#include "FsNew.h"
#include "FatLib/FatLib.h"
#include "ExFatLib/ExFatLib.h"
#include "./FsNew.h"
#include "../FatLib/FatLib.h"
#include "../ExFatLib/ExFatLib.h"
/**
* \class FsBaseFile
* \brief FsBaseFile class.

+ 2
- 2
src/sdfat/FsLib/FsLib.h 파일 보기

@@ -28,6 +28,6 @@
* \file
* \brief FsLib include file.
*/
#include "FsVolume.h"
#include "FsFile.h"
#include "./FsVolume.h"
#include "./FsFile.h"
#endif // FsLib_h

+ 1
- 1
src/sdfat/FsLib/FsNew.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "FsNew.h"
#include "./FsNew.h"
void* operator new(size_t size, newalign_t* ptr) {
(void)size;
return ptr;

+ 1
- 1
src/sdfat/FsLib/FsVolume.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "FsLib.h"
#include "./FsLib.h"
FsVolume* FsVolume::m_cwv = nullptr;
//------------------------------------------------------------------------------
bool FsVolume::begin(BlockDevice* blockDev) {

+ 1
- 1
src/sdfat/FsLib/FsVolume.h 파일 보기

@@ -28,7 +28,7 @@
* \file
* \brief FsVolume include file.
*/
#include "FsNew.h"
#include "./FsNew.h"
#include "../FatLib/FatLib.h"
#include "../ExFatLib/ExFatLib.h"


+ 2
- 2
src/sdfat/MinimumSerial.cpp 파일 보기

@@ -22,9 +22,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "common/SysCall.h"
#include "./common/SysCall.h"
#if defined(UDR0) || defined(DOXYGEN)
#include "MinimumSerial.h"
#include "./MinimumSerial.h"
const uint16_t MIN_2X_BAUD = F_CPU/(4*(2*0XFFF + 1)) + 1;
//------------------------------------------------------------------------------
int MinimumSerial::available() {

+ 1
- 1
src/sdfat/MinimumSerial.h 파일 보기

@@ -28,7 +28,7 @@
*/
#ifndef MinimumSerial_h
#define MinimumSerial_h
#include "common/SysCall.h"
#include "./common/SysCall.h"
//==============================================================================
/**
* \class MinimumSerial

+ 2
- 2
src/sdfat/SdCard/SdCard.h 파일 보기

@@ -24,8 +24,8 @@
*/
#ifndef SdCard_h
#define SdCard_h
#include "SdioCard.h"
#include "SdSpiCard.h"
#include "./SdioCard.h"
#include "./SdSpiCard.h"
#if HAS_SDIO_CLASS
typedef SdCardInterface SdCard;
#else // HAS_SDIO_CLASS

+ 1
- 1
src/sdfat/SdCard/SdCardInfo.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "SdCardInfo.h"
#include "./SdCardInfo.h"
//------------------------------------------------------------------------------
#undef SD_CARD_ERROR
#define SD_CARD_ERROR(e, m) case SD_CARD_ERROR_##e: pr->print(F(#e)); break;

+ 1
- 1
src/sdfat/SdCard/SdCardInterface.h 파일 보기

@@ -25,7 +25,7 @@
#ifndef SdCardInterface_h
#define SdCardInterface_h
#include "../common/BlockDeviceInterface.h"
#include "SdCardInfo.h"
#include "./SdCardInfo.h"
/**
* \class SdCardInterface
* \brief Abstract interface for an SD card.

+ 1
- 1
src/sdfat/SdCard/SdSpiCard.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "SdSpiCard.h"
#include "./SdSpiCard.h"
//==============================================================================
// Debug aids
#define DBG_PROFILE_STATS 0

+ 2
- 2
src/sdfat/SdCard/SdSpiCard.h 파일 보기

@@ -30,8 +30,8 @@
#define SdSpiCard_h
#include <stddef.h>
#include "../common/SysCall.h"
#include "SdCardInfo.h"
#include "SdCardInterface.h"
#include "./SdCardInfo.h"
#include "./SdCardInterface.h"
#include "../SpiDriver/SdSpiDriver.h"
//==============================================================================
/**

+ 1
- 1
src/sdfat/SdCard/SdioCard.h 파일 보기

@@ -25,7 +25,7 @@
#ifndef SdioCard_h
#define SdioCard_h
#include "../common/SysCall.h"
#include "SdCardInterface.h"
#include "./SdCardInterface.h"

#define FIFO_SDIO 0
#define DMA_SDIO 1

+ 3
- 3
src/sdfat/SdCard/SdioTeensy.cpp 파일 보기

@@ -23,9 +23,9 @@
* DEALINGS IN THE SOFTWARE.
*/
#if defined(__MK64FX512__) || defined(__MK66FX1M0__) || defined(__IMXRT1062__)
#include "SdioTeensy.h"
#include "SdCardInfo.h"
#include "SdioCard.h"
#include "./SdioTeensy.h"
#include "./SdCardInfo.h"
#include "./SdioCard.h"
//==============================================================================
// limit of K66 due to errata KINETIS_K_0N65N.
const uint32_t MAX_SDHC_COUNT = 0XFFFF;

+ 8
- 8
src/sdfat/SdFat.h 파일 보기

@@ -28,11 +28,11 @@
* \file
* \brief main SdFs include file.
*/
#include "common/SysCall.h"
#include "SdCard/SdCard.h"
#include "ExFatLib/ExFatLib.h"
#include "FatLib/FatLib.h"
#include "FsLib/FsLib.h"
#include "./common/SysCall.h"
#include "./SdCard/SdCard.h"
#include "./ExFatLib/ExFatLib.h"
#include "./FatLib/FatLib.h"
#include "./FsLib/FsLib.h"
#if INCLUDE_SDIOS
#include "sdios.h"
#endif // INCLUDE_SDIOS
@@ -397,20 +397,20 @@ class SdFs : public SdBase<FsVolume> {
/** Select type for SdFat. */
typedef SdFat32 SdFat;
/** Select type for File. */
#if !defined(__has_include) || !__has_include(<FS.h>)
#if !defined(__has_include) || !__has_include(<core/FS.h>)
typedef File32 File;
#endif
/** Select type for SdBaseFile. */
typedef FatFile SdBaseFile;
#elif SDFAT_FILE_TYPE == 2
typedef SdExFat SdFat;
#if !defined(__has_include) || !__has_include(<FS.h>)
#if !defined(__has_include) || !__has_include(<core/FS.h>)
typedef ExFile File;
#endif
typedef ExFatFile SdBaseFile;
#elif SDFAT_FILE_TYPE == 3
typedef SdFs SdFat;
#if !defined(__has_include) || !__has_include(<FS.h>)
#if !defined(__has_include) || !__has_include(<core/FS.h>)
typedef FsFile File;
#endif
typedef FsBaseFile SdBaseFile;

+ 1
- 1
src/sdfat/SdFatConfig.h 파일 보기

@@ -43,7 +43,7 @@
#define USE_BLOCK_DEVICE_INTERFACE 0
//------------------------------------------------------------------------------
#if ENABLE_ARDUINO_FEATURES
#include "Arduino.h"
#include <core/Arduino.h>
#ifdef PLATFORM_ID
// Only defined if a Particle device.
#include "application.h"

+ 2
- 2
src/sdfat/SpiDriver/SdSpiArduinoDriver.h 파일 보기

@@ -89,8 +89,8 @@ class SdSpiArduinoDriver {
typedef SdSpiArduinoDriver SdSpiDriver;
//------------------------------------------------------------------------------
#ifndef SD_USE_CUSTOM_SPI
#include "SdSpiLibDriver.h"
#include "./SdSpiLibDriver.h"
#elif defined(__AVR__)
#include "SdSpiAvr.h"
#include "./SdSpiAvr.h"
#endif // __AVR__
#endif // SdSpiArduinoDriver_h

+ 1
- 1
src/sdfat/SpiDriver/SdSpiArtemis.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "SdSpiDriver.h"
#include "./SdSpiDriver.h"
#if defined(SD_USE_CUSTOM_SPI) && defined(ARDUINO_ARCH_APOLLO3)
//------------------------------------------------------------------------------
void SdSpiArduinoDriver::activate() {

+ 1
- 1
src/sdfat/SpiDriver/SdSpiChipSelect.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "SdSpiDriver.h"
#include "./SdSpiDriver.h"
#if ENABLE_ARDUINO_FEATURES
#if SD_CHIP_SELECT_MODE == 0
//------------------------------------------------------------------------------

+ 4
- 4
src/sdfat/SpiDriver/SdSpiDriver.h 파일 보기

@@ -68,7 +68,7 @@ void sdCsWrite(SdCsPin_t pin, bool level);
/** SPI bus is share with other devices. */
#define SHARED_SPI 0
#if SPI_DRIVER_SELECT < 2
#include "SPI.h"
#include <spi/SPI.h>
/** Port type for Arduino SPI hardware driver. */
typedef SPIClass SpiPort_t;
#elif SPI_DRIVER_SELECT == 2
@@ -131,11 +131,11 @@ class SdSpiConfig {
SpiPort_t* spiPort;
};
#if SPI_DRIVER_SELECT < 2
#include "SdSpiArduinoDriver.h"
#include "./SdSpiArduinoDriver.h"
#elif SPI_DRIVER_SELECT == 2
#include "SdSpiSoftDriver.h"
#include "./SdSpiSoftDriver.h"
#elif SPI_DRIVER_SELECT == 3
#include "SdSpiBaseClass.h"
#include "./SdSpiBaseClass.h"
typedef SdSpiBaseClass SdSpiDriver;
#else // SPI_DRIVER_SELECT
#error Invalid SPI_DRIVER_SELECT

+ 1
- 1
src/sdfat/SpiDriver/SdSpiDue.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "SdSpiDriver.h"
#include "./SdSpiDriver.h"
#if defined(SD_USE_CUSTOM_SPI) && defined(ARDUINO_SAM_DUE)
/* Use SAM3X DMAC if nonzero */
#define USE_SAM3X_DMAC 1

+ 1
- 1
src/sdfat/SpiDriver/SdSpiESP.cpp 파일 보기

@@ -23,7 +23,7 @@
* DEALINGS IN THE SOFTWARE.
*/

#include "SdSpiDriver.h"
#include "./SdSpiDriver.h"
#if defined(SD_USE_CUSTOM_SPI) && (defined(ESP8266) || defined(ESP32))
#define ESP_UNALIGN_OK 1
//------------------------------------------------------------------------------

+ 1
- 1
src/sdfat/SpiDriver/SdSpiParticle.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "SdSpiDriver.h"
#include "./SdSpiDriver.h"
#if defined(SD_USE_CUSTOM_SPI) && defined(PLATFORM_ID)
static volatile bool SPI_DMA_TransferCompleted = false;
//-----------------------------------------------------------------------------

+ 1
- 1
src/sdfat/SpiDriver/SdSpiSTM32.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "SdSpiDriver.h"
#include "./SdSpiDriver.h"
#if defined(SD_USE_CUSTOM_SPI)\
&& (defined(__STM32F1__) || defined(__STM32F4__))
#if defined(__STM32F1__)

+ 1
- 1
src/sdfat/SpiDriver/SdSpiTeensy3.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "SdSpiDriver.h"
#include "./SdSpiDriver.h"
#if defined(SD_USE_CUSTOM_SPI) && defined(__arm__) && defined(CORE_TEENSY)
#define USE_BLOCK_TRANSFER 1
//------------------------------------------------------------------------------

+ 1
- 1
src/sdfat/common/BlockDevice.h 파일 보기

@@ -24,7 +24,7 @@
*/
#ifndef BlockDevice_h
#define BlockDevice_h
#include "SdCard/SdCard.h"
#include "../SdCard/SdCard.h"
#if HAS_SDIO_CLASS || USE_BLOCK_DEVICE_INTERFACE
typedef BlockDeviceInterface BlockDevice;
#else

+ 1
- 1
src/sdfat/common/DebugMacros.h 파일 보기

@@ -28,7 +28,7 @@
#define USE_DBG_MACROS 0

#if USE_DBG_MACROS
#include "Arduino.h"
#include <core/Arduino.h>
#ifndef DBG_FILE
#error DBG_FILE not defined
#endif // DBG_FILE

+ 1
- 1
src/sdfat/common/FmtNumber.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "FmtNumber.h"
#include "./FmtNumber.h"
// always use fmtBase10() - seems fast even on teensy 3.6.
#define USE_FMT_BASE10 1


+ 3
- 3
src/sdfat/common/FsDateTime.cpp 파일 보기

@@ -22,9 +22,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "SysCall.h"
#include "FsDateTime.h"
#include "FmtNumber.h"
#include "./SysCall.h"
#include "./FsDateTime.h"
#include "./FmtNumber.h"

static void dateTimeMs10(uint16_t* date, uint16_t* time, uint8_t* ms10) {
*ms10 = 0;

+ 1
- 1
src/sdfat/common/FsDateTime.h 파일 보기

@@ -25,7 +25,7 @@
#ifndef FsDateTime_h
#define FsDateTime_h
#include <stdint.h>
#include "SysCall.h"
#include "./SysCall.h"
/** Backward compatible definition. */
#define FAT_DATE(y, m, d) FS_DATE(y, m, d)


+ 1
- 1
src/sdfat/common/FsStructs.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "FsStructs.h"
#include "./FsStructs.h"
// bgnLba = relSector;
// endLba = relSector + partSize - 1;
void lbaToMbrChs(uint8_t* chs, uint32_t capacityMB, uint32_t lba) {

+ 1
- 1
src/sdfat/common/PrintBasic.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "PrintBasic.h"
#include "./PrintBasic.h"
#include <math.h>

size_t PrintBasic::print(long n, uint8_t base) {

+ 1
- 1
src/sdfat/common/PrintTemplates.h 파일 보기

@@ -29,7 +29,7 @@
* \brief templates for printf
*/
#include <stdarg.h>
#include "FmtNumber.h"
#include "./FmtNumber.h"
/** test for digit */
#define isDigit(d) ('0' <= (d) && (d) <= '9')
/** control for supported floating formats */

+ 1
- 1
src/sdfat/common/SysCall.h 파일 보기

@@ -91,7 +91,7 @@ inline void SysCall::yield() {}
#endif // defined(PLATFORM_ID)
//------------------------------------------------------------------------------
#else // ENABLE_ARDUINO_FEATURES
#include "PrintBasic.h"
#include "./PrintBasic.h"
/** If not Arduino */
typedef PrintBasic print_t;
/** If not Arduino */

+ 1
- 1
src/sdfat/common/SysCallBareUno.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "SysCall.h"
#include "./SysCall.h"
#if 0 // defined(__AVR_ATmega328P__) && !ENABLE_ARDUINO_FEATURES
#include <avr/interrupt.h>


+ 2
- 2
src/sdfat/iostream/ArduinoStream.h 파일 보기

@@ -28,8 +28,8 @@
* \file
* \brief ArduinoInStream and ArduinoOutStream classes
*/
#include "SdFatConfig.h"
#include "bufstream.h"
#include "./SdFatConfig.h"
#include "./bufstream.h"
//==============================================================================
/**
* \class ArduinoInStream

+ 1
- 1
src/sdfat/iostream/StdioStream.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "StdioStream.h"
#include "./StdioStream.h"
#include "../common/FmtNumber.h"
//------------------------------------------------------------------------------
int StdioStream::fclose() {

+ 1
- 1
src/sdfat/iostream/StdioStream.h 파일 보기

@@ -29,7 +29,7 @@
* \brief StdioStream class
*/
#include <limits.h>
#include "ios.h"
#include "./ios.h"
//------------------------------------------------------------------------------
/** Total size of stream buffer. The entire buffer is used for output.
* During input UNGETC_BUF_SIZE of this space is reserved for ungetc.

+ 1
- 1
src/sdfat/iostream/StreamBaseClass.cpp 파일 보기

@@ -22,7 +22,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
#include "fstream.h"
#include "./fstream.h"
//------------------------------------------------------------------------------
int16_t StreamBaseClass::getch() {
uint8_t c;

+ 1
- 1
src/sdfat/iostream/bufstream.h 파일 보기

@@ -29,7 +29,7 @@
* \brief \ref ibufstream and \ref obufstream classes
*/
#include <string.h>
#include "iostream.h"
#include "./iostream.h"
//==============================================================================
/**
* \class ibufstream

+ 2
- 2
src/sdfat/iostream/fstream.h 파일 보기

@@ -25,10 +25,10 @@
/**
* \file
* \brief iostreams for files.
*/
*/
#ifndef fstream_h
#define fstream_h
#include "iostream.h"
#include "./iostream.h"
//------------------------------------------------------------------------------
/**
* \class StreamBaseClass

+ 2
- 2
src/sdfat/iostream/iostream.h 파일 보기

@@ -28,8 +28,8 @@
* \file
* \brief \ref iostream class
*/
#include "istream.h"
#include "ostream.h"
#include "./istream.h"
#include "./ostream.h"
/** Skip white space
* \param[in] is the Stream
* \return The stream

+ 1
- 1
src/sdfat/iostream/istream.cpp 파일 보기

@@ -24,7 +24,7 @@
*/
#include <float.h>
#include <ctype.h>
#include "istream.h"
#include "./istream.h"
//------------------------------------------------------------------------------
int istream::get() {
int c;

+ 1
- 1
src/sdfat/iostream/istream.h 파일 보기

@@ -28,7 +28,7 @@
* \file
* \brief \ref istream class
*/
#include "ios.h"
#include "./ios.h"

/**
* \class istream

+ 1
- 1
src/sdfat/iostream/ostream.cpp 파일 보기

@@ -23,7 +23,7 @@
* DEALINGS IN THE SOFTWARE.
*/
#include <string.h>
#include "ostream.h"
#include "./ostream.h"
#ifndef PSTR
#define PSTR(x) x
#endif // PSTR

+ 1
- 1
src/sdfat/iostream/ostream.h 파일 보기

@@ -28,7 +28,7 @@
* \file
* \brief \ref ostream class
*/
#include "ios.h"
#include "./ios.h"
//==============================================================================
/**
* \class ostream

+ 3
- 3
src/sdfat/sdios.h 파일 보기

@@ -28,7 +28,7 @@
* \file
* \brief C++ IO Streams features.
*/
#include "iostream/ArduinoStream.h"
#include "iostream/fstream.h"
#include "iostream/StdioStream.h"
#include "./iostream/ArduinoStream.h"
#include "./iostream/fstream.h"
#include "./iostream/StdioStream.h"
#endif // sdios_h

Loading…
취소
저장