From 60139e27fa9aee4b327f826b577824903f87ab15 Mon Sep 17 00:00:00 2001 From: "Man, Jianting (Meco)" <920369182@qq.com> Date: Mon, 11 Jul 2022 08:23:41 -0400 Subject: [PATCH] fix(rt-thread): thread align to 8 bytes (#3467) --- env_support/rt-thread/lv_rt_thread_port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env_support/rt-thread/lv_rt_thread_port.c b/env_support/rt-thread/lv_rt_thread_port.c index 97027f08a..98a1439b5 100644 --- a/env_support/rt-thread/lv_rt_thread_port.c +++ b/env_support/rt-thread/lv_rt_thread_port.c @@ -31,7 +31,7 @@ extern void lv_port_indev_init(void); extern void lv_user_gui_init(void); static struct rt_thread lvgl_thread; -static rt_uint8_t lvgl_thread_stack[PKG_LVGL_THREAD_STACK_SIZE]; +static ALIGN(8) rt_uint8_t lvgl_thread_stack[PKG_LVGL_THREAD_STACK_SIZE]; #if LV_USE_LOG static void lv_rt_log(const char *buf)