You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The property supervisor.runtime.next_stack_limit replaces supervisor.set_next_stack_limit()
As a result of this change, the included boot.py produces the following error on startup:
Adafruit CircuitPython 8.0.0-beta.4 on 2022-10-30; WeAct Studio Pico with rp2040
Board ID:weact_studio_pico
UID:1262522004251630
boot.py output:
Traceback (most recent call last):
File "boot.py", line 3, in <module>
AttributeError: 'module' object has no attribute 'set_next_stack_limit'
It should be pretty straightforward to inspect the supervisor module to see whether or not it has the set_next_stack_limit() method and use that to determine which means to use to set the stack limit.
Alternatively, is setting the stack limit necessary? In http://kmkfw.io/docs/boot, the example modified boot.py doesn't include the stack size modification at all, and at least in my own experience, works just fine. Would it make more sense to remove it altogether?
The text was updated successfully, but these errors were encountered:
https://blog.adafruit.com/2022/10/20/circuitpython-8-0-0-beta-3-released/
As a result of this change, the included boot.py produces the following error on startup:
It should be pretty straightforward to inspect the supervisor module to see whether or not it has the
set_next_stack_limit()
method and use that to determine which means to use to set the stack limit.Alternatively, is setting the stack limit necessary? In http://kmkfw.io/docs/boot, the example modified boot.py doesn't include the stack size modification at all, and at least in my own experience, works just fine. Would it make more sense to remove it altogether?
The text was updated successfully, but these errors were encountered: