rearange FS files location

This commit is contained in:
Luc 2019-10-07 20:47:36 +08:00
parent c02e922aa4
commit 57a965dcee
7 changed files with 16 additions and 16 deletions

View File

@ -1,5 +1,5 @@
/*
fat_filesystem.cpp - ESP3D fat filesystem configuration class
fat_esp32_filesystem.cpp - ESP3D fat filesystem configuration class
Copyright (c) 2014 Luc Lebosse. All rights reserved.
@ -17,10 +17,10 @@ fat_filesystem.cpp - ESP3D fat filesystem configuration class
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "../../include/esp3d_config.h"
#include "../../../include/esp3d_config.h"
#if (FILESYSTEM_FEATURE == ESP_FAT_FILESYSTEM)
#include "esp_filesystem.h"
#include "../../core/genLinkedList.h"
#include "../esp_filesystem.h"
#include "../../../core/genLinkedList.h"
#include <FS.h>
#include "FFat.h"

View File

@ -1,5 +1,5 @@
/*
littlefs_filesystem.cpp - ESP3D littlefs filesystem configuration class
littlefs_esp8266_filesystem.cpp - ESP3D littlefs filesystem configuration class
Copyright (c) 2014 Luc Lebosse. All rights reserved.
@ -17,10 +17,10 @@ littlefs_filesystem.cpp - ESP3D littlefs filesystem configuration class
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "../../include/esp3d_config.h"
#include "../../../include/esp3d_config.h"
#if (FILESYSTEM_FEATURE == ESP_LITTLEFS_FILESYSTEM)
#include "esp_filesystem.h"
#include "../../core/genLinkedList.h"
#include "../esp_filesystem.h"
#include "../../../core/genLinkedList.h"
#include <FS.h>
#include <LittleFS.h>

View File

@ -17,10 +17,10 @@
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "../../include/esp3d_config.h"
#include "../../../include/esp3d_config.h"
#if (FILESYSTEM_FEATURE == ESP_SPIFFS_FILESYSTEM) && defined(ARDUINO_ARCH_ESP32)
#include "esp_filesystem.h"
#include "../../core/genLinkedList.h"
#include "../esp_filesystem.h"
#include "../../../core/genLinkedList.h"
#include <FS.h>
#include <SPIFFS.h>
extern File tFile_handle[ESP_MAX_OPENHANDLE];

View File

@ -17,10 +17,10 @@
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "../../include/esp3d_config.h"
#include "../../../include/esp3d_config.h"
#if (FILESYSTEM_FEATURE == ESP_SPIFFS_FILESYSTEM) && defined (ARDUINO_ARCH_ESP8266)
#include "esp_filesystem.h"
#include "../../core/genLinkedList.h"
#include "../esp_filesystem.h"
#include "../../../core/genLinkedList.h"
#include <FS.h>
Dir tDir_handle[ESP_MAX_OPENHANDLE];
extern File tFile_handle[ESP_MAX_OPENHANDLE];

View File

@ -17,10 +17,10 @@ sd_native_esp32.cpp - ESP3D sd support class
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "../../include/esp3d_config.h"
#include "../../../include/esp3d_config.h"
#if defined (ARCH_ESP32) && defined(SD_FEATURE)
#if (SD_FEATURE == ESP_SD_NATIVE)
#include "esp_sd.h"
#include "../esp_sd.h"
#include "FS.h"
#include "SD.h"