Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.5k
py: Add LIBS_USERMOD to LIBS.#18352
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Conversation
github-actionsbot commentedOct 30, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Code size report: |
Thanks for the patch, adding But, the CI needs to be fixed before this PR can be merged. If you want to quickly get the |
This enables C++ modules to correctly postion -llinker flags at the end of the flags instead of atthe start. Updated the example C++ micropython.mkaccordingly.Signed-off-by: Dryw Wade <dryw.wade@sparkfun.com>
ea0c04f to7176acbCompareThanks! Pushed7176acb which should hopefully resolve that. I also unlinked this PR from#18351, as it's not a full solution to get C++ modules working on all ports when actually using |
codecovbot commentedNov 3, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## master #18352 +/- ##==========================================- Coverage 98.38% 98.38% -0.01%========================================== Files 171 171 Lines 22297 22294 -3 ==========================================- Hits 21936 21933 -3 Misses 361 361 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
https://github.com/micropython/micropython/actions/runs/19042775575/job/54383644049?pr=18352 Hmm... Testing on my end with After this PR, |
sfe-SparkFro commentedNov 3, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Ah, Would it be acceptable to simply add |
The unix and Windows ports use So I think the right solution here is to change the two instances of |
Same in ports/windows/Makefile to be consistentwith other ports. Resolves build error after7176acb.Signed-off-by: Dryw Wade <dryw.wade@sparkfun.com>
dbaa315 passes 🎉 |
Uh oh!
There was an error while loading.Please reload this page.
Summary
Progress towards#18351
This enables C++ modules to correctly postion
-llinker flags at the end of the flags instead of at the start. Updated the example C++micropython.mkaccordingly.Testing
Attempted to build firmware for a board that uses Make (eg.
stm32ormimxrt). Before this change, the linker could not find the symbols fromlibstdc++.a. After this change, those symbols were found.