Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Efficient and secure memory pool #1833

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions system/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ source "$PKGS_DIR/packages/system/UartFramework/Kconfig"
source "$PKGS_DIR/packages/system/sfdb/Kconfig"
source "$PKGS_DIR/packages/system/rtp/Kconfig"
source "$PKGS_DIR/packages/system/reb/Kconfig"
source "$PKGS_DIR/packages/system/rmp/Kconfig"
source "$PKGS_DIR/packages/system/r-rhealstone/Kconfig"
source "$PKGS_DIR/packages/system/heartbeat/Kconfig"
endmenu
36 changes: 36 additions & 0 deletions system/rmp/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

# Kconfig file for package rmp
menuconfig PKG_USING_RMP
bool "rmp: Efficient and secure memory pool"
default n

if PKG_USING_RMP

config PKG_RMP_PATH
string
default "/packages/system/rmp"

config RMP_USING_DYNAMIC
bool "rmp using dynamic interface"
default n

config RMP_USING_RTOS
bool "rmp enable rtos"
default y

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

config PKG_USING_RMP_LATEST_VERSION
bool "latest"
endchoice

config PKG_RMP_VER
string
default "latest" if PKG_USING_RMP_LATEST_VERSION

endif

28 changes: 28 additions & 0 deletions system/rmp/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "rmp",
"description": "rmp: Efficient and secure memory pool",
"description_zh": "rmp: 高效且安全的内存池",
"enable": "PKG_USING_RMP",
"keywords": [
"rmp"
],
"category": "system",
"author": {
"name": "RiceChen",
"email": "[email protected]",
"github": "RiceChen0"
},
"license": "Apache-2.0",
"repository": "https://github.com/RiceChen0/rmp",
"icon": "unknown",
"homepage": "https://github.com/RiceChen0/rmp#readme",
"readme": "rmp Efficient and secure memory pool",
"site": [
{
"version": "latest",
"URL": "https://github.com/RiceChen0/rmp.git",
"filename": "Null for git package",
"VER_SHA": "main"
}
]
}
Loading