1
0
mirror of https://gitee.com/openLuat/LuatOS synced 2025-08-17 22:18:03 +08:00

update:618可以开机就获取到model name了

This commit is contained in:
alienwalker 2023-01-30 13:09:59 +08:00
parent 9be6a13cd6
commit 56e9c95dc2

View File

@ -9,11 +9,11 @@ _G.sys = require("sys")
sys.taskInit(function()
while 1 do
sys.wait(3000)
-- hmeta识别底层模组类型的
-- 不同的模组可以使用相同的bsp,但根据封装的不同,根据内部数据仍可识别出具体模块
log.info("hmeta", hmeta.model())
log.info("bsp", rtos.bsp())
sys.wait(3000)
end
end)