Skip to content

Commit

Permalink
Merge pull request RT-Thread#1200 from kylepengchn/kmulti_rtimer
Browse files Browse the repository at this point in the history
release kmulti_rtimer
  • Loading branch information
Guozhanxin authored Mar 4, 2022
2 parents 17b9f8f + 4d4f1af commit 6e8dbb1
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions system/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ source "$PKGS_DIR/packages/system/Arm-2D/Kconfig"
source "$PKGS_DIR/packages/system/mcuboot/Kconfig"
source "$PKGS_DIR/packages/system/TinyUSB/Kconfig"
source "$PKGS_DIR/packages/system/CherryUSB/Kconfig"
source "$PKGS_DIR/packages/system/kmulti_rtimer/Kconfig"

endmenu
36 changes: 36 additions & 0 deletions system/kmulti_rtimer/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

# Kconfig file for package kmulti_rtimer
menuconfig PKG_USING_KMULTI_RTIMER
bool "a multi timer for rt-thread."
default n

if PKG_USING_KMULTI_RTIMER

config PKG_KMULTI_RTIMER_HWTIMER_DEV_NAME
string "The hwtimer device name for multi rtimer"
default "hwtimer1"

config PKG_USING_KMULTI_RTIMER_DEMO
bool "Use demo"
default n

config PKG_KMULTI_RTIMER_PATH
string
default "/packages/system/kmulti_rtimer"

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

config PKG_USING_KMULTI_RTIMER_LATEST_VERSION
bool "latest"
endchoice

config PKG_KMULTI_RTIMER_VER
string
default "latest" if PKG_USING_KMULTI_RTIMER_LATEST_VERSION

endif

27 changes: 27 additions & 0 deletions system/kmulti_rtimer/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "kmulti_rtimer",
"description": "a multi timer for rt-thread",
"enable": "PKG_USING_KMULTI_RTIMER",
"keywords": [
"kmulti_rtimer"
],
"category": "system",
"author": {
"name": "kylepengchn",
"email": "[email protected]",
"github": "kylepengchn"
},
"license": "Apache-2.0",
"repository": "https://github.com/kylepengchn/kmulti_rtimer.git",
"icon": "unknown",
"homepage": "unknown",
"doc": "unknown",
"site": [
{
"version": "latest",
"URL": "https://github.com/kylepengchn/kmulti_rtimer.git",
"filename": "",
"VER_SHA": "master"
}
]
}

0 comments on commit 6e8dbb1

Please sign in to comment.