Commit graph

9 commits

Author SHA1 Message Date
Brennen Bearnes
5a49af6b5c s/any_linux/any_embedded_linux/ 2018-12-20 16:38:03 -07:00
Brennen Bearnes
3ccd25d886 add any_linux property check to bin/detect.py 2018-12-20 16:23:49 -07:00
Brennen Bearnes
ffaf56ceb6 add 40-pin raspberry pi detection 2018-12-20 12:17:00 -07:00
Brennen Bearnes
534776a825 add tweaks for pylint; detect (some) generic linux systems; rename class
Main wrapper class is now `Detector`, which is more noun-y than verb-y.

Added GENERIC_X86 and GENERIC_LINUX_PC to chip and board, respectively.

Made pylint happier.
2018-12-13 14:12:14 -07:00
Brennen Bearnes
7d2e0c830a fix a couple of bugs in beaglebone detection; tested for BBB
...unfortunately, requires root as-written, which probably makes
this a lot less useful.
2018-12-12 14:10:49 -07:00
Brennen Bearnes
aca915f8c5 beaglebone board id detection from eeprom (maybe) 2018-12-12 12:15:53 -07:00
Brennen Bearnes
0c491f95a2 refactor board detection to dependent on chip; simplify getattr checking
Per feedback here and elsewhere:

https://forum.armbian.com/topic/8981-adafruit-circuitpython/?tab=comments#comment-67633

There's still plenty to be done here, but this is cleaner than it was.

Also makes some names more consistent, and uses uppercase string values for id
constants.
2018-12-11 14:25:36 -07:00
Brennen Bearnes
5409e9e722 beaglebone & armbian detection 2018-12-05 15:31:30 -07:00
Brennen Bearnes
686bc57a28 working pi detection, stub out Chip a bit further 2018-12-04 17:20:17 -07:00