fix(conf): make comment requirement explicit (#6248)
Signed-off-by: Cristian Stoica <cristianmarian.stoica@nxp.com>
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
#if LV_USE_DRAW_SW == 1
|
#if LV_USE_DRAW_SW == 1
|
||||||
/* Set the number of draw unit.
|
/* Set the number of draw unit.
|
||||||
* > 1 requires an operating system enabled in `LV_USE_OS`
|
* > 1 requires an operating system enabled in `LV_USE_OS`
|
||||||
* > 1 means multiply threads will render the screen in parallel */
|
* > 1 means multiple threads will render the screen in parallel */
|
||||||
#define LV_DRAW_SW_DRAW_UNIT_CNT 1
|
#define LV_DRAW_SW_DRAW_UNIT_CNT 1
|
||||||
|
|
||||||
/* Enable native helium assembly to be compiled */
|
/* Enable native helium assembly to be compiled */
|
||||||
|
|||||||
@@ -140,7 +140,7 @@
|
|||||||
|
|
||||||
/* Set the number of draw unit.
|
/* Set the number of draw unit.
|
||||||
* > 1 requires an operating system enabled in `LV_USE_OS`
|
* > 1 requires an operating system enabled in `LV_USE_OS`
|
||||||
* > 1 means multiply threads will render the screen in parallel */
|
* > 1 means multiple threads will render the screen in parallel */
|
||||||
#define LV_DRAW_SW_DRAW_UNIT_CNT 1
|
#define LV_DRAW_SW_DRAW_UNIT_CNT 1
|
||||||
|
|
||||||
/* Use Arm-2D to accelerate the sw render */
|
/* Use Arm-2D to accelerate the sw render */
|
||||||
|
|||||||
@@ -29,6 +29,10 @@
|
|||||||
#include LV_DRAW_SW_ASM_CUSTOM_INCLUDE
|
#include LV_DRAW_SW_ASM_CUSTOM_INCLUDE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if LV_DRAW_SW_DRAW_UNIT_CNT > 1 && LV_USE_OS == LV_OS_NONE
|
||||||
|
#error "OS support is required when more than one SW rendering units are enabled"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
* DEFINES
|
* DEFINES
|
||||||
*********************/
|
*********************/
|
||||||
|
|||||||
@@ -429,7 +429,7 @@
|
|||||||
|
|
||||||
/* Set the number of draw unit.
|
/* Set the number of draw unit.
|
||||||
* > 1 requires an operating system enabled in `LV_USE_OS`
|
* > 1 requires an operating system enabled in `LV_USE_OS`
|
||||||
* > 1 means multiply threads will render the screen in parallel */
|
* > 1 means multiple threads will render the screen in parallel */
|
||||||
#ifndef LV_DRAW_SW_DRAW_UNIT_CNT
|
#ifndef LV_DRAW_SW_DRAW_UNIT_CNT
|
||||||
#ifdef _LV_KCONFIG_PRESENT
|
#ifdef _LV_KCONFIG_PRESENT
|
||||||
#ifdef CONFIG_LV_DRAW_SW_DRAW_UNIT_CNT
|
#ifdef CONFIG_LV_DRAW_SW_DRAW_UNIT_CNT
|
||||||
|
|||||||
Reference in New Issue
Block a user