pbio/protocol: add new flag for MicroPython MPY v6.3#326
Merged
Conversation
Since updating to MicroPython v1.25, the MPY minor version has changed. This only affects people using native code in their user programs.
37c09b7 to
ddb5cfc
Compare
dlech
commented
Jul 11, 2025
| #define PBSYS_CONFIG_FEATURE_BUILTIN_USER_PROGRAM_IMU_CALIBRATION (0) | ||
| #define PBSYS_CONFIG_FEATURE_PROGRAM_FORMAT_MULTI_MPY_V6 (1) | ||
| #define PBSYS_CONFIG_FEATURE_PROGRAM_FORMAT_MULTI_MPY_V6_1_NATIVE (0) | ||
| #define PBSYS_CONFIG_FEATURE_PROGRAM_FORMAT_MULTI_MPY_V6_3_NATIVE (0) |
Member
Author
There was a problem hiding this comment.
Actually, this should be enabled on EV3 since it has PYBRICKS_OPT_NATIVE_MOD (1).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since updating to MicroPython v1.25, the MPY minor version has changed. This only affects people using native code in their user programs.
I overlooked this in #313.
It would be nice to pull this info from the micropython config instead of having to remember to keep these options in sync.