Repository navigation
Expand file tree
/
Copy pathexample_settings.toml
More file actions
47 lines (40 loc) · 1.98 KB
/
Copy pathexample_settings.toml
File metadata and controls
47 lines (40 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# example_settings.toml
# ---------------------------------------------------------------------
# Copy this file to settings.toml and fill in your real values.
# settings.toml is gitignored and must NEVER be committed.
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# Wi-Fi networks
#
# wifi_connection.py tries networks in priority order and (by default)
# only attempts SSIDs it can actually see in a scan. You can use EITHER
# of the two styles below, or both together.
# ---------------------------------------------------------------------
# Style 1 -- single network using CircuitPython's built-in variables.
# This is treated as priority 0 (tried first).
CIRCUITPY_WIFI_SSID = "MyHomeNetwork"
CIRCUITPY_WIFI_PASSWORD = "changeme"
# Style 2 -- multiple networks, tried in numeric order (priority 1, 2, ...).
# Supports WIFI_SSID0 / WIFI_PASSWORD0 through WIFI_SSID9 / WIFI_PASSWORD9.
# Handy for a board that roams between home, a workshop, and a phone hotspot.
WIFI_SSID0 = "OtherHomeNetwork"
WIFI_PASSWORD0 = "changeme"
WIFI_SSID1 = "MyPhoneHotspot"
WIFI_PASSWORD1 = "changeme"
# WIFI_SSID2 = "Workshop-2G"
# WIFI_PASSWORD2 = "changeme"
# ... up to WIFI_SSID9 / WIFI_PASSWORD9
# ---------------------------------------------------------------------
# Board identity
#
# Used by repl.py / board_inventory.py to name the board. Resolution
# order is CIRCUITPY_WIFI_HOSTNAME, then CIRCUITPY_WEB_INSTANCE_NAME,
# then the chip UID as a last resort.
# ---------------------------------------------------------------------
CIRCUITPY_WIFI_HOSTNAME = "feather-garage"
CIRCUITPY_WEB_INSTANCE_NAME = "feather-garage"
# ---------------------------------------------------------------------
# CircuitPython web workflow (optional)
# Enables the browser-based editor / REPL over Wi-Fi. Leave unset to disable.
# ---------------------------------------------------------------------
CIRCUITPY_WEB_API_PASSWORD = "changeme"