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:
parent
0aa796cbaa
commit
f59af49472
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue