Skip to content
Permalink
Browse files

samples: shields: x_nucleo_iks01a1

Fix "arduino_i2c not found" issue, similar to #13708
Add arduino interfaces in dts to board nrf52_10040

Signed-off-by: Aaron Tsui <aaron.tsui@outlook.com>
  • Loading branch information...
overheat authored and nashif committed Feb 28, 2019
1 parent 714c8ff commit fbd6a7521de94c7cbca06548e5221ee905907d46
Showing with 3 additions and 3 deletions.
  1. +3 −3 boards/arm/nrf52_pca10040/nrf52_pca10040.dts
@@ -88,7 +88,7 @@
status ="ok";
};

&uart0 {
arduino_serial: &uart0 {
status = "ok";
compatible = "nordic,nrf-uart";
current-speed = <115200>;
@@ -98,7 +98,7 @@
cts-pin = <7>;
};

&i2c0 {
arduino_i2c: &i2c0 {
status = "ok";
sda-pin = <26>;
scl-pin = <27>;
@@ -125,7 +125,7 @@
miso-pin = <25>;
};

&spi1 {
arduino_spi: &spi1 {
status = "ok";
sck-pin = <31>;
mosi-pin = <30>;

0 comments on commit fbd6a75

Please sign in to comment.
You can’t perform that action at this time.