Skip to content

Commit 9ada047

Browse files
besmarshcfriedt
authored andcommitted
boards: st: nucleo_c071rb: Add pull-up to user button
The NUCLEO-C071RB user manual UM3353 states that "The PC13 I/O used for the user button must be set in INPUT, pull‑up". The board does not have an external pull-up fitted. Signed-off-by: Ben Marsh <[email protected]>
1 parent cc90cfe commit 9ada047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/st/nucleo_c071rb/nucleo_c071rb.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
user_button: button {
5050
label = "user button";
51-
gpios = <&gpioc 13 GPIO_ACTIVE_LOW>;
51+
gpios = <&gpioc 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
5252
status = "okay";
5353
zephyr,code = <INPUT_KEY_0>;
5454
};

0 commit comments

Comments
 (0)