Comments (3)
$ python3 bin/detect.py
Board Detection Test
Check that the Chip and Board IDs match your board and that this it is correctly detecting whether or not it is a Linux board.
Chip id:
RK3566
Board id: None
from adafruit_blinka.
I've followed https://learn.adafruit.com/adding-a-single-board-computer-to-platformdetect-for-blinka?view=all and now have detect.py working:
$ python3 ~/repos/Adafruit_Python_PlatformDetect/bin/detect.py
Board Detection Test
Check that the Chip and Board IDs match your board and that this it is
correctly detecting whether or not it is a Linux board.
Chip id: RK3566
Board id: ORANGE_PI_CM4
Linux Detection
Is this an embedded Linux system? True
Raspberry Pi Boards
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
Other Boards
Is this a Siemens Simatic IOT2000 Gateway? False
Is this a 96boards board? False
Is this a BeagleBone board? False
Is this a Giant board? False
Is this a Coral Dev board? False
Is this a MaaXBoard? False
Is this a SiFive board? False
Is this a PYNQ board? False
Is this a Rock Pi board? False
Is this a NanoPi board? False
Is this a Khadas VIM3 board? False
Is this a Clockwork Pi board? False
Is this a Seeed Board? False
Is this a UDOO board? False
Is this an ASUS Tinker board? False
Is this an STM32MP1 board? False
Is this a generic Linux PC? False
Is this an OS environment variable special case? False
Orange Pi detected.
from adafruit_blinka.
I'm now getting this error:
Traceback (most recent call last):
File "~/repos/geekworm/oled/monitor.py", line 4, in
import digitalio
File "/usr/local/lib/python3.11/dist-packages/digitalio.py", line 97, in
from adafruit_blinka.microcontroller.rockchip.rk3566.pin import Pin
File "/usr/local/lib/python3.11/dist-packages/adafruit_blinka/microcontroller/rockchip/rk3566/pin.py", line 182, in
if board in ("ODROID_M1S"):
^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'in ' requires string as left operand, not NoneType
Does this mean the scripts think the only board with an RK3566 is an ODROID_M1s? And since an Orange Pi CM4 has a different pin out the pin.py script fails? And if so, do I just need to add an "else if" exit for the OrangePi_CM4 & copy the RaspberryPi CM4 gpio pin out code block?
from adafruit_blinka.
Related Issues (20)
- board HOT 1
- Accessing digitalio CE0 results in a device busy error on Pi5 HOT 20
- RP2040 fails on valid UART pin combinations HOT 2
- AttributeError: pin instead of pin.id HOT 1
- NameError: name 'Pin' is not defined (ATOMIC PI) HOT 1
- Support for Feather M4 Express HOT 1
- Adafruit_CircuitPython_MCP2515 not working correctly
- Raspberry Pi 5 PWMOut needs updating to libgpiod HOT 1
- Requesting support for Geniatech xpi-3566-zero
- Is the Rock 4SE not supported? HOT 4
- UnexpectedMakers ProS3 HOT 3
- Issue with Adafruit-PlatformDetect on Windows
- SSD1306 is not working on a Raspberry Pi 5 HOT 7
- CE1 busy on Pi 5 HOT 1
- Banana Pi M2 Berry
- Adafruit-PlatformDetect version 3.60.0 was unable to identify the board HOT 13
- Please support RP2040-LCD-1.28 HOT 1
- adafruit HOT 2
- KB 2040 board HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_blinka.