testing
This commit is contained in:
23
boards/nucleo_g474re.overlay
Normal file
23
boards/nucleo_g474re.overlay
Normal file
@@ -0,0 +1,23 @@
|
||||
/ {
|
||||
aliases {
|
||||
/* alias used by DT_ALIAS(led0) in app code */
|
||||
led0 = &ld2;
|
||||
};
|
||||
|
||||
/* simple gpio-leds node */
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
ld2: led_0 {
|
||||
gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>; /* LD2 -> PA5 */
|
||||
label = "LD2";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&gpioa {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpioc {
|
||||
status = "okay";
|
||||
};
|
||||
Reference in New Issue
Block a user