You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inside of sd Library of chipkit are following defintions:
boolean exists(char *filepath);
boolean mkdir(char *filepath);
boolean remove(char *filepath);
boolean rmdir(char *filepath);
if I compare with the adruino definitons (for adruino bards) i find
// Methods to determine if the requested file path exists.
boolean exists(const char *filepath);
boolean exists(const String &filepath) { return exists(filepath.c_str()); }
// Create the requested directory heirarchy--if intermediate directories
// do not exist they will be created.
boolean mkdir(const char *filepath);
boolean mkdir(const String &filepath) { return mkdir(filepath.c_str()); }
The SD library is horrendously out of date and very nasty anyway. Where possible I recommend to use DFATFS instead, but I guess in this case you can't.
Since it's just missing const attributes it should be simple enough to fix though.
Followup:
By using Boards Manager and installed chipKIT by chipKIT Community Version 2.0.3 the issue still exists.
How do i know at which time will the change be included at package_chipkit_index.json ?
Thanks for supportig so far, a manual copy of the chaged sd files run excellent ,;)
Hello,
inside of sd Library of chipkit are following defintions:
boolean exists(char *filepath);
boolean mkdir(char *filepath);
boolean remove(char *filepath);
boolean rmdir(char *filepath);
if I compare with the adruino definitons (for adruino bards) i find
// Methods to determine if the requested file path exists.
boolean exists(const char *filepath);
boolean exists(const String &filepath) { return exists(filepath.c_str()); }
// Create the requested directory heirarchy--if intermediate directories
// do not exist they will be created.
boolean mkdir(const char *filepath);
boolean mkdir(const String &filepath) { return mkdir(filepath.c_str()); }
// Delete the file.
boolean remove(const char *filepath);
boolean remove(const String &filepath) { return remove(filepath.c_str()); }
boolean rmdir(const char *filepath);
boolean rmdir(const String &filepath) { return rmdir(filepath.c_str()); }
May you will change.
I run into this issue trying out to use nextion library in combination whit chip kit.
The text was updated successfully, but these errors were encountered: