From 85804ed062456e75cbc38ef3d81278042c6686c2 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Sun, 21 Apr 2024 20:32:20 -0600 Subject: [PATCH] overlays for nucleos. pushbutton mapped incorrectly :( --- app/boards/nucleo_h723zg.overlay | 16 ++++++++++++++++ app/boards/nucleo_h743zi.overlay | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 app/boards/nucleo_h723zg.overlay create mode 100644 app/boards/nucleo_h743zi.overlay diff --git a/app/boards/nucleo_h723zg.overlay b/app/boards/nucleo_h723zg.overlay new file mode 100644 index 0000000..5213eb3 --- /dev/null +++ b/app/boards/nucleo_h723zg.overlay @@ -0,0 +1,16 @@ +/ { + example_sensor: example-sensor { + compatible = "zephyr,example-sensor"; + input-gpios = <&gpioc 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; + }; + + blink_led: blink-led { + compatible = "blink-gpio-led"; + led-gpios = <&gpioe 1 GPIO_ACTIVE_HIGH>; + blink-period-ms = <1000>; + }; +}; + +&gpioc { + status = "okay"; +}; diff --git a/app/boards/nucleo_h743zi.overlay b/app/boards/nucleo_h743zi.overlay new file mode 100644 index 0000000..1342692 --- /dev/null +++ b/app/boards/nucleo_h743zi.overlay @@ -0,0 +1,16 @@ +/ { + example_sensor: example-sensor { + compatible = "zephyr,example-sensor"; + input-gpios = <&gpioc 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; + }; + + blink_led: blink-led { + compatible = "blink-gpio-led"; + led-gpios = <&gpiob 0 GPIO_ACTIVE_HIGH>; + blink-period-ms = <1000>; + }; +}; + +&gpioc { + status = "okay"; +};