Load and write blocks of 512 direct to sd card M5Core2

  • Is it possible to read/write blocks of 512 bytes direct to the sd card?
    This without using the M5Stack filesystem.
    I know with the SDFat.h library it is possible, there are commands for readBlock(block,buffer) and writeBlock(block, buffer), and buffer is defined as
    byte buffer[512].
    But I get not compiled this library under my Core2.
    Appreciatie any help with this.