Open Jailin opened 1 year ago
`esp_err_t registerSpiffs() { esp_vfs_spiffs_conf_t conf = { .base_path = "/spiffs", .partition_label = NULL, .max_files = 32, .format_if_mount_failed = false};
esp_err_t ret = esp_vfs_spiffs_register(&conf); ASSERT_ESP_OK(ret, "Failed to mount SPIFFS partition."); struct stat st; if (stat(ROM_LIST, &st) != 0) { printf("Cannot locate rom list in %s", ROM_LIST); } return ret;
}`
I'm continuing the project. I've already managed to compile it. I'm just making an error with images, but I'm almost solving it too. Follow the link: https://github.com/paulo101977/esp32_nesemu
`esp_err_t registerSpiffs() { esp_vfs_spiffs_conf_t conf = { .base_path = "/spiffs", .partition_label = NULL, .max_files = 32, .format_if_mount_failed = false};
}`