Skip to content

increase default PYSTACK size from 1536 to 2048#10236

Merged
dhalbert merged 1 commit into
adafruit:mainfrom
dhalbert:increase-pystack
Apr 9, 2025
Merged

increase default PYSTACK size from 1536 to 2048#10236
dhalbert merged 1 commit into
adafruit:mainfrom
dhalbert:increase-pystack

Conversation

@dhalbert

@dhalbert dhalbert commented Apr 8, 2025

Copy link
Copy Markdown
Collaborator

Increase default CIRCUITPY_PYSTACK_SIZE from 1536 to 2048, except on SAMD21. This fixes pystack-exhausted errors for several PyPortal projects, and doesn't use up too much RAM.

@dhalbert dhalbert requested review from FoamyGuy and tannewt April 8, 2025 16:47

@FoamyGuy FoamyGuy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested a build from this branch on PyPortal with the Cleveland art project and confirmed it is able to run with this version without having any stack size declared in settings.toml now.

@dhalbert dhalbert merged commit b508e41 into adafruit:main Apr 9, 2025
@dhalbert dhalbert deleted the increase-pystack branch April 9, 2025 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cleveland Art PyPortal Project Exhausts Pystack Increase default CIRCUITPY_PYSTACK_SIZE to at least 2048

2 participants