Sandro
Well-known member
Hi all, I'm trying to experiment the LitteFS library's functionalities using this version:
https://github.com/PaulStoffregen/LittleFS
starting from the included example ListFiles. I'm using a Teensy 4.1 with Audio board rev.D, and the small W25Q128 chip on it.
This is the example's code (unmodified):
I allso added FS.h (from https://github.com/PaulStoffregen/cores/tree/master/teensy4) to Arduino\hardware\teensy\avr\cores\teensy4.
If I try to compile, this is the result:
So, I'm very far from the goal... someone knows how to go on?
Thanks in advance
https://github.com/PaulStoffregen/LittleFS
starting from the included example ListFiles. I'm using a Teensy 4.1 with Audio board rev.D, and the small W25Q128 chip on it.
This is the example's code (unmodified):
Code:
// Print a list of all files stored on a flash memory chip
#include <LittleFS.h>
// Flash chip on Teensy Audio Shield or Prop Shield
LittleFS_SPIFlash myfs;
const int chipSelect = 6;
void setup() {
//Uncomment these lines for Teensy 3.x Audio Shield (Rev C)
//SPI.setMOSI(7); // Audio shield has MOSI on pin 7
//SPI.setSCK(14); // Audio shield has SCK on pin 14
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) { ; // wait for Arduino Serial Monitor
}
Serial.println("Initializing Flash Chip");
if (!myfs.begin(chipSelect)) {
Serial.println("initialization failed!");
return;
}
Serial.print("Space Used = ");
Serial.println(myfs.usedSize());
Serial.print("Filesystem Size = ");
Serial.println(myfs.totalSize());
printDirectory(myfs);
}
void loop() {
}
void printDirectory(FS &fs) {
Serial.println("Directory\n---------");
printDirectory(fs.open("/"), 0);
Serial.println();
}
void printDirectory(File dir, int numSpaces) {
while(true) {
File entry = dir.openNextFile();
if (! entry) {
//Serial.println("** no more files **");
break;
}
printSpaces(numSpaces);
Serial.print(entry.name());
if (entry.isDirectory()) {
Serial.println("/");
printDirectory(entry, numSpaces+2);
} else {
// files have sizes, directories do not
printSpaces(36 - numSpaces - strlen(entry.name()));
Serial.print(" ");
Serial.println(entry.size(), DEC);
}
entry.close();
}
}
void printSpaces(int num) {
for (int i=0; i < num; i++) {
Serial.print(" ");
}
}
I allso added FS.h (from https://github.com/PaulStoffregen/cores/tree/master/teensy4) to Arduino\hardware\teensy\avr\cores\teensy4.
If I try to compile, this is the result:
Code:
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\dell\AppData\Local\Arduino15\packages -hardware C:\Users\dell\Google Drive\ARDUINO SKETCHES\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\dell\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\dell\Google Drive\ARDUINO SKETCHES\libraries -fqbn=teensy:avr:teensy41:usb=serial,speed=600,opt=o3std,keys=it-it -ide-version=10813 -build-path C:\Users\dell\AppData\Local\Temp\arduino_build_487132 -warnings=all -build-cache C:\Users\dell\AppData\Local\Temp\arduino_cache_549412 -verbose C:\Users\dell\AppData\Local\Temp\arduino_modified_sketch_391317\ListFiles.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\dell\AppData\Local\Arduino15\packages -hardware C:\Users\dell\Google Drive\ARDUINO SKETCHES\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\dell\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\dell\Google Drive\ARDUINO SKETCHES\libraries -fqbn=teensy:avr:teensy41:usb=serial,speed=600,opt=o3std,keys=it-it -ide-version=10813 -build-path C:\Users\dell\AppData\Local\Temp\arduino_build_487132 -warnings=all -build-cache C:\Users\dell\AppData\Local\Temp\arduino_cache_549412 -verbose C:\Users\dell\AppData\Local\Temp\arduino_modified_sketch_391317\ListFiles.ino
Using board 'teensy41' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
Using core 'teensy4' from platform in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr
Detecting libraries used...
"C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_ITALIAN "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "C:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132\\sketch\\ListFiles.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for LittleFS.h: [LittleFS-main@1.0.0]
ResolveLibrary(LittleFS.h)
-> candidates: [LittleFS-main@1.0.0]
"C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_ITALIAN "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-IC:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src" "C:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132\\sketch\\ListFiles.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
-> candidates: [SPI@1.0]
"C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_ITALIAN "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-IC:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\SPI" "C:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132\\sketch\\ListFiles.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_ITALIAN "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-IC:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\SPI" "C:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src\\LittleFS.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_ITALIAN "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-IC:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\SPI" "C:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src\\LittleFS_NAND.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_ITALIAN "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-IC:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\SPI" "C:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src\\littlefs\\lfs.c" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_ITALIAN "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-IC:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\SPI" "C:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src\\littlefs\\lfs_util.c" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_ITALIAN "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-IC:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\SPI" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\SPI\\SPI.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
"C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -nostdlib -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_ITALIAN "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-IC:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\SPI" "C:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132\\sketch\\ListFiles.ino.cpp" -o "C:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Sto compilando lo sketch...
"C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/precompile_helper" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr/cores/teensy4" "C:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132" "C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -x c++-header -O3 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_ITALIAN "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr/cores/teensy4" "C:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132/pch/Arduino.h" -o "C:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132/pch/Arduino.h.gch"
"C:\\Program Files (x86)\\Arduino\\hardware\\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O3 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -std=gnu++14 -fno-exceptions -fpermissive -fno-rtti -fno-threadsafe-statics -felide-constructors -Wno-error=narrowing -mthumb -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-d16 -D__IMXRT1062__ -DTEENSYDUINO=153 -DARDUINO=10813 -DARDUINO_TEENSY41 -DF_CPU=600000000 -DUSB_SERIAL -DLAYOUT_ITALIAN "-IC:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132/pch" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy4" "-IC:\\Users\\dell\\Google Drive\\ARDUINO SKETCHES\\libraries\\LittleFS-main\\src" "-IC:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\libraries\\SPI" "C:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132\\sketch\\ListFiles.ino.cpp" -o "C:\\Users\\dell\\AppData\\Local\\Temp\\arduino_build_487132\\sketch\\ListFiles.ino.cpp.o"
In file included from C:\Users\dell\AppData\Local\Temp\arduino_modified_sketch_391317\ListFiles.ino:3:0:
C:\Users\dell\Google Drive\ARDUINO SKETCHES\libraries\LittleFS-main\src/LittleFS.h: In member function 'bool LittleFS_RAM::begin(uint32_t)':
C:\Users\dell\Google Drive\ARDUINO SKETCHES\libraries\LittleFS-main\src/LittleFS.h:292:34: error: 'extmem_malloc' was not declared in this scope
return begin(extmem_malloc(size), size);
^
ListFiles: In function 'void setup()':
ListFiles:25: error: call of overloaded 'println(uint64_t)' is ambiguous
Serial.println(myfs.usedSize());
^
In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Stream.h:24:0,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/HardwareSerial.h:106,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:46,
from C:\Users\dell\AppData\Local\Temp\arduino_build_487132\pch\Arduino.h:6:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:84:9: note: candidate: size_t Print::println(const String&)
size_t println(const String &s) { return print(s) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:85:9: note: candidate: size_t Print::println(char)
size_t println(char c) { return print(c) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:89:9: note: candidate: size_t Print::println(uint8_t)
size_t println(uint8_t b) { return print(b) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:90:9: note: candidate: size_t Print::println(int)
size_t println(int n) { return print(n) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:91:9: note: candidate: size_t Print::println(unsigned int)
size_t println(unsigned int n) { return print(n) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:92:9: note: candidate: size_t Print::println(long int)
size_t println(long n) { return print(n) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:93:9: note: candidate: size_t Print::println(long unsigned int)
size_t println(unsigned long n) { return print(n) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:101:9: note: candidate: size_t Print::println(double, int)
size_t println(double n, int digits = 2) { return print(n, digits) + println(); }
^
ListFiles:27: error: call of overloaded 'println(uint64_t)' is ambiguous
Serial.println(myfs.totalSize());
^
In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Stream.h:24:0,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/HardwareSerial.h:106,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:46,
from C:\Users\dell\AppData\Local\Temp\arduino_build_487132\pch\Arduino.h:6:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:84:9: note: candidate: size_t Print::println(const String&)
size_t println(const String &s) { return print(s) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:85:9: note: candidate: size_t Print::println(char)
size_t println(char c) { return print(c) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:89:9: note: candidate: size_t Print::println(uint8_t)
size_t println(uint8_t b) { return print(b) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:90:9: note: candidate: size_t Print::println(int)
size_t println(int n) { return print(n) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:91:9: note: candidate: size_t Print::println(unsigned int)
size_t println(unsigned int n) { return print(n) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:92:9: note: candidate: size_t Print::println(long int)
size_t println(long n) { return print(n) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:93:9: note: candidate: size_t Print::println(long unsigned int)
size_t println(unsigned long n) { return print(n) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:101:9: note: candidate: size_t Print::println(double, int)
size_t println(double n, int digits = 2) { return print(n, digits) + println(); }
^
ListFiles: In function 'void printDirectory(File, int)':
ListFiles:59: error: call of overloaded 'println(uint64_t, int)' is ambiguous
Serial.println(entry.size(), DEC);
^
In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Stream.h:24:0,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/HardwareSerial.h:106,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/WProgram.h:46,
from C:\Users\dell\AppData\Local\Temp\arduino_build_487132\pch\Arduino.h:6:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:95:9: note: candidate: size_t Print::println(unsigned char, int)
size_t println(unsigned char n, int base) { return print(n, base) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:96:9: note: candidate: size_t Print::println(int, int)
size_t println(int n, int base) { return print(n, base) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:97:9: note: candidate: size_t Print::println(unsigned int, int)
size_t println(unsigned int n, int base) { return print(n, base) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:98:9: note: candidate: size_t Print::println(long int, int)
size_t println(long n, int base) { return print(n, base) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:99:9: note: candidate: size_t Print::println(long unsigned int, int)
size_t println(unsigned long n, int base) { return print(n, base) + println(); }
^
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy4/Print.h:101:9: note: candidate: size_t Print::println(double, int)
size_t println(double n, int digits = 2) { return print(n, digits) + println(); }
^
Uso la libreria LittleFS-main alla versione 1.0.0 nella cartella: C:\Users\dell\Google Drive\ARDUINO SKETCHES\libraries\LittleFS-main
Uso la libreria SPI alla versione 1.0 nella cartella: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SPI
call of overloaded 'println(uint64_t)' is ambiguous
So, I'm very far from the goal... someone knows how to go on?
Thanks in advance