Skip to content

Provide mpy cross files#37

Merged
brainelectronics merged 9 commits into
mainfrom
feature/provide-mpy-cross-files
May 4, 2026
Merged

Provide mpy cross files#37
brainelectronics merged 9 commits into
mainfrom
feature/provide-mpy-cross-files

Conversation

@brainelectronics
Copy link
Copy Markdown
Owner

This change adds mpy cross compiled *.mpy files based on MicroPython 1.27.0 to the be_upy_blink directory. These files are listed in package_mpy.json and can be installed via

import mip
mip.install("github:brainelectronics/micropython-package-template/package_mpy.json")

The pre-commit hook mpy-cross is generating the latest *.mpy files of the be_upy_blink directory. If new .mpy files are created or change by this hook, the hook will raise an error.
The pre-commit hook upy-package-mpy is added to verify the package_mpy.json file list is up to date.

This closes #36

@brainelectronics brainelectronics self-assigned this May 1, 2026
@brainelectronics brainelectronics added documentation Improvements or additions to documentation enhancement New feature or request labels May 1, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 1, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (01a7f59) to head (c46439f).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           11        11           
  Branches         1         1           
=========================================
  Hits            11        11           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Owner Author

@brainelectronics brainelectronics left a comment

Choose a reason for hiding this comment

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

Finally LGTMyself

@brainelectronics brainelectronics merged commit 3cba753 into main May 4, 2026
7 checks passed
@brainelectronics brainelectronics deleted the feature/provide-mpy-cross-files branch May 4, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add example for mpy-cross

2 participants