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

Update the parameter configuration description. #1698

Closed
Closed
Show file tree
Hide file tree
Changes from 1 commit
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 peripherals/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ source "$PKGS_DIR/packages/peripherals/uat/Kconfig"
source "$PKGS_DIR/packages/peripherals/st7789/Kconfig"
source "$PKGS_DIR/packages/peripherals/vs1003/Kconfig"
source "$PKGS_DIR/packages/peripherals/x9555/Kconfig"
source "$PKGS_DIR/packages/peripherals/System_Run_LED/Kconfig"

if RT_VER_NUM > 0x40101
source "$PKGS_DIR/packages/peripherals/spi-tools/Kconfig"
Expand Down
26 changes: 13 additions & 13 deletions peripherals/System_Run_LED/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ if PKG_USING_SYSTEM_RUN_LED

select RT_USING_PIN

config System_Run_LED_Pin_Name
string "System Run LED Pin Name. [ Example : PA.00 ]"
default "PA.00"

config System_Run_LED_Flash_Time
int "System Run LED Flash Time. [ Unit : ms ]"
default 500

config System_Run_LED_THREAD_PRIORITY
int "System Run LED THREAD PRIORITY"
int "System Run LED Thread Priority. [ default : 20 ]"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以不用写default 已经通过default字段设置默认值了

default 20

config System_Run_LED_THREAD_STACK_SIZE
int "System Run LED THREAD STACK SIZE"
int "System Run LED Thread Stack Size. [ default : 250 ]"
default 250

config System_Run_LED_THREAD_TIMESLICE
int "System Run LED THREAD TIMESLICE"
default 1

config System_Run_LED_Pin_Name
string "System Run LED Pin Name"
default "PA.00"

config System_Run_LED_Flash_Time
int "System Run LED Flash Time"
default 500
int "System Run LED Thread Timeslice. [ default : 1 ]"
default 1

choice
prompt "Version"
Expand Down
7 changes: 4 additions & 3 deletions peripherals/System_Run_LED/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"name": "System_Run_LED",
"description": "System_Run_LED: System Run LED Control thread.",
"description_zh": "系统运行指示灯:系统运行指示灯的控制线程。",
"description": "System_Run_LED: Super simple and practical system running indicator light control thread.",
"description_zh": "系统运行指示灯:超级简单实用的系统运行指示灯控制线程。",
"enable": "PKG_USING_SYSTEM_RUN_LED",
"keywords": [
"system",
"led",
"run",
"system_run",
"run_led",
"System_Run_LED"
"System_Run_LED",
"light"
],
"category": "peripherals",
"author": {
Expand Down