Skip to content

Commit 48d3aef

Browse files
asmellbycfriedt
authored andcommitted
samples: basic: button: Disable led on xgm240 boards
Button 0 and LED 0 share a GPIO pin on xgm240 boards. Remove the `led0` alias in a board overlay to make the button sample work out of the box. Signed-off-by: Aksel Skauge Mellbye <[email protected]>
1 parent 3506523 commit 48d3aef

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
/* led0 interferes with sw0 since it uses the same pin */
10+
/delete-property/ led0;
11+
};
12+
};
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* Copyright (c) 2025 Silicon Laboratories Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
/* led0 interferes with sw0 since it uses the same pin */
10+
/delete-property/ led0;
11+
};
12+
};

0 commit comments

Comments
 (0)