arch(driver): new driver architecture with new color format support
This commit is contained in:
@@ -144,7 +144,7 @@ See the [Porting](/porting/display) section to learn more.
|
||||
|
||||
### LVGL doesn't start, randomly crashes or nothing is drawn on the display. What can be the problem?
|
||||
- Try increasing `LV_MEM_SIZE`.
|
||||
- Be sure `lv_disp_drv_t`, `lv_indev_drv_t` and `lv_fs_drv_t` are global or `static`.
|
||||
- Be sure `lv_disp_t`, `lv_indev_t` and `lv_fs_drv_t` are global or `static`.
|
||||
- Be sure your display works without LVGL. E.g. paint it to red on start up.
|
||||
- Enable [Logging](porting/log)
|
||||
- Enable asserts in `lv_conf.h` (`LV_USE_ASSERT_...`)
|
||||
@@ -200,7 +200,7 @@ Probably LVGL's color format is not compatible with your display's color format.
|
||||
### How to reduce flash/ROM usage?
|
||||
You can disable all the unused features (such as animations, file system, GPU etc.) and object types in *lv_conf.h*.
|
||||
|
||||
If you are using GCC/CLANG you can add `-fdata-sections -ffunction-sections` compiler flags and `--gc-sections` linker flag to remove unused functions and variables from the final binary. If possible, add the `-flto` compiler flag to enable link-time-optimisation together with `-Os` for GCC or `-Oz` for CLANG.
|
||||
If you are using GCC/CLANG you can add `-fdata-sections -ffunction-sections` compiler flags and `--gc-sections` linker flag to remove unused functions and variables from the final binary. If possible, add the `-flto` compiler flag to enable link-time-optimisation together with `-Os` for GCC or `-Oz` for CLANG.
|
||||
|
||||
### How to reduce the RAM usage
|
||||
- Lower the size of the *Display buffer*
|
||||
|
||||
Reference in New Issue
Block a user