Skip to content

Commit 8f9fb96

Browse files
authored
Merge pull request lvgl#248 from lvgl/kisvegabor-patch-1
Minor updates in the README
2 parents 0b51387 + edbd93e commit 8f9fb96

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

README.md

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
11
# LVGL project for ESP32
22

33
This is an ESP32 demo project showcasing LVGL v7 with support for several display controllers and touch controllers.
4-
The demo application is the demo_widgets project from the [lv_examples](https://github.com/lvgl/lv_examples) repository.
4+
The demo application is the `lv_demo_widgets` project from the [lv_examples](https://github.com/lvgl/lv_examples) repository.
55

6-
Version of LVGL used: 7.9.
7-
Version of lv_examples used: 7.9.
6+
- Version of LVGL used: 7.9.
7+
- Version of lv_examples used: 7.9.
88

9-
Notes:
10-
11-
[Use LVGL in your ESP-IDF project](#Use-LVGL-in-your-ESP-IDF-project)
12-
13-
[Use lvgl_esp32_drivers in your project](#Use-lvgl_esp32_drivers-in-your-project)
14-
15-
[Platformio support](#Platformio-support)
9+
#### Table of content
10+
- [Get started](#get-started)
11+
- [Use LVGL in your ESP-IDF project](#use-lvgl-in-your-esp-idf-project)
12+
- [Use lvgl_esp32_drivers in your project](#use-lvgl_esp32_drivers-in-your-project)
13+
- [Platformio support](#platformio-support)
1614

1715
Example demo for TFT displays:
1816

19-
![Example GUI_DEMO](images/new_photo.jpg)
17+
![Example GUI_DEMO with ESP32 using LVGL](images/new_photo.jpg)
2018

2119
Monochrome support:
2220

23-
![Example_mono](images/new_mono.jpg)
21+
![Example_monochrome demo with ESP32 using LVGL](images/new_mono.jpg)
2422

25-
# Display and touch controllers
23+
## Display and touch controllers
2624

2725
The display and touch (indev) controllers are now into it's own repository, you can find it [here](https://github.com/lvgl/lvgl_esp32_drivers).
2826
To report any issue or add new display or touch (indev) drivers you can do so in the `lvgl_esp32_drivers` repo.
@@ -36,13 +34,13 @@ To report any issue or add new display or touch (indev) drivers you can do so in
3634
### Note
3735

3836
This project tries to be compatible with both the ESP-IDF v3.x and v4.0, but using v4.0 is recommended.
39-
Instructions assume you are using the v4.x toolchain, otherwise use the make commands, eg instead of running `idf.py menuconfig`, run `make menuconfig`.
37+
Instructions assume you are using the v4.x toolchain, otherwise use the make commands, e.g. instead of running `idf.py menuconfig`, run `make menuconfig`.
4038

4139
### Build and run the demo.
4240

4341
1. Clone this project by `git clone --recurse-submodules https://github.com/lvgl/lv_port_esp32.git`, this will pull this repo and its submodules.
4442

45-
2. Get into the `lv_port_esp32` directory created.
43+
2. Get into the created `lv_port_esp32` directory.
4644

4745
3. Run `idf.py menuconfig`
4846

@@ -54,26 +52,24 @@ Instructions assume you are using the v4.x toolchain, otherwise use the make com
5452

5553
7. Build the project with `idf.py build`
5654

57-
8. If the build don't throw any errors, flash the demo with `idf.py -p (YOUR SERIAL PORT) flash` (with make this is just `make flash` - in 3.x PORT is configured in `menuconfig`)
55+
8. If the build don't throw any errors, flash the demo with `idf.py -p (YOUR SERIAL PORT) flash` (with `make` this is just `make flash` - in 3.x PORT is configured in `menuconfig`)
5856

5957
## Use LVGL in your ESP-IDF project
6058

6159
LVGL now includes a Kconfig file which is used to configure most of the LVGL configuration options via menuconfig, so it's not necessary to use a custom `lv_conf.h` file.
6260

6361
It is recommended to add LVGL as a submodule in your IDF project's git repo.
6462

65-
From your project root directory:
66-
63+
From your project's root directory:
6764
1. Create a directory named `components` (if you don't have one already) with `mkdir -p components`.
6865
2. Clone the lvgl repository inside the `components` directory with `git submodule add https://github.com/lvgl/lvgl.git components/lvgl`
6966
3. Run `idf.py menuconfig`, go to `Component config` then `LVGL configuration` to configure LVGL.
7067

7168
## Use lvgl_esp32_drivers in your project
7269

73-
It is recommended to add lvgl_esp32_drivers as a submodule in your IDF project's git repo.
74-
75-
From your project root directory:
70+
It is recommended to add [lvgl_esp32_drivers](https://github.com/lvgl/lvgl_esp32_drivers) as a submodule in your IDF project's git repo.
7671

72+
From your project's root directory:
7773
1. Create a directory named `components` (if you don't have one already) with `mkdir -p components`.
7874
2. Clone the lvgl_esp32_drivers repository inside the `components` directory with `git submodule add https://github.com/lvgl/lvgl_esp32_drivers.git components/lvgl_esp32_drivers`
7975
3. Run `idf.py menuconfig`, go to `Component config` then `LVGL TFT configuration` and `LVGL TFT Display configuration` to configure lvgl_esp32_drivers.

0 commit comments

Comments
 (0)