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: fix dts missing in some NXP platforms #85445

Merged
merged 2 commits into from
Feb 12, 2025
Merged
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
12 changes: 12 additions & 0 deletions samples/sensor/accel_trig/boards/mimxrt1040_evk.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2025 NXP
*/


&fxls8974 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New files need license/copyright headers

status = "okay";
int1-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
int2-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
};
11 changes: 11 additions & 0 deletions samples/sensor/accel_trig/boards/twr_ke18f.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*
* 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>;
};
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
Loading