Adafruit Feather RP2040 and mpy libraries

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Whimick
 
Posts: 109
Joined: Tue Jan 15, 2019 8:42 am

Adafruit Feather RP2040 and mpy libraries

Post by Whimick »

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

User avatar
dastels
 
Posts: 15831
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit Feather RP2040 and mpy libraries

Post by dastels »

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

User avatar
neradoc
 
Posts: 542
Joined: Wed Apr 27, 2016 2:38 pm

Re: Adafruit Feather RP2040 and mpy libraries

Post by neradoc »

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

User avatar
Whimick
 
Posts: 109
Joined: Tue Jan 15, 2019 8:42 am

Re: Adafruit Feather RP2040 and mpy libraries

Post by Whimick »

Hi, should the version you suggest work, or should go back a few more weeks and those mpy's

Michael

User avatar
neradoc
 
Posts: 542
Joined: Wed Apr 27, 2016 2:38 pm

Re: Adafruit Feather RP2040 and mpy libraries

Post by neradoc »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”