samples: gui: lvgl: fix the nRF52840 pins to run sample

this commit correct the #17460 issue

Signed-off-by: Christian Tavares <christian.tavares@ossystems.com.br>
This commit is contained in:
Christian Tavares 2019-07-10 17:43:20 -03:00 committed by Anas Nashif
parent 0aa796cbaa
commit f59af49472
2 changed files with 8 additions and 4 deletions

View File

@ -40,17 +40,17 @@ Adafruit TFT display.
| | nrf52840 | | Adafruit TFT |
| | Pin | | Pin |
+=============+================+
| P0.27 | SCK |
| P1.15 | SCK |
+-------------+----------------+
| P0.31 | D/C |
+-------------+----------------+
| P0.30 | RST |
+-------------+----------------+
| P0.26 | MOSI |
| P1.13 | MOSI |
+-------------+----------------+
| P0.29 | MISO |
| P1.14 | MISO |
+-------------+----------------+
| P0.4 | NSS |
| P0.4 | CS |
+-------------+----------------+
Building and Running

View File

@ -1,11 +1,15 @@
/*
* Copyright (c) 2018 Jan Van Winkel <jan.van_winkel@dxplore.eu>
* Copyright (c) 2019 O.S.Systems
*
* SPDX-License-Identifier: Apache-2.0
*/
&spi1 {
status = "okay";
sck-pin = <47>;
mosi-pin = <45>;
miso-pin = <46>;
cs-gpios = <&gpio0 4 0>;
ili9340@0 {