Tests description

Note

This page has been autogenerated from a Protoplaster tests definition file.

To perform hardware/BSP tests the open-source Protoplaster framework has been used.

Running Protoplaster runs the tests described in the following sections:

I2C devices tests

This module provides tests dedicated to i2c devices on specific buses:

Parameters

bus: int, required

SMBus I2C interface

devices: list[i2c.__I2C_Device], required

List of I2C devices

__I2C_Device

(type with attributes defined below)

name: str

Name of I2C device

address: int

Address of I2C device

Tests

test_addresses

detection test:

  • check for device name on address address

Camera sensor tests

This module provides tests dedicated to V4L devices on specific video node: device: /dev/video0

Parameters

camera_name: str, required

Camera sensor name

device: str, required

Video device

driver_name: str, required

Video driver name

save_file: str

Output file for frame test

Tests

test_device_name

check if the camera sensor name is camera_name: vivid

test_driver_name

check if the camera sensor driver name is driver_name: vivid

test_frame

try to capture frame

Camera sensor tests

This module provides tests dedicated to V4L devices on specific video node: device: /dev/video2

Parameters

camera_name: str, required

Camera sensor name

device: str, required

Video device

driver_name: str, required

Video driver name

save_file: str

Output file for frame test

Tests

test_device_name

check if the camera sensor name is camera_name: vivid

test_driver_name

check if the camera sensor driver name is driver_name: vivid

test_frame

try to capture frame and store it to file save_file: frame.raw


Last update: 2026-06-10