adafruit / Adafruit_Blinka

Add CircuitPython hardware API and libraries to MicroPython & CPython devices
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux
MIT License
457 stars 348 forks source link

Maker Pi RP 2040 not supported. #876

Closed GitbyteMaster closed 3 months ago

GitbyteMaster commented 3 months ago

I'd noticed that my board, a Maker Pi RP 2040 is not being recognized by Adafruit-PlatformDetect. I'm working on a Mac laptop, which registers as 'Darwin'. PlatformDetect is on version 3.72.1, which I found to be the latest version I could install. Here is my error. Python is on 3.11.4.

raceback (most recent call last):
  File "/Volumes/CIRCUITPY/WPILib/WPILib.py", line 1, in <module> 
    import board as _board
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/board.py", line 433, in <module>
    raise NotImplementedError(
NotImplementedError: 
        Adafruit-PlatformDetect version 3.72.1 was unable to identify the board and/or
        microcontroller running the Darwin platform. Please be sure you
        have the latest packages by running:
        'pip3 install --upgrade adafruit-blinka adafruit-platformdetect'

        If you are running the latest package, your board may not yet be supported. Please
        open a New Issue on GitHub at https://github.com/adafruit/Adafruit_Blinka/issues and
        select New Board Request. # What led me here.
anecdata commented 3 months ago

Blinka is not needed. You can run CircuitPython directly on the board: https://circuitpython.org/board/cytron_maker_pi_rp2040/

GitbyteMaster commented 3 months ago

Oh. Alright.

anecdata commented 3 months ago

Additional resource here: https://github.com/CytronTechnologies/MAKER-PI-RP2040

GitbyteMaster commented 3 months ago

Alright, thank you.