In order to support back-to-back readings, it's required that the RTIO workq threads priority is higher than the caller issuing the back-to-back requests, otherwise the requests will fail as P4WQ won't have the opportunity to clear the is_done semaphore, and the subsequent request will be rejected. Signed-off-by: Luis Ubieda <luisf@croxel.com>
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
common:
|
|
tags:
|
|
- drivers
|
|
- sensors
|
|
platform_allow:
|
|
- native_posix
|
|
- native_sim
|
|
integration_platforms:
|
|
- native_sim
|
|
build_only: true
|
|
tests:
|
|
sensors.build.sensorhub:
|
|
extra_args: OVERLAY_CONFIG=sensors_shub.conf;sensors_die_temp.conf
|
|
sensors.build.trigger.own:
|
|
extra_args: OVERLAY_CONFIG=sensors_trigger_own.conf;sensors_die_temp.conf
|
|
sensors.build.trigger.global:
|
|
extra_args: OVERLAY_CONFIG=sensors_trigger_global.conf;sensors_die_temp.conf
|
|
sensors.build.trigger.none:
|
|
extra_args: OVERLAY_CONFIG=sensors_trigger_none.conf;sensors_die_temp.conf
|
|
sensors.build.no_default:
|
|
extra_args: OVERLAY_CONFIG=sensors_no_default.conf
|
|
sensors.build:
|
|
tags: sensors
|
|
extra_args: OVERLAY_CONFIG=sensors_die_temp.conf
|
|
extra_configs:
|
|
- CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
sensors.build.pm:
|
|
extra_configs:
|
|
- CONFIG_PM=y
|
|
- CONFIG_PM_DEVICE=y
|
|
- CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
sensors.generic_test:
|
|
build_only: false
|
|
extra_configs:
|
|
- CONFIG_GENERIC_SENSOR_TEST=y
|
|
- CONFIG_ZTEST=y
|
|
- CONFIG_ZTEST_THREAD_PRIORITY=1
|
|
- CONFIG_EMUL=y
|
|
- CONFIG_NATIVE_UART_0_ON_STDINOUT=y
|
|
- CONFIG_SENSOR_ASYNC_API=y
|