Skip to content

Commit

Permalink
Remove supervisor stack limit from boot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xs5871 committed Feb 11, 2023
1 parent 638d64a commit 705d3eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions boot.py 100755 → 100644
@@ -1,3 +0,0 @@
import supervisor

supervisor.set_next_stack_limit(4096 + 4096)
4 changes: 1 addition & 3 deletions docs/en/flashing.md
Expand Up @@ -9,9 +9,7 @@ Linux).
Given `make` and `rsync` are available on your system (in `$PATH`), the
following will copy the `kmk` tree to your CircuitPython device, and will copy
the file defined as `USER_KEYMAP` as your `main.py`. It will also copy our
`boot.py`, which allocates a larger stack size (simply - more of the device's
RAM will be available to KMK and your keyboard config) than CircuitPython's
default. If any of these files exist on your CircuitPython device already, they
`boot.py`. If any of these files exist on your CircuitPython device already, they
will be overwritten without a prompt.

If you get permissions errors here, **don't run make as root or with sudo**. See
Expand Down

0 comments on commit 705d3eb

Please sign in to comment.