Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotImplementedError: Board not supported #69

Closed
Dmole opened this issue Dec 29, 2018 · 3 comments
Closed

NotImplementedError: Board not supported #69

Dmole opened this issue Dec 29, 2018 · 3 comments
Assignees

Comments

@Dmole
Copy link

Dmole commented Dec 29, 2018

elif detector.board.any_raspberry_pi_40_pin:

>>> board_id
'RASPBERRY_PI_B_REV1'
>>> detector.board.any_raspberry_pi_40_pin
False
>>> detector.board.any_raspberry_pi
True
@brennen
Copy link
Contributor

brennen commented Dec 29, 2018

a pi model b revision 1 isn't a 40-pin model, so that output seems correct. we're in the process of adding support for those boards, which should land once tested. apologies for any interim brokenness.

@brennen brennen closed this as completed Dec 29, 2018
@brennen brennen self-assigned this Dec 29, 2018
@Dmole
Copy link
Author

Dmole commented Dec 29, 2018

Using the 40 pin values worked in my case... there is only one variable (D27) that is on the 40 pin only; https://github.com/adafruit/Adafruit_Blinka/blob/master/src/adafruit_blinka/board/raspi_40pin.py

Looks like it's only used in one place;
https://github.com/search?q=org%3Aadafruit+raspi_40pin&type=Code

So here is a PR;
#71

@ladyada
Copy link
Member

ladyada commented Dec 30, 2018

hiya try the 1.1.0 version of this library and Adafruit-PlatformDetect v0.0.8, it should now work with raspi 1's!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants