chegewara / EspTinyUSB

ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
MIT License
475 stars 70 forks source link

class fs::SDFS has no member named 'readRAW' #27

Closed arjuna-dev closed 3 years ago

arjuna-dev commented 3 years ago

Whenever I try to run any of the examples I get the following errors:

EspTinyUSB-master/src/classes/msc/sdcard.cpp:66:12: error: 'class fs::SDFS' has no member named 'readRAW' SD.readRAW((uint8_t*)buffer, lba);

And then a similar one but for 'writeRAW'

chegewara commented 3 years ago

Sorry for that. I merged SD card class before this PR has been merged: https://github.com/espressif/arduino-esp32/pull/4777

If you dont need sd card example then you can just delete sdcard class, or you can try to modify arduino SD library.

chegewara commented 3 years ago

The PR has been merged to arduino-esp32 master branch now.