make a settings.toml file on boards that support the feature

This commit is contained in:
Jeff Epler 2022-12-08 12:56:24 -06:00
parent 1fe05cb8cd
commit 47339d4248
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -129,6 +129,9 @@ bool filesystem_init(bool create_allowed, bool force_create) {
make_empty_file(&vfs_fat->fatfs, "/.metadata_never_index");
make_empty_file(&vfs_fat->fatfs, "/.Trashes");
make_empty_file(&vfs_fat->fatfs, "/.fseventsd/no_log");
#if CIRCUITPY_ENVIRON
make_empty_file(&vfs_fat->fatfs, "/settings.toml");
#endif
// make a sample code.py file
make_sample_code_file(&vfs_fat->fatfs);