From aa56011092121f3da0546b25d8450965892a4aef Mon Sep 17 00:00:00 2001 From: HL <89998763+epichl25@users.noreply.github.com> Date: Fri, 26 Aug 2022 01:57:52 +0800 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 6915bb1..96ef012 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # STM32H7B3I-DK_LVGL + This repository contains the Light and Versatile Graphics Library (LVGL) port for the STM32H7B3I-DK development board. This project uses LVGL v8.3.1 @@ -17,3 +18,18 @@ git clone https://github.com/epichl25/STM32H7B3I-DK_LVGL.git 4. Import the project: File => Import => General => Existing Projects into Workspace => Browse => Select the "STM32H7B3I-DK_LVGL-main" folder => Finish 5. Build the project: Project => Build all 6. Upload the firmware to the development board: Run + + +## Update Information + +### 26.8.2022 +Two rendering methods are available. +#### 1. Simple +This method simply writes pixels one by one using loops. + +#### 2. dma2d +This method uses the dma2d hardware accelerator available on the development board to speed up the rendering performance. Compared to the "simple" method, the use of dma2d significantly improves its rendering performance. + +## How to change the rendering mode +Navigate to "hal_stm_lvgl/tft/tft.c" and change the defines for simple and dma2d to either "0" or "1". +Note: You should only enable one of the two.