From 7ec01bbdbf6d4f3ca5c794adae6b80db91b377e8 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Wed, 16 Jul 2025 14:14:04 -0700 Subject: [PATCH 1/2] Add restart/reload note about env variables Fixes #10450 --- docs/environment.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/environment.rst b/docs/environment.rst index 442c340f1a4d4..0be942fdb5158 100644 --- a/docs/environment.rst +++ b/docs/environment.rst @@ -53,8 +53,9 @@ Details of the toml language subset CircuitPython behavior ---------------------- -CircuitPython will also read the environment to configure its behavior. Other -keys are ignored by CircuitPython. Here are the keys it uses: +CircuitPython will also read the environment to configure its behavior. Some keys are read at +startup once and others are read on reload. If a reload doesn't change things, then try a restart. +Other keys are ignored by CircuitPython. Here are the keys it uses: Core CircuitPython keys ^^^^^^^^^^^^^^^^^^^^^^^ From a7ebe3b6c7ef73a092da01eae9178076bf8a6c88 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Thu, 17 Jul 2025 13:16:49 -0700 Subject: [PATCH 2/2] restart -> reset --- docs/environment.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/environment.rst b/docs/environment.rst index 0be942fdb5158..b97820b3caf74 100644 --- a/docs/environment.rst +++ b/docs/environment.rst @@ -54,8 +54,9 @@ CircuitPython behavior ---------------------- CircuitPython will also read the environment to configure its behavior. Some keys are read at -startup once and others are read on reload. If a reload doesn't change things, then try a restart. -Other keys are ignored by CircuitPython. Here are the keys it uses: +startup once and others are read on reload (ctrl-D in the REPL). If a reload doesn't change things, +then try a reset (a power cycle or pressing the reset button). Other keys are ignored by CircuitPython. +Here are the keys it uses: Core CircuitPython keys ^^^^^^^^^^^^^^^^^^^^^^^