Skip to content

Commit

Permalink
add Efficient and secure memory pool (#1833)
Browse files Browse the repository at this point in the history
Co-authored-by: RiceChen <[email protected]>
  • Loading branch information
RiceChen0 and RiceChen authored Dec 19, 2024
1 parent 52a9900 commit add631a
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
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"
}
]
}

0 comments on commit add631a

Please sign in to comment.