Skip to content

Commit 47339d4

Browse files
committed
make a settings.toml file on boards that support the feature
1 parent 1fe05cb commit 47339d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

supervisor/shared/filesystem.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ bool filesystem_init(bool create_allowed, bool force_create) {
129129
make_empty_file(&vfs_fat->fatfs, "/.metadata_never_index");
130130
make_empty_file(&vfs_fat->fatfs, "/.Trashes");
131131
make_empty_file(&vfs_fat->fatfs, "/.fseventsd/no_log");
132+
#if CIRCUITPY_ENVIRON
133+
make_empty_file(&vfs_fat->fatfs, "/settings.toml");
134+
#endif
132135
// make a sample code.py file
133136
make_sample_code_file(&vfs_fat->fatfs);
134137

0 commit comments

Comments
 (0)