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"; +};