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

Building for Pico #4

Open
tompinnacle opened this issue Feb 19, 2022 · 1 comment
Open

Building for Pico #4

tompinnacle opened this issue Feb 19, 2022 · 1 comment

Comments

@tompinnacle
Copy link

Afternoon

I'm trying to get a QR on a Pico and came across this. I've not really done a lot with MicroPython previously, but I'm struggling to figure out how to build MicroPython with this library included. Would someone be able to provide some pointers?

Tom

@tompinnacle
Copy link
Author

Think I might have figured it, well I didn't get an error.

On a Pi I git pulled MicroPython to ~/pico/MicroPython as outlined in the MicroPython doc on building it.

I then git pulled mpy-qr to ~/pico/mpy-pr

Then having followed the build instructions from the MicroPython doc for building for pico, but changed the final make to make USER_C_MODULES=../../../mpy-qr/

Finally I copied the resulting uf2 file to the Pico by putting it into boot select and copying it across.

The problem is, I'm not sure how to test it. If I try typing import upr at the >>> in Thonny connected to the Pico it say no module named 'upr'.

Tom

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

No branches or pull requests

1 participant