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.

any_96boards

Check whether the current board is any 96boards board.

any_asus_tinker_board

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

any_beaglebone

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

any_clockwork_pi_board

Check whether the current board is any Clockwork Pi device.

any_coral_board

Check whether the current board is any defined Coral.

any_embedded_linux

Check whether the current board is any embedded Linux device.

any_giant_board

Check whether the current board is any defined Giant Board.

any_jetson_board

Check whether the current board is any defined Jetson Board.

any_odroid_40_pin

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

any_onion_omega_board

Check whether the current board is any defined OpenWRT board.

any_orange_pi

Check whether the current board is any defined Orange Pi.

any_pine64_board

Check whether the current board is any Pine64 device.

any_pynq_board

Check whether the current board is any defined PYNQ Board.

any_raspberry_pi

Check whether the current board is any Raspberry Pi.

any_raspberry_pi_40_pin

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

any_raspberry_pi_cm

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

any_rock_pi_board

Check whether the current board is any Clockwork Pi device.

any_sifive_board

Check whether the current board is any defined Jetson Board.

any_stm32mp1

Check whether the current board is any stm32mp1 board.

any_udoo_board

Check to see if the current board is an UDOO board

binho_nova

Check whether the current board is an BINHO NOVA.

ftdi_ft232h

Check whether the current board is an FTDI FT232H.

greatfet_one

Check whether the current board is a GreatFET One.

id

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

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.

id

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