Skip to content

Commit

Permalink
fix agile_console (RT-Thread#1181)
Browse files Browse the repository at this point in the history
  • Loading branch information
loogg authored Feb 14, 2022
1 parent a15c3a7 commit 7f9479d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 25 deletions.
16 changes: 3 additions & 13 deletions peripherals/agile_console/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Kconfig file for package agile_console
menuconfig PKG_USING_AGILE_CONSOLE
bool "agile_console: A agile console pachage."
bool "agile_console: Simple debugging device Middleware."
default n
select RT_USING_DEVICE_IPC

Expand All @@ -13,15 +13,15 @@ if PKG_USING_AGILE_CONSOLE

config PKG_AGILE_CONSOLE_RX_BUFFER_SIZE
int "Set agile_console rx buffer size"
default 256
default 1024

config PKG_AGILE_CONSOLE_DEVICE_NAME
string "Set agile_console device name"
default "tty"

config PKG_AGILE_CONSOLE_THREAD_PRIORITY
int "Set agile_console thread priority"
default 19
default 9

config PKG_AGILE_CONSOLE_THREAD_STACK_SIZE
int "Set agile_console thread stack size"
Expand Down Expand Up @@ -63,26 +63,16 @@ if PKG_USING_AGILE_CONSOLE
help
Select the package version

config PKG_USING_AGILE_CONSOLE_V100
bool "v1.0.0"

config PKG_USING_AGILE_CONSOLE_V101
bool "v1.0.1"

config PKG_USING_AGILE_CONSOLE_LATEST_VERSION
bool "latest"
endchoice

config PKG_AGILE_CONSOLE_VER
string
default "v1.0.0" if PKG_USING_AGILE_CONSOLE_V100
default "v1.0.1" if PKG_USING_AGILE_CONSOLE_V101
default "latest" if PKG_USING_AGILE_CONSOLE_LATEST_VERSION

config PKG_AGILE_CONSOLE_VER_NUM
hex
default 0x10000 if PKG_USING_AGILE_CONSOLE_V100
default 0x10001 if PKG_USING_AGILE_CONSOLE_V101
default 0x99999 if PKG_USING_AGILE_CONSOLE_LATEST_VERSION
endif

14 changes: 2 additions & 12 deletions peripherals/agile_console/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "agile_console",
"description": "A agile console pachage.",
"description_zh": "一个灵活的console设备软件包",
"description": "Simple debugging device Middleware.",
"description_zh": "简单易用的调试设备中间件。",
"enable": "PKG_USING_AGILE_CONSOLE",
"keywords": [
"agile_console"
Expand All @@ -16,16 +16,6 @@
"repository": "https://github.com/loogg/agile_console",
"homepage": "https://github.com/loogg/agile_console#readme",
"site": [
{
"version": "v1.0.0",
"URL": "https://github.com/loogg/agile_console/archive/refs/tags/v1.0.0.zip",
"filename": "agile_console-1.0.0.zip"
},
{
"version": "v1.0.1",
"URL": "https://github.com/loogg/agile_console/archive/refs/tags/v1.0.1.zip",
"filename": "agile_console-1.0.1.zip"
},
{
"version": "latest",
"URL": "https://github.com/loogg/agile_console.git",
Expand Down

0 comments on commit 7f9479d

Please sign in to comment.