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.
5 years ago
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.
5 years ago
Brennen Bearnes
aca915f8c5
beaglebone board id detection from eeprom (maybe)
5 years ago
Brennen Bearnes
0d7e823fd3
add beaglebone board id dictionary and id constants
5 years ago
Brennen Bearnes
5c82d8a394
add __getattr__ to chip to mirror board interface
5 years ago
Brennen Bearnes
3bbe4d07f1
tweak getattr docstring
5 years ago
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.
5 years ago
Brennen Bearnes
672713699e
add ANY_RASPBERRY_PI_2_OR_3, SUN8I, NODEMCU constants
5 years ago
Brennen Bearnes
a4f2b22990
add feather huzzah, feather m0 express, pyboard to board names
5 years ago
ladyada
f9609d6bfa
get orangepipc detected
5 years ago
ladyada
ce4de73533
we should redo minnowboard, remove for now
5 years ago
ladyada
e52b082a73
sun8i detect
5 years ago
ladyada
a511100bae
single lines, and match multi-word chips like "Allwinner sun8i Family"
5 years ago
Brennen Bearnes
5409e9e722
beaglebone & armbian detection
5 years ago
Brennen Bearnes
686bc57a28
working pi detection, stub out Chip a bit further
5 years ago
Brennen Bearnes
32dffc8a58
add .gitignore
5 years ago
Brennen Bearnes
27bd8190f8
add Chip and Board, move to @property access for boards
5 years ago
Brennen Bearnes
5db120c984
stub out pi detection
5 years ago
Brennen Bearnes
0b994dcdd3
initial commit
5 years ago