From 8debe10cd22ed6dfaccbe7156d53cc772ee3db79 Mon Sep 17 00:00:00 2001 From: "Jianting (Meco) Man" <920369182@qq.com> Date: Tue, 12 Oct 2021 10:35:37 -0500 Subject: [PATCH] feat add support for rt-thread RTOS (#2660) --- SConscript | 11 +++++++++++ docs/CHANGELOG.md | 3 ++- rt-thread/SConscript | 15 +++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 SConscript create mode 100644 rt-thread/SConscript diff --git a/SConscript b/SConscript new file mode 100644 index 000000000..841579ed8 --- /dev/null +++ b/SConscript @@ -0,0 +1,11 @@ +# RT-Thread building script for bridge + +import os +from building import * + +objs = [] +cwd = GetCurrentDir() + +objs = objs + SConscript(cwd + '/rt-thread/SConscript') + +Return('objs') diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index c94c3a82a..c73ebfbb8 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -42,6 +42,7 @@ - feat(event) add add LV_EVENT_CHILD_CREATED/DELETED - feat(disp): Enable rendering to display subsection - feat(keyboard): add user-defined modes +- Add support for RT-Thread RTOS ## v8.0.2 (16.07.2021) - fix(theme) improve button focus of keyboard @@ -269,7 +270,7 @@ v8 is a major change and therefore it's not backward compatible with v7. - feat(img_cache) allow disabling image caching - calendar: make get_day_of_week() public - Added support for Zephyr integration - + ### Bugfixes - fix(draw_rect) free buffer used for arabic processing - fix(win) arabic process the title of the window diff --git a/rt-thread/SConscript b/rt-thread/SConscript new file mode 100644 index 000000000..4c815c49b --- /dev/null +++ b/rt-thread/SConscript @@ -0,0 +1,15 @@ +# RT-Thread building script for bridge + +import os +from building import * + +cwd = GetCurrentDir() +objs = [] +list = os.listdir(cwd) + +for d in list: + path = os.path.join(cwd, d) + if os.path.isfile(os.path.join(path, 'SConscript')): + objs = objs + SConscript(os.path.join(d, 'SConscript')) + +Return('objs')