Commit graph

57 commits

Author SHA1 Message Date
yeyeto2788
a35117b822 Change detection of Onion Omega boards based on its 'cpu model' 2019-12-31 14:30:50 +01:00
yeyeto2788
7001c3b382 Addition of onion omega board running OpenWRT 2019-12-23 21:58:27 +01:00
Francis Guevarra
5f540e9ac7 Remove circular dependency with Blinka. Connection will be checked in blinka code already. 2019-12-02 18:53:10 -08:00
Francis Guevarra
ea802ab728 Fix Comparison expr is None check from pylint 2019-12-02 16:43:36 -08:00
Francis Guevarra
0a1c8ff2c7 Clean up and remove unused code 2019-12-02 15:52:54 -08:00
Francis Guevarra
6cde03a0da Merge branch 'master' of https://github.com/binhollc/Adafruit_Python_PlatformDetect 2019-12-02 15:46:45 -08:00
Francis Guevarra
50840337b7 Use binho connection singleton 2019-12-02 15:42:32 -08:00
Francis Guevarra
9c684461c2 set _binho only if BLINKA_NOVA env variable exists 2019-12-02 15:25:24 -08:00
Francis Guevarra
bf78cc6777 change board id to NOVA and fix issue with autodetect being called multiple times after there's already a binho object 2019-12-02 15:23:29 -08:00
Francis Guevarra
86c99316dc Use BLINKA_NOVA as env variable instead 2019-12-02 15:18:49 -08:00
Jonathan Georgino
0d67ae6fe4 Added support for Binho Nova Multi-Protocol USB Host Adapter 2019-12-02 15:15:41 -08:00
Francis Guevarra
d09621e521 Use binho connection singleton 2019-11-23 14:37:07 -08:00
caternuson
364069ac77 lint 2019-11-21 10:46:16 -08:00
caternuson
b79c2d5794 add MCP2221 2019-11-20 21:01:03 -08:00
Francis Guevarra
95e159f32d set _binho only if BLINKA_NOVA env variable exists 2019-11-19 18:04:27 -08:00
Francis Guevarra
903fc7851d change board id to NOVA and fix issue with autodetect being called multiple times after there's already a binho object 2019-11-17 22:27:20 -08:00
Francis Guevarra
2f3ffabd9f Use BLINKA_NOVA as env variable instead 2019-11-16 21:04:49 -08:00
Francis G
e6925ab257 Have Binho use its own try block 2019-11-16 20:49:25 -08:00
Jonathan Georgino
9690546c18 Added support for Binho Nova Multi-Protocol USB Host Adapter 2019-11-16 14:03:25 -08:00
caternuson
a88a9158ff lint 2019-09-17 18:31:40 -07:00
caternuson
65ab96440c change to pyftdi lib 2019-09-17 18:22:38 -07:00
paulcrawford
4309080c15
Update chip.py 2019-08-06 18:03:09 -04:00
Melissa LeBlanc-Williams
89a3bbed27 PR Changes made 2019-08-06 14:23:59 -07:00
paulcrawford
88265e07b3
Update chip.py 2019-08-04 16:52:20 -04:00
paulcrawford
fe2e986222
Update chip.py 2019-08-03 11:21:55 -04:00
paulcrawford
f30e22f1ff
Update chip.py 2019-08-03 09:43:38 -04:00
paulcrawford
1d7812b29b
Update chip.py 2019-08-02 17:37:56 -04:00
Alvaro Figueroa
fb80820bb2 Initial support for Sifive's HiFive Unleashed 2019-07-09 19:18:12 -06:00
Melissa LeBlanc-Williams
56bcd0374d Updated with newer boards 2019-06-13 16:01:30 -07:00
Melissa LeBlanc-Williams
0d5dd9eb49 Improved Odroid C2 Detection 2019-06-05 09:32:15 -07:00
ladyada
56fdb9ed21 lint 2019-05-11 23:03:25 -04:00
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 2019-05-11 22:49:53 -04:00
Andy
1c326b1bd0 added jetson nano 2019-03-25 14:58:00 -07:00
Andy
6e7f17a059 Updated hardware naming 2019-03-13 11:43:12 -07:00
ladyada
fb561271bf fix broken travis runs due to blinka not installing on the virtual linux 2019-03-12 00:49:26 -04:00
John Welsh
fcebb19bf2 added jetson chip and board detect 2019-03-08 11:27:33 -08:00
Christopher Alessandro
d209a3a544 Add support to detect SAMA5 chips and the Giant Board 2019-01-07 09:42:54 -07:00
Brennen Bearnes
dcdd646251 indentation fixes; correct linux_id return value 2018-12-28 18:42:34 -07:00
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.
2018-12-28 18:29:44 -07:00
Brennen Bearnes
9c861c637f Merge branch 'db410c' of https://github.com/ric96/Adafruit_Python_PlatformDetect into ric96-db410c
Additional fixes a syntax error and (I'm pretty sure) a logic bug.
2018-12-28 17:28:53 -07:00
ladyada
09a1fcc6bd change requests! 2018-12-26 14:38:13 -05:00
ladyada
41bf478b32 fix for https://github.com/adafruit/Adafruit_Blinka/issues/66#issuecomment-449881482 2018-12-25 19:42:24 -05:00
ladyada
b205e66c65 allow overriding of the platform detect 2018-12-25 17:17:48 -05:00
ladyada
3f3ae47a7d fix lint 2018-12-25 17:07:56 -05:00
ladyada
00a3d61df4 light lint 2018-12-25 14:08:43 -05:00
ladyada
8b500cabdb detect FT232H thru a combo of environment var & ftdi1 test 2018-12-25 03:33:27 -05:00
crazyquark
883642d019 initial support for ODROID C1/C2 2018-12-22 10:37:43 +00:00
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>
2018-12-21 16:10:42 +05:30
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