Update PikaTech.PikaScript.xml

This commit is contained in:
Gabriel Wang 2022-08-30 13:39:56 +01:00
parent 56c5027b48
commit 7c36526382

View File

@ -172,8 +172,15 @@
<component Cgroup="PikaScript" Csub="PikaStdLib" Cversion="@VERSION" condition="Kernel">
<description>The standard library for PikaScript</description>
<files>
<Pre_Include_Local_Component_h>
#include "RTE_Components.h"
#if !((defined(LV_USE_PIKASCRITP_BINDING) && LV_USE_PIKASCRITP_BINDING) || (defined(PIKA_USE_LVGL_BINDING) && PIKA_USE_LVGL_BINDING))
# define PIKA_MODULE_PIKA_LVGL_DISABLE 1
#endif
</Pre_Include_Local_Component_h>
@LIB
<file attr="config" category="sourceC" name="__pikaBindingLVGLDefault.c" version="@LVGL_VERSION" />
</files>
</component>
@ -181,6 +188,13 @@
<description>The lvgl module for PikaScript</description>
<files>
@LVGL_LIB
<RTE_Components_h>
/*! \brief enable PikaScrit Binding */
#define PIKA_USE_LVGL_BINDING 1
</RTE_Components_h>
</files>
</component>