adafruit_platformdetect.board

Detect boards

  • Author(s): Melissa LeBlanc-Williams

Implementation Notes

Software and Dependencies:

  • Linux and Python 3.5 or Higher

class adafruit_platformdetect.board.Board(detector)

Attempt to detect specific boards.

property any_96boards

Check whether the current board is any 96boards board.

property any_asus_tinker_board

Check to see if the current board is an ASUS Tinker Board

property any_beaglebone

Check whether the current board is any Beaglebone-family system.

property any_clockwork_pi_board

Check whether the current board is any Clockwork Pi device.

property any_coral_board

Check whether the current board is any defined Coral.

property any_embedded_linux

Check whether the current board is any embedded Linux device.

property any_giant_board

Check whether the current board is any defined Giant Board.

property any_jetson_board

Check whether the current board is any defined Jetson Board.

property any_lubancat

Check whether the current board is any defined lubancat.

property any_nanopi

Check whether the current board is any defined Nano Pi.

property any_odroid_40_pin

Check whether the current board is any defined 40-pin Odroid.

property any_onion_omega_board

Check whether the current board is any defined OpenWRT board.

property any_orange_pi

Check whether the current board is any defined Orange Pi.

property any_pine64_board

Check whether the current board is any Pine64 device.

property any_pynq_board

Check whether the current board is any defined PYNQ Board.

property any_raspberry_pi

Check whether the current board is any Raspberry Pi.

property any_raspberry_pi_40_pin

Check whether the current board is any 40-pin Raspberry Pi.

property any_raspberry_pi_cm

Check whether the current board is any Compute Module Raspberry Pi.

property any_rock_pi_board

Check whether the current board is any Clockwork Pi device.

property any_sifive_board

Check whether the current board is any defined Jetson Board.

property any_stm32mp1

Check whether the current board is any stm32mp1 board.

property any_udoo_board

Check to see if the current board is an UDOO board

property binho_nova

Check whether the current board is an BINHO NOVA.

property ftdi_ft232h

Check whether the current board is an FTDI FT232H.

property greatfet_one

Check whether the current board is a GreatFET One.

property id

Return a unique id for the detected board, if any.

property microchip_mcp2221

Check whether the current board is a Microchip MCP2221.

adafruit_platformdetect.chip

Attempt detection of current chip / CPU

  • Author(s): Melissa LeBlanc-Williams

Implementation Notes

Software and Dependencies:

  • Linux and Python 3.5 or Higher

class adafruit_platformdetect.chip.Chip(detector)

Attempt detection of current chip / CPU.

property id

Return a unique id for the detected chip, if any.