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

MicroPython: Switch module to builtin. #26

Merged
merged 1 commit into from
Oct 20, 2021
Merged

MicroPython: Switch module to builtin. #26

merged 1 commit into from
Oct 20, 2021

Conversation

Gadgetoid
Copy link
Member

HACK: Use a tweaked MicroPython source to include all module functions as builtins.

Eliminate the requirement for "from picosystem import *".

MUCH faster access to methods which are now allocated on the QSTR module pool.

  • Remove all functions from the "picosystem" module.
  • Remove "STATIC" from all function definitions- allow them to be access by MPY build.
  • Update CI to target experimental/picosystem branch of MicroPython

HACK: Use a tweaked MicroPython source to include all module functions as builtins.

Eliminate the requirement for "from picosystem import *".

MUCH faster access to methods which are now allocated on the QSTR module pool.

* Remove all functions from the "picosystem" module.
* Remove "STATIC" from all function definitions- allow them to be access by MPY build.
* Update CI to target experimental/picosystem branch of MicroPython
@Gadgetoid Gadgetoid merged commit 5e6a0d6 into main Oct 20, 2021
@Gadgetoid Gadgetoid deleted the feature/builtin branch November 1, 2021 09:39
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