Skip to content
Permalink
Browse files

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>
  • Loading branch information...
chtavares592 authored and nashif committed Jul 10, 2019
1 parent 0aa796c commit f59af49472696e1626429f76148f26be87e577e1
Showing with 8 additions and 4 deletions.
  1. +4 −4 samples/gui/lvgl/README.rst
  2. +4 −0 samples/gui/lvgl/nrf52840_pca10056.overlay
@@ -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 {

0 comments on commit f59af49

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