Fix tests for edu-riscv64 textbook and edu-arm32 textbook

This commit is contained in:
wgzAIIT
2023-08-23 18:17:04 +08:00
parent a5a809aa0a
commit 355e717cb8
8 changed files with 1351 additions and 380 deletions
+3 -16
View File
@@ -24,23 +24,10 @@
#include "lv_demo_calendar.h"
#include <transform.h>
// extern void lv_example_chart_2(void);
// extern void lv_example_img_1(void);
// extern void lv_example_img_2(void);
// extern void lv_example_img_3(void);
// extern void lv_example_img_4(void);
// extern void lv_example_line_1(void);
extern void lv_example_xiuos(void);
extern void lv_example_show(void);
void* lvgl_thread(void *parameter)
{
/* display demo; you may replace with your LVGL application at here */
// lv_demo_calendar();
// lv_example_img_1();
// lv_example_chart_2();
// lv_example_table_1();
// lv_example_line_1();
lv_example_xiuos();
/* handle the tasks of LVGL */
lv_example_show();
while(1)
{
lv_task_handler();
@@ -53,7 +40,7 @@ static int lvgl_demo_init(void)
{
pthread_attr_t attr;
attr.schedparam.sched_priority = 25;
attr.stacksize = 4096;
attr.stacksize = 8192;
PrivTaskCreate(&lvgl_task, &attr, lvgl_thread, NULL);