Skip to content

Commit d09dd6d

Browse files
committed
Revert "supervisor: Put more info in settings.toml"
This reverts commit 02ddb3c.
1 parent 02ddb3c commit d09dd6d

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

supervisor/shared/filesystem.c

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -147,30 +147,7 @@ bool filesystem_init(bool create_allowed, bool force_create) {
147147
#endif
148148

149149
#if CIRCUITPY_OS_GETENV
150-
MAKE_FILE_WITH_OPTIONAL_CONTENTS(&vfs_fat->fatfs, "/settings.toml",
151-
"# Settings in this file can be retrieved via os.getenv()\n"
152-
"# Certain settings starting with CIRCUITPY_ are also used by CircuitPython.\n"
153-
"\n"
154-
"### Core settings\n"
155-
"# CIRCUITPY_HEAP_START_SIZE = 8192\n"
156-
"# CIRCUITPY_PYSTACK_SIZE = 1536\n"
157-
#if CIRCUITPY_WEB_WORKFLOW
158-
"\n"
159-
"### Wifi settings\n"
160-
"# CIRCUITPY_WIFI_SSID = \"wifi network name\"\n"
161-
"# CIRCUITPY_WIFI_PASSWORD = \"wifi password\"\n"
162-
"\n"
163-
"### Web workflow settings\n"
164-
"# CIRCUITPY_WEB_API_PASSWORD = \"api password\"\n"
165-
"# CIRCUITPY_WEB_API_PORT = 80\n"
166-
"# CIRCUITPY_WEB_INSTANCE_NAME = \"web instance name\"\n"
167-
#endif
168-
#if CIRCUITPY_BLEIO
169-
"\n"
170-
"### BLE settings\n"
171-
"# CIRCUITPY_BLE_NAME = \"ble device name\"\n"
172-
#endif
173-
);
150+
make_empty_file(&vfs_fat->fatfs, "/settings.toml");
174151
#endif
175152
// make a sample code.py file
176153
MAKE_FILE_WITH_OPTIONAL_CONTENTS(&vfs_fat->fatfs, "/code.py", "print(\"Hello World!\")\n");

0 commit comments

Comments
 (0)