Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples: sensor: enable sensor trigger #82912

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions samples/sensor/accel_trig/boards/frdm_k82f.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
2 changes: 2 additions & 0 deletions samples/sensor/accel_trig/boards/frdm_kl25z.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
2 changes: 2 additions & 0 deletions samples/sensor/accel_trig/boards/frdm_kw41z.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
1 change: 1 addition & 0 deletions samples/sensor/accel_trig/boards/frdm_mcxc242.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_FXLS8974_TRIGGER_OWN_THREAD=y
2 changes: 2 additions & 0 deletions samples/sensor/accel_trig/boards/lpcxpresso55s28.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
1 change: 1 addition & 0 deletions samples/sensor/accel_trig/boards/mimxrt1040_evk.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_FXLS8974_TRIGGER_OWN_THREAD=y
2 changes: 2 additions & 0 deletions samples/sensor/accel_trig/boards/mimxrt1050_evk.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# check the fxos8700 dts for this board for addition settings
#

CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# check the fxos8700 dts for this board for addition settings
#

CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
2 changes: 2 additions & 0 deletions samples/sensor/accel_trig/boards/twr_ke18f.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
2 changes: 2 additions & 0 deletions samples/sensor/accel_trig/boards/twr_kv58f220m.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
1 change: 1 addition & 0 deletions samples/sensor/accel_trig/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ tests:
tags: sensors
filter: dt_alias_exists("accel0")
harness_config:
fixture: fixture_sensor_accel_int
type: one_line
regex:
- "^\\s*[0-9A-Za-z_,+-.]*@[0-9A-Fa-f]* \\[m\/s\\^2\\]: \
Expand Down
1 change: 1 addition & 0 deletions samples/sensor/magn_trig/boards/frdm_k82f.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
1 change: 1 addition & 0 deletions samples/sensor/magn_trig/boards/frdm_kw41z.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
1 change: 1 addition & 0 deletions samples/sensor/magn_trig/boards/mimxrt1050_evk.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# check the fxos8700 dts for this board for addition settings
#

CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# check the fxos8700 dts for this board for addition settings
#

CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
CONFIG_FXOS8700_MODE_ACCEL=y
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
1 change: 1 addition & 0 deletions samples/sensor/magn_trig/boards/twr_ke18f.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
1 change: 1 addition & 0 deletions samples/sensor/magn_trig/boards/twr_kv58f220m.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_FXOS8700_TRIGGER_OWN_THREAD=y
1 change: 1 addition & 0 deletions samples/sensor/magn_trig/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ tests:
tags: sensors
filter: dt_alias_exists("magn0")
harness_config:
fixture: fixture_sensor_accel_int
type: one_line
regex:
- "^\\s*[0-9A-Za-z_,+-.]*@[0-9A-Fa-f]* \\(x, y, z\\): \
Expand Down
2 changes: 1 addition & 1 deletion scripts/pylib/twister/twisterlib/testinstance.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def check_runnable(self,

if hardware_map:
for h in hardware_map.duts:
if (h.platform == self.platform.name and
if (h.platform in self.platform.aliases and
self.testsuite_runnable(self.testsuite, h.fixtures)):
testsuite_runnable = True
break
Expand Down
Loading