Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIRCUITPY_FULL_BUILD now controls a few more features #10152

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dhalbert
Copy link
Collaborator

#10134 added PY_FUNCTION_ATTRS and PY_REVERSE_SPECIAL_METHODS to most of the mpconfigport.h files. It occurred to me that these should be controlled CIRCUITPY_FULL_BUILD (which is on by default), with some exceptions for "small" full builds on SAMD21.

So this refactors that change to circuitpy_mpconfig.h.

I also turned on MICROPY_PY_BUILTINS_NOTIMPLEMENTED more consistently.

I also went through the language-feature flags in py/mpconfig.h to see if there were new ones we had missed. I may open a sort of "notes" issue about that later.

Testing in draft mode first to see how the sizes work out.

@dhalbert dhalbert force-pushed the use-full-build-for-some-features branch from 9f80a58 to df33271 Compare March 20, 2025 01:50
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.

1 participant