SimpleCore helper board extensions.

BoardExtensions#

class BoardExtensions()

Physical board related functions.

reboot#

@staticmethod
def reboot(testcase)

Reboot the board and wait for the boot to complete.

Arguments:

  • testcase - reference to the testcase instance

intel_platform_detect#

@staticmethod
def intel_platform_detect(testcase) -> str

Returns the detected Intel platform

Arguments:

  • testcase - reference to the testcase instance

Returns:

  • str - AL (for Apollo Lake) or EL (Elkhard Lake) or UNKNOWN (if can’t be detected)

detect_input#

@staticmethod
def detect_input(testcase) -> str

Returns the detected input

Arguments:

  • testcase - reference to the testcase instance

Returns:

  • str - LVDS TOUCHSCREEN or HDMI TOUCHSCREEN or HDMI MOUSE or UNKNOWN (if can’t be detected)

get_display_size#

@staticmethod
def get_display_size(testcase) -> str

Return the size of the display

Arguments:

  • testcase - reference to the testcase instance

Returns:

  • str - size of the display