Comments (8)
Potential workaround:
from adafruit_blinka import agnostic agnostic.board_id = 'raspi_3'
from adafruit_blinka.
hiya we're doing a massive refactor like, this very hour :) check the PR's here and in platformdetect
adding odroid c1 detection to platformdetect is the best you can do now, while we rework this repo
https://github.com/adafruit/Adafruit_Python_PlatformDetect
from adafruit_blinka.
also, we dont recommend wiring pi - its ususally sysfs underneath, very very slow. we use libgpiod instead - its fast and supported in modern kernels :)
from adafruit_blinka.
Nice! btw, I got it to work on Odroid C1+ with the above hack. I am on an official Ubuntu image from Hardkernel. libgpiod
is indeed available on Odroids.
P.S. This is my robot(It used to run on a Pi3 but now I am migrating it to Odroid-C1+):
It has 2 DC motors and one Servo connected to the DC Motor HAT. The power comes from a Pololu 5V step down converter and 2x18650 cells.
from adafruit_blinka.
wow cool! yes it will work but its a bit of a hack if RPi.GPIO exists :) however there's some pinout differences and its best if we can properly detect it and make a correct 'map' of all the pins and functions - especially since htere's some cool stuff like ADC pins! and some pins have different names than RasPi
http://pi4j.com/pins/odroid-c1.html
could you start by adding detection to platform detect? we have one so we could help if you need assistance :)
https://github.com/adafruit/Adafruit_Python_PlatformDetect/
from adafruit_blinka.
I'll try to help. Yes, the pinout is slightly different and yes I use a RPi.GPIO port for odroid:
https://wiki.odroid.com/odroid-c1/application_note/gpio/rpi.gpio
So far it has worked for me.
from adafruit_blinka.
Made a PR to detect the Odroid C1/C2:
adafruit/Adafruit_Python_PlatformDetect#7
from adafruit_blinka.
Looks like this was merged! Thanks for contributing!
from adafruit_blinka.
Related Issues (20)
- Add board: BOARD=orangepi3-lts HOT 1
- ADD BANANAPI CM4 BOARD
- ADD BANANAPI CM4 BOARD SUPPORT
- DietPi - Error installing Adafruit-Blinka HOT 1
- any check scripts that should be performed before issuing a PR for adding a new board
- Adafruit-PlatformDetect version 3.66.0 was unable to identify the board HOT 3
- Cant find the board HOT 6
- Some microcontroller definitions may be incorrect.
- libgpiod_pin_1_x.py does not detect internal pulldowns HOT 1
- GT911 touch sensor support for Adafruit Blinka HOT 7
- adafruit-circuitpython-motor fails with "RuntimeError: Cannot determine SOC peripheral base address" on Raspberry Pi 5 HOT 12
- Adafruit-Adafruit-PlatformDetect version 3.69.0 was unable to identify the board HOT 13
- Adafruit-PlatformDetect version 3.69.0 was unable to identify the board HOT 2
- support for NXP i.MX 8M PLUS HOT 3
- pip try to install sysv-ipc on Windows HOT 26
- It is no longer possible to install from 8.44.0. HOT 4
- Getting error in WCMCU-200 I2c to USB Adapter
- Add New Board adafruit FT232H Breakout for adafruit-blinka HOT 3
- Add Orange Pi AIPro
- Remove dependency to numpy 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.