fix(rt-thread): fix compiler cannot find the lvgl/lvgl.h file with SquareLine (#3814)
This commit is contained in:
committed by
GitHub
parent
9f3bf8656d
commit
ea15573988
@@ -1,13 +1,10 @@
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
group = []
|
||||
src = []
|
||||
CPPPATH =[]
|
||||
src = ['lv_ui_entry.c']
|
||||
|
||||
src += Glob(cwd + '/ui/*.c')
|
||||
CPPPATH += [cwd+'/ui']
|
||||
|
||||
group = group + DefineGroup('LVGL-SquareLine', src, depend = ['PKG_USING_LVGL_SQUARELINE'], CPPPATH = CPPPATH)
|
||||
group = DefineGroup('LVGL-SquareLine', src, depend = ['PKG_USING_LVGL_SQUARELINE'])
|
||||
|
||||
Return('group')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2022, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
15
env_support/rt-thread/squareline/ui/lvgl/lvgl.h
Normal file
15
env_support/rt-thread/squareline/ui/lvgl/lvgl.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2022-11-20 Meco Man The first version
|
||||
*/
|
||||
|
||||
#ifdef __RTTHREAD__
|
||||
|
||||
#include "../../../../../lvgl.h" /* back to the root folder's lvgl.h */
|
||||
|
||||
#endif /* __RTTHREAD__ */
|
||||
Reference in New Issue
Block a user