paulcrawford
4309080c15
Update chip.py
4 years ago
Melissa LeBlanc-Williams
89a3bbed27
PR Changes made
4 years ago
paulcrawford
88265e07b3
Update chip.py
4 years ago
paulcrawford
fe2e986222
Update chip.py
4 years ago
paulcrawford
f30e22f1ff
Update chip.py
4 years ago
paulcrawford
1d7812b29b
Update chip.py
4 years ago
Alvaro Figueroa
fb80820bb2
Initial support for Sifive's HiFive Unleashed
5 years ago
Melissa LeBlanc-Williams
0d5dd9eb49
Improved Odroid C2 Detection
5 years ago
ladyada
56fdb9ed21
lint
5 years ago
ladyada
b743d140c5
detect coral dev board chip: https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/sabre-development-system/evaluation-kit-for-the-i.mx-8m-applications-processor:MCIMX8M-EVK
5 years ago
Andy
1c326b1bd0
added jetson nano
5 years ago
Andy
6e7f17a059
Updated hardware naming
5 years ago
Andy
f5e99409d9
Updated hardware naming
5 years ago
ladyada
fb561271bf
fix broken travis runs due to blinka not installing on the virtual linux
5 years ago
John Welsh
fcebb19bf2
added jetson chip and board detect
5 years ago
Christopher Alessandro
d209a3a544
Add support to detect SAMA5 chips and the Giant Board
5 years ago
Brennen Bearnes
dcdd646251
indentation fixes; correct linux_id return value
5 years ago
Brennen Bearnes
f4712430e2
refactor 96boards detection
- Brings naming in line with existing conventions
- Replaces `_is_96Boards()` with an `any_96boards` property
- Renames `get_dt_compatible_field()` to `check_dt_compatible_value()`
to distinguish between returning a field's string value and a boolean
check on whether a value is present.
- Adds a 96Boards check to `bin/detect.py`.
This might still need some changes, and definitely needs tested on actual
96Boards hardware.
5 years ago
ladyada
09a1fcc6bd
change requests!
5 years ago
ladyada
41bf478b32
fix for https://github.com/adafruit/Adafruit_Blinka/issues/66#issuecomment-449881482
5 years ago
ladyada
b205e66c65
allow overriding of the platform detect
5 years ago
ladyada
3f3ae47a7d
fix lint
5 years ago
ladyada
00a3d61df4
light lint
5 years ago
ladyada
8b500cabdb
detect FT232H thru a combo of environment var & ftdi1 test
5 years ago
crazyquark
883642d019
initial support for ODROID C1/C2
5 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>
5 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.
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
5c82d8a394
add __getattr__ to chip to mirror board interface
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
ladyada
e52b082a73
sun8i detect
5 years ago
Brennen Bearnes
686bc57a28
working pi detection, stub out Chip a bit further
5 years ago
Brennen Bearnes
27bd8190f8
add Chip and Board, move to @property access for boards
5 years ago