Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add PocketBeagle 2 autodetection.
I'm not sure how to handle multi-line EEPROM IDs when the library only checks the first 16 bytes. Instead, I added lines 372-374 in board.py
Testing Results below:
(blinka-env) debian@sierra:~/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: AM625X Board id: BEAGLEBONE_POCKETBEAGLE_2 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? True 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 MilkV board? False Is this a Luckfox Pico board? False Is this a generic Linux PC? False Is this an OS environment variable special case? False