Quellcode durchsuchen

add:修复lvgl异常

Dozingfiretruck vor 3 Jahren
Ursprung
Commit
8def353468
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      xmake.lua

+ 1 - 1
xmake.lua

@@ -130,7 +130,7 @@ target_end()
 
 
 target("lvgl")
 target("lvgl")
     set_kind("static")
     set_kind("static")
-    
+    add_defines("__BUILD_APP__","__BUILD_OS__","CMB_USING_OS_PLATFORM","CMB_OS_PLATFORM_TYPE=CMB_OS_PLATFORM_FREERTOS",luatos_define)
     on_load(function (target)
     on_load(function (target)
         local conf_data = io.readfile("$(projectdir)/application/include/luat_conf_bsp.h")
         local conf_data = io.readfile("$(projectdir)/application/include/luat_conf_bsp.h")
         local LVGL_CONF = conf_data:find("// #define LUAT_USE_LVGL\n")
         local LVGL_CONF = conf_data:find("// #define LUAT_USE_LVGL\n")