mbed OS SDCard Driver for GR-PEACH.

Dependencies:   sd-driver-hs

Dependents:   mbed-os-storage-access GR-PEACH_Digital_Signage GR-PEACH-mbed-os-storage-access

You are viewing an older revision! See the latest version

Homepage

If you want to access at high speed, you need to change it as follows.

SDBlockDevice.h

    SDBlockDevice_GR_PEACH() : SDBlockDevice(P8_5, P8_6, P8_3, P8_4), _sd_cd(P7_8), _connect(false) {
        // Set SPI clock rate to 20MHz for data transfer
        // It is necessary to change "private" of "SDBlockDevice.h" to "pretected".
        _transfer_sck = 20000000;
    }

sd-driver/features/filesystem/sd/SDBlockDevice.h

private:
    int _cmd(int cmd, int arg);
    :
->
protected:
    int _cmd(int cmd, int arg);
    :

All wikipages