fix(draw): fix the default draw thread stack is too large (#5951)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com> Signed-off-by: FASTSHIFT <vifextech@foxmail.com> Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
12
Kconfig
12
Kconfig
@@ -183,6 +183,13 @@ menu "LVGL configuration"
|
||||
it is buffered into a "simple" layer before rendering. The widget can be buffered in smaller chunks.
|
||||
"Transformed layers" (if `transform_angle/zoom` are set) use larger buffers and can't be drawn in chunks.
|
||||
|
||||
config LV_DRAW_THREAD_STACK_SIZE
|
||||
int "Stack size of draw thread in bytes"
|
||||
default 8192
|
||||
depends on LV_USE_OS > 0
|
||||
help
|
||||
If FreeType or ThorVG is enabled, it is recommended to set it to 32KB or more.
|
||||
|
||||
config LV_USE_DRAW_SW
|
||||
bool "Enable software rendering"
|
||||
default y
|
||||
@@ -197,11 +204,6 @@ menu "LVGL configuration"
|
||||
> 1 requires an operating system enabled in `LV_USE_OS`
|
||||
> 1 means multiply threads will render the screen in parallel
|
||||
|
||||
config LV_DRAW_THREAD_STACKSIZE
|
||||
int "stack size of draw thread in byte"
|
||||
default 32768
|
||||
depends on LV_USE_OS > 0
|
||||
|
||||
config LV_USE_DRAW_ARM2D_SYNC
|
||||
bool "Enable Arm's 2D image processing library (Arm-2D) for all Cortex-M processors"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user