{"id":24092336,"url":"https://github.com/liu2guang/Lua2RTT","last_synced_at":"2025-09-17T01:33:53.909Z","repository":{"id":40617418,"uuid":"132327430","full_name":"liu2guang/Lua2RTT","owner":"liu2guang","description":"Lua port package for RT-Thread. ","archived":false,"fork":false,"pushed_at":"2021-10-13T20:02:23.000Z","size":432,"stargazers_count":46,"open_issues_count":3,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-10T07:51:57.377Z","etag":null,"topics":["env","rt-thread"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liu2guang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-06T10:14:52.000Z","updated_at":"2024-03-06T06:55:25.000Z","dependencies_parsed_at":"2022-08-27T01:12:25.912Z","dependency_job_id":null,"html_url":"https://github.com/liu2guang/Lua2RTT","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/liu2guang/Lua2RTT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liu2guang%2FLua2RTT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liu2guang%2FLua2RTT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liu2guang%2FLua2RTT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liu2guang%2FLua2RTT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liu2guang","download_url":"https://codeload.github.com/liu2guang/Lua2RTT/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liu2guang%2FLua2RTT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275520378,"owners_count":25479603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["env","rt-thread"],"created_at":"2025-01-10T07:44:57.464Z","updated_at":"2025-09-17T01:33:53.896Z","avatar_url":"https://github.com/liu2guang.png","language":"C","readme":"# :tada: Lua2RTT :tada: #\n\n[![Build Status](https://travis-ci.org/liu2guang/Lua2RTT.svg?branch=master)](https://travis-ci.org/liu2guang/Lua2RTT)\n[![release](https://img.shields.io/badge/Release-v1.0.0-orange.svg)](https://github.com/liu2guang/Lua2RTT/releases)\n\nLua2RTT是在RT-Thread3.0及以上版本移植的Lua库, 目的是无缝嵌入RTT, 无需开发者去移植. 如果您觉得该库看得顺眼舒服，请捐赠颗小星星. 小星星就是更新的动力!!! \n\n## 1. 效果图\n\n![效果图](https://i.imgur.com/NzP2WOe.gif)\n\n## 2. 安装Lua2RTT\n\n目前Lua2RTT库已经添加到RT-Thread官方pkgs包中, 可以直接在menuconfig在线包中直接使能.\n\n1. 在env中运行menuconfig. \n2. 进入RT-Thread online packages -\u003e language目录. \n3. 开启Lua2RTT, 选择Submitted version(Lua2RTT库移植的发布版本)为lateset最新版本, 然后选择Porting Lua version(移植的Lua源码版本)为您想要移植的版本(目前支持5.1.4和5.3.4).\n4. 执行pkgs --update更新Lua2RTT包到你的bsp下面. \n5. 执行scons/scons --target=xxx, 进行编译生成工程, 下载运行.\n\n![安装流程](https://i.imgur.com/wOuODbj.gif)\n\n## 3. 卸载Lua2RTT\n\n1. 在env中运行menuconfig. \n2. 进入RT-Thread online packages -\u003e language目录. \n3. 关闭Lua2RTT.\n4. 执行pkgs --update, 并输入`Y`表示同意删除pkg包文件. \n5. 执行scons/scons --target=xxx, 进行编译生成工程, 下载运行.\n\n![卸载流程](https://i.imgur.com/idFfFPN.gif)\n\n## 4. 教程推荐\n\n1. [AlbertS 作者简书文章](https://www.jianshu.com/u/8fad76e7e05c).\n2. [Lua 5.1 参考手册中文版](https://www.codingnow.com/2000/download/lua_manual.html). \n3. [Lua 5.3 参考手册中文版](http://cloudwu.github.io/lua53doc/contents.html).  \n\n## 5. 欢迎加入. \n\n非官方讨论腾讯QQ群: [289156309](). \n\n## 6. 感谢\n\n1. 该库基于 https://github.com/lua/lua 移植. \n2. 感谢Lua团队. 本移植是修改了部分原作者的代码针对RTT在线包实现的版本, 该仓库保留原作者的许可声明! 具体原作者许可请查看 https://www.lua.org/license.html, 移植代码部分保留 https://github.com/liu2guang/Lua2RTT/blob/master/LICENSE 许可. \n","funding_links":[],"categories":["Packages"],"sub_categories":["Language"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliu2guang%2FLua2RTT","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliu2guang%2FLua2RTT","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliu2guang%2FLua2RTT/lists"}