Currently it's possible to remove only files. https://docs.rs/embedded-sdmmc/0.8.1/embedded_sdmmc/struct.Directory.html#method.delete_file_in_dir We are missing a way to allow of directory deletion.