Installing BLINKA in MicroPython Pico

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Nicolebendo
 
Posts: 11
Joined: Wed May 11, 2022 6:32 am

Installing BLINKA in MicroPython Pico

Post by Nicolebendo »

Hi, as I am following the tutorial to install CircuitPython Libraries on MicroPython using the Raspberry Pi Pico (https://learn.adafruit.com/circuitpytho ... -libraries), i cannot find the file adafruit_blinka/microcontroller/rp2040.py on the latest Blinka from the link in the tutorial.

Moreover, I cannot even upload the file "Adafruit_Blinka-7.3.0\src\adafruit_blinka\microcontroller\rp2040" (which by the way only containes i2c.py, pin.py, spi.py, __init__.py, uart.py). It gets me the error:

RuntimeError: Could not open file /lib/adafruit_blinka/microcontroller/rp2040/__init__.py for writing, output:
[Errno 2] ENOENT

Thanks for the help :)

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

Re: Installing BLINKA in MicroPython Pico

Post by neradoc »

Hi, what are you using to upload the files ?
__init__.py is empty (it's needed for the setup script to know it's a module, but it's not needed otherwise)
And I believe it's possible that some tools have an issue with uploading empty files.

User avatar
Nicolebendo
 
Posts: 11
Joined: Wed May 11, 2022 6:32 am

Re: Installing BLINKA in MicroPython Pico

Post by Nicolebendo »

I'm using the "Files" section of Thonny

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

Return to “Adafruit CircuitPython”