Skip to content

Commit

Permalink
1. add pkgs source to ../peripherals/Kconfig file. (#1701)
Browse files Browse the repository at this point in the history
  • Loading branch information
WennianYan authored Nov 7, 2023
1 parent 0a57cc2 commit e4f7d39
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
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

config System_Run_LED_THREAD_STACK_SIZE
int "System Run LED THREAD STACK SIZE"
int "System Run LED Thread Stack Size."
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

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

0 comments on commit e4f7d39

Please sign in to comment.