diff --git a/env_support/rt-thread/SConscript b/env_support/rt-thread/SConscript index 396dc7591..56983c0a5 100644 --- a/env_support/rt-thread/SConscript +++ b/env_support/rt-thread/SConscript @@ -24,6 +24,7 @@ lvgl_cwd = cwd + '/../../' lvgl_src_cwd = lvgl_cwd + 'src/' inc = inc + [lvgl_src_cwd] +src = src + Glob(os.path.join(lvgl_src_cwd,'*.c')) for root, dirs, files in os.walk(lvgl_src_cwd): for dir in dirs: current_path = os.path.join(root, dir) diff --git a/env_support/rt-thread/lv_rt_thread_conf.h b/env_support/rt-thread/lv_rt_thread_conf.h index 7bd08c6e4..f1697cca3 100644 --- a/env_support/rt-thread/lv_rt_thread_conf.h +++ b/env_support/rt-thread/lv_rt_thread_conf.h @@ -13,8 +13,6 @@ #ifdef __RTTHREAD__ -#include - #define LV_RTTHREAD_INCLUDE #include LV_RTTHREAD_INCLUDE