Hi,
I have just purchased a Adafruit Feather RP2040 and Pico
I loaded up latest Circuit Python 7x. and tried to use mpy libraries, all showed up as wrong version.
Do mpy's work with the above?
Or should use py files?
Please advise.
Kind Regards Michael
Adafruit Feather RP2040 and mpy libraries
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dastels
- Posts: 15831
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Adafruit Feather RP2040 and mpy libraries
Yes, they work with all boards. MPYs are hardware independent. They do have to match the version of CircuitPython you have. So for 7.x.x of CircuuitPython you'll need to use the 7.X bundle from https://circuitpython.org/libraries. The CircuitPython runtime (i.e. the UF2) IS hardware dependant. Be sure you have the one for your board.
Dave
Dave
- neradoc
- Posts: 542
- Joined: Wed Apr 27, 2016 2:38 pm
Re: Adafruit Feather RP2040 and mpy libraries
Hi, you might be hitting a bug in the current bundle, please try using the previous release:
https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/tag/20220614
https://github.com/adafruit/Adafruit_CircuitPython_Bundle/releases/tag/20220614
- Whimick
- Posts: 109
- Joined: Tue Jan 15, 2019 8:42 am
Re: Adafruit Feather RP2040 and mpy libraries
Hi, should the version you suggest work, or should go back a few more weeks and those mpy's
Michael
Michael
- neradoc
- Posts: 542
- Joined: Wed Apr 27, 2016 2:38 pm
Re: Adafruit Feather RP2040 and mpy libraries
The bug is fixed now, please try the latest bundle, and replace all the libraries on the board (deleting them all first is the easiest way to avoid forgetting one).
https://circuitpython.org/libraries
https://circuitpython.org/libraries
Please be positive and constructive with your questions and comments.