Ver Fonte

update: 云编译启用shell就自动禁用repl

Wendal Chen há 2 anos atrás
pai
commit
0a774f15ce
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      application/include/luat_conf_bsp.h

+ 4 - 0
application/include/luat_conf_bsp.h

@@ -288,4 +288,8 @@ extern unsigned int gLVFlashTime;
 // 单纯为了生成文档的宏
 #define LUAT_USE_PIN 1
 
+#ifdef LUAT_USE_SHELL
+#undef LUAT_USE_REPL
+#endif
+
 #endif