Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 894 Bytes

usage.md

File metadata and controls

57 lines (40 loc) · 894 Bytes

用法指南

交互模式

windows

luatos-pc.exe

linux

./luatos-pc

若需退出交互模式

os.exit()

指定文件或文件夹加载并启动

支持指定多个文件或文件夹,一起加载并启动

单文件启动

luatos-pc.exe  test/001.helloworld/main.lua

多文件启动,按第一个main.lua作为主文件

luatos-pc.exe  test/001.helloworld/main.lua test/abc.lua test/logo.jpg

按文件夹启动, 路径需要以/或者\ 结尾

luatos-pc.exe ../LuatOS/demo/gmssl/

文件和文件夹混合启动

luatos-pc.exe test/001.helloworld/main.lua ../LuatOS/demo/gmssl/

加载luatools项目文件直接启动

luatos-pc.exe --llt=D:/luatools/project/air101_gpio.ini

加载luadb镜像文件启动

luatos-pc.exe --ldb=D:/luatools/SoC量产文件/script.bin