Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- └─❯ git diff
- diff --git a/variants/arduino_mkrzero/arduino_mkrzero.overlay b/variants/arduino_mkrzero/arduino_mkrzero.overlay
- index 57f281c..2209c8f 100644
- --- a/variants/arduino_mkrzero/arduino_mkrzero.overlay
- +++ b/variants/arduino_mkrzero/arduino_mkrzero.overlay
- @@ -27,5 +27,6 @@
- d19_gpios = <&arduino_mkr_header 19 0>; /* D19 / A5 / I2C-SCL */
- d20_gpios = <&arduino_mkr_header 20 0>;
- d21_gpios = <&arduino_mkr_header 21 0>;
- + led0_gpio = <&arduino_mkr_header 22 0>;
- };
- };
- diff --git a/variants/arduino_mkrzero/arduino_mkrzero_pinmap.h b/variants/arduino_mkrzero/arduino_mkrzero_pinmap.h
- index 6875cab..12b48c5 100644
- --- a/variants/arduino_mkrzero/arduino_mkrzero_pinmap.h
- +++ b/variants/arduino_mkrzero/arduino_mkrzero_pinmap.h
- @@ -55,6 +55,8 @@ static struct gpio_dt_spec d20 =
- GPIO_DT_SPEC_GET(DT_PATH(zephyr_user), d20_gpios);
- static struct gpio_dt_spec d21 =
- GPIO_DT_SPEC_GET(DT_PATH(zephyr_user), d21_gpios);
- +static struct gpio_dt_spec led0_gpio =
- + GPIO_DT_SPEC_GET(DT_PATH(zephyr_user), led0_gpio);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement