Dozingfiretruck 4 лет назад
Родитель
Сommit
56d93f6c1e
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      bsp/win32/CMakeLists.txt
  2. 1 1
      bsp/win32/port/luat_base_win32.c

+ 2 - 2
bsp/win32/CMakeLists.txt

@@ -41,7 +41,7 @@ aux_source_directory(${TOPROOT}/components/freertos RTOS_SRCS)
 aux_source_directory(${TOPROOT}/components/freertos/port RTOS_PORT_SRCS)
 aux_source_directory(${TOPROOT}/luat/packages/lua-cjson CJSON_SRCS)
 
-aux_source_directory(${TOPROOT}/components/lcd LCD_SRCS)
+# aux_source_directory(${TOPROOT}/components/lcd LCD_SRCS)
 
 add_library(freertos10 ${PORT_SRCS} ${RTOS_SRCS} ${RTOS_PORT_SRCS} ${MM_SRCS} ${MM2_SRCS})
 add_library(lua ${LUA_SRCS})
@@ -73,7 +73,7 @@ add_library(luat ${TOPROOT}/luat/modules/luat_main.c
                  ${TOPROOT}/luat/packages/lfs/lfs_util.c
                  ${TOPROOT}/luat/packages/lfs/lfs.c
                  ${TOPROOT}/luat/packages/lfs/luat_lib_lfs2.c
-                 ${LCD_SRCS}
+               #   ${LCD_SRCS}
             )
 
 IF (WIN32)

+ 1 - 1
bsp/win32/port/luat_base_win32.c

@@ -50,7 +50,7 @@ static const luaL_Reg loadedlibs[] = {
   {"gpio",   luaopen_gpio},
 #ifdef LUAT_USE_LVGL
   {"lvgl",   luaopen_lvgl},
-  {"lcd",    luaopen_lcd},
+//   {"lcd",    luaopen_lcd},
 #endif
 #ifdef LUAT_USE_LWIP
   {"lwip",   luaopen_lwip},