Skip to content

Add Orange Pi boards (One, Lite, PC +) #53

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

Merged
merged 3 commits into from
Jan 16, 2020

Conversation

yeyeto2788
Copy link
Contributor

Hey @makermelissa,

In the mean while I'm also doing this PR to add more Orange Pi board.

This is the output from the Orange Pi One:

root@orangepione:~/workspace/Adafruit_Python_PlatformDetect# python3
Python 3.7.3 (default, Apr  3 2019, 05:39:12) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import adafruit_platformdetect
>>> detector = adafruit_platformdetect.Detector()
>>> detector.board.id
'ORANGE_PI_ONE'
>>> detector.chip.id
'SUN8I'
>>> detector.board.
detector.board.any_96boards             detector.board.any_giant_board          detector.board.any_orange_pi            detector.board.any_raspberry_pi_cm      detector.board.ftdi_ft232h
detector.board.any_beaglebone           detector.board.any_jetson_board         detector.board.any_pine64_board         detector.board.any_sifive_board         detector.board.id
detector.board.any_coral_board          detector.board.any_odroid_40_pin        detector.board.any_raspberry_pi         detector.board.binho_nova               detector.board.microchip_mcp2221
detector.board.any_embedded_linux       detector.board.any_onion_omega_board    detector.board.any_raspberry_pi_40_pin  detector.board.detector                 
>>> detector.board.any_orange_pi
True
>>> detector.board.any_embedded_linux
True
>>>

I'll be testing the other boards soon.

Regards.

Copy link
Collaborator

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for adding.

@makermelissa makermelissa merged commit 73551a1 into adafruit:master Jan 16, 2020
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

Successfully merging this pull request may close these issues.

2 participants