Skip to content

Commit

Permalink
samples: magn_trig: fix the fixture name
Browse files Browse the repository at this point in the history
the fixture name shall align with applications

also update dts to support trig mode

fixes: #85444

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
  • Loading branch information
hakehuang authored and kartben committed Feb 12, 2025
1 parent 76a0608 commit 9dcef72
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions samples/sensor/magn_trig/boards/twr_ke18f.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2025 NXP
*/


&fxos8700 {
status = "okay";
int1-gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
int2-gpios = <&gpioa 17 GPIO_ACTIVE_LOW>;
};
2 changes: 1 addition & 1 deletion samples/sensor/magn_trig/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tests:
tags: sensors
filter: dt_alias_exists("magn0")
harness_config:
fixture: fixture_sensor_accel_int
fixture: fixture_sensor_magn_int
type: one_line
regex:
- "^\\s*[0-9A-Za-z_,+-.]*@[0-9A-Fa-f]* \\(x, y, z\\): \
Expand Down

0 comments on commit 9dcef72

Please sign in to comment.