Skip to content

Commit cad1828

Browse files
committed
Variants: Changed OPTA built-in LED change to GREEN as well.
1 parent 79c2af0 commit cad1828

File tree

4 files changed

+2
-71
lines changed

4 files changed

+2
-71
lines changed

variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.overlay

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -540,23 +540,3 @@
540540
/* Include common flash filesystem configuration */
541541
qspi_flash: &n25q128a1 {};
542542
#include "../common/arduino_flash_fs.dtsi"
543-
544-
/ {
545-
zephyr,user {
546-
/* Override builtin LED GPIO to point to the green LED */
547-
builtin_led_gpios = <&gpioj 13 0>; /* Pin 13 on GPIOJ for Green LED, active-low */
548-
};
549-
550-
leds {
551-
compatible = "gpio-leds";
552-
red_led: led_0 {
553-
gpios = <&gpioi 12 GPIO_ACTIVE_LOW>; /* Red LED on GPIO pin 12 of GPIOI, active-low */
554-
};
555-
green_led: led_1 {
556-
gpios = <&gpioj 13 GPIO_ACTIVE_LOW>; /* Green LED on GPIO pin 13 of GPIOJ, active-low */
557-
};
558-
blue_led: led_2 {
559-
gpios = <&gpioe 3 GPIO_ACTIVE_LOW>; /* Blue LED on GPIO pin 3 of GPIOE, active-low */
560-
};
561-
};
562-
};

variants/arduino_opta_stm32h747xx_m7/arduino_opta_stm32h747xx_m7.overlay

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@
8686
<&gpiob 14 0>, /* Modbus DE */
8787
<&gpiob 13 0>; /* Modbus RE */
8888

89-
builtin-led-gpios = <&gpioe 5 0>,
90-
<&gpioh 12 0>,
89+
builtin-led-gpios = <&gpioh 12 0>,
90+
<&gpioe 5 0>,
9191
<&gpioh 11 0>;
9292

9393
adc-pin-gpios = <&gpioz 0 0>,

variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.overlay

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -302,29 +302,3 @@
302302
/* Include common flash filesystem configuration */
303303
qspi_flash: &at25sf128a {};
304304
#include "../common/arduino_flash_fs.dtsi"
305-
306-
/ {
307-
zephyr,user {
308-
/* Override builtin LED GPIO to point to the green LED (led2) */
309-
builtin_led_gpios = <&ioport4 0 0>; /* GPIO pin 0 on ioport4 (green LED) */
310-
};
311-
312-
leds {
313-
compatible = "gpio-leds";
314-
315-
led1: led1 {
316-
gpios = <&ioport1 7 GPIO_ACTIVE_LOW>; /* Red LED on GPIO pin 7 of ioport1, active-low */
317-
label = "LEDR"; /* Label changed to Red LED */
318-
};
319-
320-
led2: led2 {
321-
gpios = <&ioport4 0 GPIO_ACTIVE_LOW>; /* Green LED on GPIO pin 0 of ioport4, active-low */
322-
label = "LEDG"; /* Label changed to Green LED */
323-
};
324-
325-
led3: led3 {
326-
gpios = <&ioport8 0 GPIO_ACTIVE_LOW>; /* Blue LED on GPIO pin 0 of ioport8, active-low */
327-
label = "LEDB"; /* Label changed to Blue LED */
328-
};
329-
};
330-
};

variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.overlay

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -388,26 +388,3 @@ qspi_flash: &mx25l12833f {};
388388
<&adc1 13>; /* Hack for D20 */
389389
};
390390
};
391-
392-
/ {
393-
zephyr,user {
394-
/* Override builtin LED GPIO to point to the green LED */
395-
builtin_led_gpios = <&gpiok 6 0>; /* Pin 6 on GPIOK, active low */
396-
};
397-
398-
leds {
399-
compatible = "gpio-leds";
400-
401-
red_led: led_0 {
402-
gpios = <&gpiok 5 GPIO_ACTIVE_LOW>; /* Red LED on GPIO pin 5, active-low */
403-
};
404-
405-
green_led: led_1 {
406-
gpios = <&gpiok 6 GPIO_ACTIVE_LOW>; /* Green LED on GPIO pin 6, active-low */
407-
};
408-
409-
blue_led: led_2 {
410-
gpios = <&gpiok 7 GPIO_ACTIVE_LOW>; /* Blue LED on GPIO pin 7, active-low */
411-
};
412-
};
413-
};

0 commit comments

Comments
 (0)