Skip to content

Add Orange Pi 5 Plus to board detection #327

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

Closed
wants to merge 4 commits into from

Conversation

Barbarian-5215
Copy link
Contributor

Following existing patterns, I added logic to handle the new board. I verified the literal values with the /etc/armbian-release file.

Added a constant for ORANGE_PI_5_PLUS
Added detection of Orange Pi 5 Plus
@makermelissa
Copy link
Collaborator

It looks like you will need to add ORANGE_PI_5_PLUS as a constant to https://github.com/adafruit/Adafruit_Python_PlatformDetect/blob/main/adafruit_platformdetect/constants/boards.py

I would also check for "Orange Pi 5 Plus" before "Orange Pi 5" or else it will incorrectly be detected as ORANGE_PI_5.

Changed order of discovery, 5 plus, then 5.
Added literal definition for ORANGE_PI_5_PLUS
@Barbarian-5215
Copy link
Contributor Author

I made the needed changes in platform detect.

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