Brennen Bearnes
5df844bc97
call correct 40pin property in detect.py
2018-12-20 12:29:06 -07:00
Brennen Bearnes
ffaf56ceb6
add 40-pin raspberry pi detection
2018-12-20 12:17:00 -07:00
Limor "Ladyada" Fried
a97afcd8e4
Merge pull request #1 from adafruit/missing_pi3b_code
...
add a missing pi revision code: a02082 for 3B
2018-12-17 22:31:44 -08:00
Brennen Bearnes
59f2dc5fad
add a missing pi revision code: a02082 for 3B
2018-12-17 22:43:45 -07:00
Brennen Bearnes
45bde4ee77
add a real README.rst
2018-12-13 15:22:37 -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
0d7e823fd3
add beaglebone board id dictionary and id constants
2018-12-11 18:30:17 -07:00
Brennen Bearnes
5c82d8a394
add __getattr__ to chip to mirror board interface
2018-12-11 15:33:18 -07:00
Brennen Bearnes
3bbe4d07f1
tweak getattr docstring
2018-12-11 14:32:00 -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
672713699e
add ANY_RASPBERRY_PI_2_OR_3, SUN8I, NODEMCU constants
2018-12-09 22:14:26 -07:00
Brennen Bearnes
a4f2b22990
add feather huzzah, feather m0 express, pyboard to board names
2018-12-09 20:57:24 -07:00
ladyada
f9609d6bfa
get orangepipc detected
2018-12-09 13:49:55 -05:00
ladyada
ce4de73533
we should redo minnowboard, remove for now
2018-12-09 13:29:14 -05:00
ladyada
e52b082a73
sun8i detect
2018-12-09 13:27:47 -05:00
ladyada
a511100bae
single lines, and match multi-word chips like "Allwinner sun8i Family"
2018-12-09 13:14:09 -05: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
Brennen Bearnes
32dffc8a58
add .gitignore
2018-12-04 15:39:28 -07:00
Brennen Bearnes
27bd8190f8
add Chip and Board, move to @property access for boards
2018-12-04 15:10:42 -07:00
Brennen Bearnes
5db120c984
stub out pi detection
2018-12-04 10:07:30 -07:00
Brennen Bearnes
0b994dcdd3
initial commit
2018-12-03 23:26:33 -07:00