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

Migrate from MaixPy to MicroPython #39

Open
ghost opened this issue Oct 28, 2021 · 1 comment
Open

Migrate from MaixPy to MicroPython #39

ghost opened this issue Oct 28, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@ghost
Copy link

ghost commented Oct 28, 2021

Move away from Sipeed's custom MaixPy fork of MicroPython so that the project won't be so tightly tied to the M5StickV / M5Stack.

The longer-term goal here is to move Krux toward platform independence so that eventually it could run on any of MicroPython's supported architectures

EDIT: I think there are two ways to approach this: 1) add shims to ports to give them a "maixpy-like" set of modules that Krux can use, or 2) find a way to add shims to MaixPy so that Krux code can be rewritten to rely on standard micropython modules.

@ghost
Copy link
Author

ghost commented Aug 10, 2022

The Krux simulator was the first attempt at seeing what it would take to get Krux running on a different platform. The mocks necessary to achieve this can be found here: https://github.com/selfcustody/krux/tree/main/simulator/kruxsim/mocks

Note that these mocks were also for Micropython modules that are not found in Python 3, so the actual set of MaixPy-specific logic that would need to be ported is smaller.

EDIT: I should probably refer to these as "shims" in this context, even though they make use of Python's "mock" module...

@ghost ghost added enhancement New feature or request help wanted Extra attention is needed labels Aug 10, 2022
@ghost ghost mentioned this issue Aug 10, 2022
odudex added a commit that referenced this issue Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

0 participants