Skip to content

Commit

Permalink
Merge pull request RT-Thread#1129 from Dozingfiretruck/master
Browse files Browse the repository at this point in the history
add:LuatOS-SOC packages
  • Loading branch information
Guozhanxin authored Dec 28, 2021
2 parents 32c384c + 2bf20dc commit 875039c
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 0 deletions.
1 change: 1 addition & 0 deletions system/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
menu "system packages"

source "$PKGS_DIR/packages/system/LuatOS_SOC/Kconfig"
source "$PKGS_DIR/packages/system/enhanced-kservice/Kconfig"
source "$PKGS_DIR/packages/system/acceleration/Kconfig"
source "$PKGS_DIR/packages/system/CMSIS/Kconfig"
Expand Down
46 changes: 46 additions & 0 deletions system/LuatOS_SOC/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

# Kconfig file for package LuatOS_SOC
menuconfig PKG_USING_LUATOS_SOC
select RT_USING_DFS
select RT_USING_POSIX if RT_VER_NUM >= 0x40100
select RT_USING_DFS_ROMFS
select RT_USING_LIBC
select RT_LIBC_USING_FILEIO if RT_VER_NUM >= 0x40100
bool "LUATOS_SOC : Powerful embedded Lua Engine for IoT devices"
default n

if PKG_USING_LUATOS_SOC

config PKG_LUATOS_SOC_PATH
string
default "/packages/system/LuatOS_SOC"

choice
prompt "Version"
default PKG_USING_LUATOS_SOC_LATEST_VERSION
help
Select the package version

config PKG_USING_LUATOS_SOC_LATEST_VERSION
bool "latest"
endchoice

config PKG_LUATOS_SOC_VER
string
default "latest" if PKG_USING_LUATOS_SOC_LATEST_VERSION

config PKG_USING_LUATOS_SOC_LCD
bool "LuatOS_SOC using lcd"
default n

config PKG_USING_LUATOS_SOC_EINK
bool "LuatOS_SOC using eink"
default n

config PKG_LUATOS_SOC_LUAT_HEAP_SIZE
int "LuatOS heap size"
range 1 999
default 64

endif

29 changes: 29 additions & 0 deletions system/LuatOS_SOC/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "LuatOS_SOC",
"description": "LUATOS_SOC : Powerful embedded Lua Engine for IoT devices",
"description_zh": "LuatOS_SOC : 面向物联网设备的强大嵌入式Lua引擎",
"enable": "PKG_USING_LUATOS_SOC",
"keywords": [
"LuatOS_SOC",
"LuatOS"
],
"category": "system",
"author": {
"name": "Dozingfiretruck",
"email": "[email protected]",
"github": "Dozingfiretruck"
},
"license": "Apache-2.0",
"repository": "https://github.com/openLuat/luatos-soc-rtt",
"icon": "https://github.com/openLuat/LuatOS/blob/master/logo.jpg",
"homepage": "https://github.com/openLuat/LuatOS/blob/master/README.md",
"doc": "https://wiki.luatos.com/pages/emulator.html",
"site": [
{
"version": "latest",
"URL": "https://github.com/openLuat/luatos-soc-rtt.git",
"filename": "Null for git package",
"VER_SHA": "master"
}
]
}

0 comments on commit 875039c

Please sign in to comment.