Browse Source

boards: nice_nano: Fix i2c usage.

* change conflicting pins usage for uart.
* use i2c0 properly instead.
xmkb
Pete Johanson 4 years ago
parent
commit
c45dbe3c8f
  1. 6
      app/boards/arm/nice_nano/arduino_pro_micro_pins.dtsi
  2. 8
      app/boards/arm/nice_nano/nice_nano.dts

6
app/boards/arm/nice_nano/arduino_pro_micro_pins.dtsi

@ -47,6 +47,6 @@
}; };
}; };
pro_micro_i2c: &i2c1 {}; pro_micro_i2c: &i2c0 {};
pro_micro_spi: &spi1 {}; pro_micro_spi: &spi0 {};
pro_micro_serial: &uart1 {}; pro_micro_serial: &uart0 {};

8
app/boards/arm/nice_nano/nice_nano.dts

@ -66,10 +66,10 @@
compatible = "nordic,nrf-uarte"; compatible = "nordic,nrf-uarte";
status = "okay"; status = "okay";
current-speed = <115200>; current-speed = <115200>;
tx-pin = <20>; tx-pin = <39>;
rx-pin = <24>; rx-pin = <34>;
rts-pin = <17>; rts-pin = <33>;
cts-pin = <22>; cts-pin = <12>;
}; };
&usbd { &usbd {

Loading…
Cancel
Save