-
Notifications
You must be signed in to change notification settings - Fork 344
添加rt-trace相关软件包 #1931
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
添加rt-trace相关软件包 #1931
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,3 @@ | ||||||
|
|
||||||
| # Kconfig file for package rti | ||||||
| menuconfig PKG_USING_RTI | ||||||
| bool "RT-Thread Insight: probe tool for RT-Thread" | ||||||
| select RT_USING_HOOK | ||||||
|
|
@@ -12,6 +10,7 @@ if PKG_USING_RTI | |||||
| string | ||||||
| default "/packages/system/rti" | ||||||
|
|
||||||
| # 版本选择 | ||||||
| choice | ||||||
| prompt "Version" | ||||||
| help | ||||||
|
|
@@ -20,49 +19,70 @@ if PKG_USING_RTI | |||||
| config PKG_USING_RTI_V100 | ||||||
| bool "v1.0.0" | ||||||
|
|
||||||
| config PKG_USING_RTI_V200 | ||||||
| bool "v2.0.0" | ||||||
|
|
||||||
| config PKG_USING_RTI_LATEST_VERSION | ||||||
| bool "latest" | ||||||
| endchoice | ||||||
|
|
||||||
| config PKG_RTI_VER | ||||||
| string | ||||||
| default "v1.0.0" if PKG_USING_RTI_V100 | ||||||
| default "v2.0.0" if PKG_USING_RTI_V200 | ||||||
| default "latest" if PKG_USING_RTI_LATEST_VERSION | ||||||
| config PKG_RTI_APP_NAME | ||||||
| string "App name" | ||||||
| default "RT-Thread RTI" | ||||||
|
|
||||||
| config PKG_RTI_BUFFER_SIZE | ||||||
| int "RTI buffer size" | ||||||
| default 4096 | ||||||
|
|
||||||
| config PKG_RTI_RAM_BASE | ||||||
| hex "RAM base" | ||||||
| default 0x20000000 | ||||||
| ---help--- | ||||||
| The lowest RAM address used for IDs (pointers) | ||||||
|
|
||||||
| config PKG_RTI_ID_SHIFT | ||||||
| int "Event ID offset" | ||||||
| default 2 | ||||||
|
|
||||||
| config PKG_RTI_SYS_DESC0 | ||||||
| string "System description 0" | ||||||
| default "I#15=systick" | ||||||
| ---help--- | ||||||
| format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name | ||||||
|
|
||||||
| config PKG_RTI_SYS_DESC1 | ||||||
| string "System description 1" | ||||||
| default "" | ||||||
| ---help--- | ||||||
| format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name | ||||||
|
|
||||||
| config PKG_USING_RTI_UART_SAMPLE | ||||||
| bool "Using UART Sample" | ||||||
| default n | ||||||
| ---help--- | ||||||
| Use serial port to transmit data to SystemView. | ||||||
|
|
||||||
| endif | ||||||
|
|
||||||
| # ---------------------------- | ||||||
| # v2版本仅显示CPU频率配置 | ||||||
|
||||||
| # v2版本仅显示CPU频率配置 | |
| # Only CPU frequency configuration is shown for v2 version |
Copilot
AI
Nov 7, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment uses Chinese characters. For consistency with other comments in the file, consider translating to English: '# Only visible for v2 and latest versions'.
| depends on PKG_USING_RTI_V200 || PKG_USING_RTI_LATEST_VERSION # 仅v2和latest版本可见 | |
| depends on PKG_USING_RTI_V200 || PKG_USING_RTI_LATEST_VERSION # Only visible for v2 and latest versions |
Copilot
AI
Nov 7, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment uses Chinese characters. For consistency with other comments in the file, consider translating to English: '# Original configurations shown for v1 version'.
| # v1版本显示原有其他配置 | |
| # Original configurations shown for v1 version |
Copilot
AI
Nov 7, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment uses Chinese characters. For consistency with other comments in the file, consider translating to English: '# Only visible for v1.0.0 version'.
| if PKG_USING_RTI_V100 # 仅v1.0.0版本可见 | |
| if PKG_USING_RTI_V100 # Only visible for v1.0.0 version |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
|
|
||
| # Kconfig file for package RT-Tunnel | ||
| menuconfig PKG_USING_RT_TUNNEL | ||
| bool "RT-Tunnel: Auxiliary communication with RT-Trace tool and the target." | ||
| default n | ||
|
|
||
| if PKG_USING_RT_TUNNEL | ||
|
|
||
| config PKG_RT_TUNNEL_PATH | ||
| string | ||
| default "/packages/tools/RT-Tunnel" | ||
|
|
||
| config TUNNEL_NUM | ||
| int "Tunnel number" | ||
| default 3 | ||
|
|
||
| config TUNNEL_BUFFER_SIZE | ||
| int "Tunnel buffer size (bytes)" | ||
| default 8192 | ||
| help | ||
| Configure the buffer size for each tunnel. | ||
|
|
||
| choice | ||
| prompt "Version" | ||
| help | ||
| Select the package version | ||
|
|
||
| config PKG_USING_RT_TUNNEL_V100 | ||
| bool "v1.0.0" | ||
|
|
||
| config PKG_USING_RT_TUNNEL_LATEST_VERSION | ||
| bool "latest" | ||
| endchoice | ||
|
|
||
| config PKG_RT_TUNNEL_VER | ||
| string | ||
| default "v1.0.0" if PKG_USING_RT_TUNNEL_V100 | ||
| default "latest" if PKG_USING_RT_TUNNEL_LATEST_VERSION | ||
|
|
||
| endif | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| { | ||
| "name": "RT-Tunnel", | ||
| "description": "RT-Tunnel: Auxiliary communication with RT-Trace tool and the target", | ||
| "description_zh": "RT-Tunnel: 辅助RT-Trace工具和目标板通信", | ||
| "enable": "PKG_USING_RT_TUNNEL", | ||
| "keywords": [ | ||
| "RT-Tunnel" | ||
| ], | ||
| "category": "tools", | ||
| "author": { | ||
| "name": "RealThread", | ||
| "email": "package_team@rt-thread.com", | ||
| "github": "RealThread" | ||
| }, | ||
| "license": "Apache-2.0", | ||
| "repository": "https://github.com/RT-Thread-packages/RT-Tunnel.git", | ||
| "icon": "unknown", | ||
| "homepage": "https://github.com/RT-Thread-packages/RT-Tunnel.git#readme", | ||
| "doc": "unknown", | ||
| "site": [ | ||
| { | ||
| "version": "v1.0.0", | ||
| "URL": "https://github.com/RT-Thread-packages/RT-Tunnel/archive/refs/tags/1.0.0.zip", | ||
| "filename": "RT-Tunnel-1.0.0.zip" | ||
| }, | ||
| { | ||
| "version": "latest", | ||
| "URL": "https://github.com/RT-Thread-packages/RT-Tunnel.git", | ||
| "filename": "RT-Tunnel-latest.zip", | ||
| "VER_SHA": "master" | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
|
|
||
| # Kconfig file for package Virtual-Terminal | ||
| menuconfig PKG_USING_VIRTUAL_TERMINAL | ||
| bool "Virtual-Terminal: High-speed virtual terminal" | ||
| default n | ||
|
|
||
| if PKG_USING_VIRTUAL_TERMINAL | ||
|
|
||
| config PKG_VIRTUAL_TERMINAL_PATH | ||
| string | ||
| default "/packages/tools/Virtual-Terminal" | ||
|
|
||
| choice | ||
| prompt "Version" | ||
| help | ||
| Select the package version | ||
|
|
||
| config PKG_USING_VIRTUAL_TERMINAL_V100 | ||
| bool "v1.0.0" | ||
|
|
||
| config PKG_USING_VIRTUAL_TERMINAL_LATEST_VERSION | ||
| bool "latest" | ||
| endchoice | ||
|
|
||
| config PKG_VIRTUAL_TERMINAL_VER | ||
| string | ||
| default "v1.0.0" if PKG_USING_VIRTUAL_TERMINAL_V100 | ||
| default "latest" if PKG_USING_VIRTUAL_TERMINAL_LATEST_VERSION | ||
|
|
||
| endif | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| { | ||
| "name": "Virtual-Terminal", | ||
| "description": "Virtual-Terminal: High-speed virtual terminal", | ||
| "description_zh": "Virtual-Terminal: 高速虚拟终端", | ||
| "enable": "PKG_USING_VIRTUAL_TERMINAL", | ||
| "keywords": [ | ||
| "Virtual-Terminal" | ||
| ], | ||
| "category": "tools", | ||
| "author": { | ||
| "name": "RealThread", | ||
| "email": "package_team@rt-thread.com", | ||
| "github": "RealThread" | ||
| }, | ||
| "license": "Apache-2.0", | ||
| "repository": "https://github.com/RT-Thread-packages/Virtual-Terminal.git", | ||
| "icon": "unknown", | ||
| "homepage": "https://github.com/RT-Thread-packages/Virtual-Terminal.git#readme", | ||
| "doc": "unknown", | ||
| "site": [ | ||
| { | ||
| "version": "v1.0.0", | ||
| "URL": "https://github.com/RT-Thread-packages/Virtual-Terminal/archive/refs/tags/1.0.0.zip", | ||
| "filename": "Virtual-Terminal-1.0.0.zip" | ||
| }, | ||
| { | ||
| "version": "latest", | ||
| "URL": "https://github.com/RT-Thread-packages/Virtual-Terminal.git", | ||
| "filename": "Virtual-Terminal-latest.zip", | ||
| "VER_SHA": "master" | ||
| } | ||
| ] | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment uses Chinese characters. For consistency with the rest of the codebase which uses English comments, consider translating to English: '# Version selection'.