Skip to content

Commit

Permalink
Add BrRestart
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hadinger committed Jul 6, 2023
1 parent fe225c5 commit d7913c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/Berry.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d7913c1

Please sign in to comment.