]> Repositories - Adafruit_Blinka-hackapet.git/commit
Add P2_25 pin to fix error on PocketBeagle
authorDrew Fustini <drew@pdp7.com>
Sun, 31 Mar 2019 22:43:42 +0000 (23:43 +0100)
committerGitHub <noreply@github.com>
Sun, 31 Mar 2019 22:43:42 +0000 (23:43 +0100)
commit006d3af59f3e84b066dad65d4b4450d17e4c0e99
treea11b6274a0df8035e6648be1955bf8a0714e8190
parent9fceae3ffbdf68359e74edcf9f44912725f1efb1
Add P2_25 pin to fix error on PocketBeagle

Add P2_25 pin to fix error on PocketBeagle.  This is the error that occurs without this fix:
```
Traceback (most recent call last):
  File "examples/bbb_digitalio.py", line 10, in <module>
    import board
  File "/usr/local/lib/python3.5/dist-packages/Adafruit_Blinka-1.2.9.dev5+gcbfa2eb.d20190330-py3.5.egg/board.py", line 59, in <module>
    from adafruit_blinka.board.beaglebone_pocketbeagle import *
  File "/usr/local/lib/python3.5/dist-packages/Adafruit_Blinka-1.2.9.dev5+gcbfa2eb.d20190330-py3.5.egg/adafruit_blinka/board/beaglebone_pocketbeagle.py", line 114, in <module>
    MOSI_1 = pin.P2_25
AttributeError: module 'adafruit_blinka.microcontroller.am335x.pin' has no attribute 'P2_25'
```
Refer to comments in PR #101
src/adafruit_blinka/microcontroller/am335x/pin.py