From d7913c1428dd3f43fa8c631a4edd64306b107f46 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Thu, 6 Jul 2023 21:37:40 +0200 Subject: [PATCH] Add BrRestart --- docs/Berry.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/Berry.md b/docs/Berry.md index 8e496a3170..07bb0c57f9 100644 --- a/docs/Berry.md +++ b/docs/Berry.md @@ -101,6 +101,11 @@ Berry can autostart your scripts. See a short desciption in the Section about th https://tasmota.github.io/docs/UFS/#autoexecbe Your can use the Filemanager to edit or save files with your berry scripts. +## Iterate without rebooting +Since v13.0.0.1 you can restart the entire Berry VM with a click in the Berry console. This feature requires to compile with `#define USE_BERRY_DEBUG` which is anyways highly recommended when coding in Berry. Be aware that restarting the Berry VM loses all context, and may generate negative side effects that we haven't yet identified. When restarting the VM, `autoexec.be` is ran again. + +Instead of using the Web UI, you can also use the `BrRestart` command which does not require `#define USE_BERRY_DEBUG`. + ## Lights and Relays Berry provides complete support for Relays and Lights.