Giter Club home page Giter Club logo

Comments (5)

ladyada avatar ladyada commented on July 21, 2024 1

thanks - i think we had some of the codes wrong. please try the latest platformdetect 0.0.11 - it should fix it! i'm going to close this but re-open if still an issue :)

from adafruit_blinka.

mariohoff avatar mariohoff commented on July 21, 2024

Somehow it can't get my board id.

>>> import adafruit_platformdetect
>>> detector = adafruit_platformdetect.Detector()
>>> detector.board.id
>>> detector.chip.id
'BCM2XXX'

Here is my cpuinfo. Looks like that this boardid is in the source files though. Not sure what is happening. I just hacked the board.py that it works for me. Still a strange thing though

pi@raspberrypi:~ $ cat /proc/cpuinfo
processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 697.95
Features	: half thumb fastmult vfp edsp java tls 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb76
CPU revision	: 7

Hardware	: BCM2835
Revision	: 1000010
Serial		: 000000004959c3a6

from adafruit_blinka.

mariohoff avatar mariohoff commented on July 21, 2024

Well that was fast. Works just fine. Thank you!
Just looked into that commit and it kinda made me smile. Well, those typos happen to all of us.

from adafruit_blinka.

ladyada avatar ladyada commented on July 21, 2024

:)

from adafruit_blinka.

punished-binji avatar punished-binji commented on July 21, 2024

Currenty getting this error for circuit python

Traceback (most recent call last):
File "/home/pi/Desktop/RelayControl.py", line 3, in
import board
File "/usr/local/lib/python3.7/dist-packages/board.py", line 166, in
raise NotImplementedError("Board not supported {}".format(board_id))
NotImplementedError: Board not supported None

/proc/cpuinfo

processor : 3
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

Hardware : BCM2835
Revision : a02042
Serial : 00000000e9cc5bf0
Model : Raspberry Pi 2 Model B Rev 1.2

detect.py output:

Chip id: BCM2XXX
Board id: None

Is this a DragonBoard 410c? False
Is this a Pi 3B+? False
Is this a Pi 4B? False
Is this a 40-pin Raspberry Pi? False
Is this a Raspberry Pi Compute Module? False
Is this a BeagleBone Black? False
Is this a BeagleBone Green? False
Is this a Giant Board? False
Is this a Coral Edge TPU? False
Is this a SiFive Unleashed? False
Is this a PYNQ Board? False
Is this a Rock Pi board? False
Is this a Clockwork Pi board? False
Is this an embedded Linux system? True
Is this a generic Linux PC? False
Is this a UDOO Bolt? False
Is this an ASUS Tinker Board? False
Is this an OS environment variable special case? False
Raspberry Pi detected.
ASUS Tinker Board device detected.

There is no TinkerBoard detected...
My platform detect is version 2.14.1

from adafruit_blinka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.