We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I'm using a teensy 3.5 with Arduino 1.8.19 and teensyduino 1.57.
The following code works under 1.56 but returns 0 with 1.57:
#include <SD.h> void setup() { Serial.begin(9600); if ( ! SD.sdfs.begin(SdioConfig(DMA_SDIO)) ) Serial.println("unable to init SD!"); else { uint32_t sizeInKb = (uint32_t)((SD.totalSize() - SD.usedSize()) / 1000); Serial.printf("SD available space is %" PRIu32 "Kb\n", sizeInKb); } } void loop() { yield(); }
SD.totalSize and SD.usedSize both returns 0. There are some small changes in SD.h and SD.cpp between versions but I was unable to fix it!
Finally, may I ask:
Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm using a teensy 3.5 with Arduino 1.8.19 and teensyduino 1.57.
The following code works under 1.56 but returns 0 with 1.57:
SD.totalSize and SD.usedSize both returns 0.
There are some small changes in SD.h and SD.cpp between versions but I was unable to fix it!
Finally, may I ask:
Thank you.
The text was updated successfully, but these errors were encountered: