Brennen Bearnes
dde79b9a3b
Merge pull request #5 from adafruit/pi_1_revision_detect
WIP: first pass at switching up pi 1 revision detection
6 years ago
Brennen Bearnes
205604ed2b
first pass at switching up pi 1 revision detection
6 years ago
Brennen Bearnes
9be743c8a7
try again with pylint wildcard; add docstrings to some board properties
6 years ago
Brennen Bearnes
65e02b565e
travis: correct source path
6 years ago
Brennen Bearnes
1fab768146
add .travis.yml
6 years ago
Sahaj Sarup
8339fbfb1e
add 96Boards DragonBoard410c
- We use /proc/device-tree/compatible and /proc/device-tree/model
to detect chip and board
- created get_dt_compatible_field to read said file and compare string
- added dragonboard410c as an example
Signed-off-by: Sahaj Sarup <sahaj.sarup@linaro.org>
6 years ago
Brennen Bearnes
732bef2abf
missing a _
6 years ago
Limor "Ladyada" Fried
ed3a4ffa75
Merge pull request #4 from adafruit/linux_detect
add board.any_linux
6 years ago
Brennen Bearnes
5a49af6b5c
s/any_linux/any_embedded_linux/
6 years ago
Brennen Bearnes
bb8e6982cf
Merge pull request #3 from adafruit/40pin
add 40-pin raspberry pi detection
6 years ago
Brennen Bearnes
3ccd25d886
add any_linux property check to bin/detect.py
6 years ago
Brennen Bearnes
ea389eebb0
spacing fix
6 years ago
Brennen Bearnes
f34a779b75
board.{any_beaglebone,any_linux,any_orange_pi}
Also deletes any_raspberry_pi_2_or_3, renames some constants.
6 years ago
Brennen Bearnes
5df844bc97
call correct 40pin property in detect.py
6 years ago
Brennen Bearnes
ffaf56ceb6
add 40-pin raspberry pi detection
6 years ago
Limor "Ladyada" Fried
a97afcd8e4
Merge pull request #1 from adafruit/missing_pi3b_code
add a missing pi revision code: a02082 for 3B
6 years ago
Brennen Bearnes
59f2dc5fad
add a missing pi revision code: a02082 for 3B
6 years ago
Brennen Bearnes
45bde4ee77
add a real README.rst
6 years ago
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.
6 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.
6 years ago
Brennen Bearnes
aca915f8c5
beaglebone board id detection from eeprom (maybe)
6 years ago
Brennen Bearnes
0d7e823fd3
add beaglebone board id dictionary and id constants
6 years ago
Brennen Bearnes
5c82d8a394
add __getattr__ to chip to mirror board interface
6 years ago
Brennen Bearnes
3bbe4d07f1
tweak getattr docstring
6 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.
6 years ago
Brennen Bearnes
672713699e
add ANY_RASPBERRY_PI_2_OR_3, SUN8I, NODEMCU constants
6 years ago
Brennen Bearnes
a4f2b22990
add feather huzzah, feather m0 express, pyboard to board names
6 years ago
ladyada
f9609d6bfa
get orangepipc detected
6 years ago
ladyada
ce4de73533
we should redo minnowboard, remove for now
6 years ago
ladyada
e52b082a73
sun8i detect
6 years ago
ladyada
a511100bae
single lines, and match multi-word chips like "Allwinner sun8i Family"
6 years ago
Brennen Bearnes
5409e9e722
beaglebone & armbian detection
6 years ago
Brennen Bearnes
686bc57a28
working pi detection, stub out Chip a bit further
6 years ago
Brennen Bearnes
32dffc8a58
add .gitignore
6 years ago
Brennen Bearnes
27bd8190f8
add Chip and Board, move to @property access for boards
6 years ago
Brennen Bearnes
5db120c984
stub out pi detection
6 years ago
Brennen Bearnes
0b994dcdd3
initial commit
6 years ago