Skip to content

Commit 02c0832

Browse files
author
mozhihao
committed
更新rti的v2版本,更新其他软件包的仓库链接
1 parent 831a094 commit 02c0832

File tree

4 files changed

+87
-61
lines changed

4 files changed

+87
-61
lines changed

system/rti/Kconfig

Lines changed: 59 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
# Kconfig file for package rti
31
menuconfig PKG_USING_RTI
42
bool "RT-Thread Insight: probe tool for RT-Thread"
53
select RT_USING_HOOK
@@ -12,6 +10,7 @@ if PKG_USING_RTI
1210
string
1311
default "/packages/system/rti"
1412

13+
# 版本选择
1514
choice
1615
prompt "Version"
1716
help
@@ -20,49 +19,70 @@ if PKG_USING_RTI
2019
config PKG_USING_RTI_V100
2120
bool "v1.0.0"
2221

22+
config PKG_USING_RTI_V200
23+
bool "v2.0.0"
24+
2325
config PKG_USING_RTI_LATEST_VERSION
2426
bool "latest"
2527
endchoice
2628

2729
config PKG_RTI_VER
2830
string
2931
default "v1.0.0" if PKG_USING_RTI_V100
32+
default "v2.0.0" if PKG_USING_RTI_V200
3033
default "latest" if PKG_USING_RTI_LATEST_VERSION
31-
config PKG_RTI_APP_NAME
32-
string "App name"
33-
default "RT-Thread RTI"
34-
35-
config PKG_RTI_BUFFER_SIZE
36-
int "RTI buffer size"
37-
default 4096
38-
39-
config PKG_RTI_RAM_BASE
40-
hex "RAM base"
41-
default 0x20000000
42-
---help---
43-
The lowest RAM address used for IDs (pointers)
44-
45-
config PKG_RTI_ID_SHIFT
46-
int "Event ID offset"
47-
default 2
48-
49-
config PKG_RTI_SYS_DESC0
50-
string "System description 0"
51-
default "I#15=systick"
52-
---help---
53-
format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name
54-
55-
config PKG_RTI_SYS_DESC1
56-
string "System description 1"
57-
default ""
58-
---help---
59-
format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name
60-
61-
config PKG_USING_RTI_UART_SAMPLE
62-
bool "Using UART Sample"
63-
default n
64-
---help---
65-
Use serial port to transmit data to SystemView.
66-
67-
endif
6834

35+
# ----------------------------
36+
# v2版本仅显示CPU频率配置
37+
# ----------------------------
38+
config BOARD_SYSTICK_FREQ_IN_HZ
39+
int "CPU frequency (Hz)"
40+
default 168000000
41+
depends on PKG_USING_RTI_V200 || PKG_USING_RTI_LATEST_VERSION # 仅v2和latest版本可见
42+
help
43+
Required for v2.0.0+ version: CPU clock frequency, used for timestamp calculation.
44+
45+
# ----------------------------
46+
# v1版本显示原有其他配置
47+
# ----------------------------
48+
if PKG_USING_RTI_V100 # 仅v1.0.0版本可见
49+
50+
config PKG_RTI_APP_NAME
51+
string "App name"
52+
default "RT-Thread RTI"
53+
54+
config PKG_RTI_BUFFER_SIZE
55+
int "RTI buffer size"
56+
default 4096
57+
58+
config PKG_RTI_RAM_BASE
59+
hex "RAM base"
60+
default 0x20000000
61+
---help---
62+
The lowest RAM address used for IDs (pointers)
63+
64+
config PKG_RTI_ID_SHIFT
65+
int "Event ID offset"
66+
default 2
67+
68+
config PKG_RTI_SYS_DESC0
69+
string "System description 0"
70+
default "I#15=systick"
71+
---help---
72+
format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name
73+
74+
config PKG_RTI_SYS_DESC1
75+
string "System description 1"
76+
default ""
77+
---help---
78+
format is "I#%num%=%name%, ..." number is IRQ number, name is IRQ name
79+
80+
config PKG_USING_RTI_UART_SAMPLE
81+
bool "Using UART Sample"
82+
default n
83+
---help---
84+
Use serial port to transmit data to SystemView.
85+
86+
endif
87+
88+
endif

system/rti/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
},
1010
"enable": "PKG_USING_RTI",
1111
"keywords": [
12+
"insight",
1213
"rti",
1314
"system"
1415
],
@@ -25,6 +26,12 @@
2526
"filename": "rti-1.0.0.zip",
2627
"VER_SHA": "8621858c735086879dc445c9baf9ad34763e301d"
2728
},
29+
{
30+
"version": "v2.0.0",
31+
"URL": "https://github.com/RT-Thread-packages/rti.git",
32+
"filename": "rti-2.0.0.zip",
33+
"VER_SHA": "424d907fb91eb9a592c40e6bc52b970fc274de07"
34+
},
2835
{
2936
"version": "latest",
3037
"URL": "https://github.com/RT-Thread-packages/rti.git",

tools/RT-Tunnel/package.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,27 @@
88
],
99
"category": "tools",
1010
"author": {
11-
"name": "RT-Trace",
12-
"email": "mozhihao@rt-thread.com",
13-
"github": "RT-Trace"
11+
"name": "RealThread",
12+
"email": "package_team@rt-thread.com",
13+
"github": "RealThread"
1414
},
15-
"license": "6",
16-
"repository": "https://github.com/RT-Trace/RT-Tunnel.git",
15+
"license": "Apache-2.0",
16+
"repository": "https://github.com/RT-Thread-packages/RT-Tunnel.git",
1717
"icon": "unknown",
18-
"homepage": "https://github.com/RT-Trace/RT-Tunnel.git#readme",
18+
"homepage": "https://github.com/RT-Thread-packages/RT-Tunnel.git#readme",
1919
"doc": "unknown",
2020
"site": [
2121
{
2222
"version": "v1.0.0",
23-
"URL": "https://github.com/RT-Trace/RT-Tunnel.git",
23+
"URL": "https://github.com/RT-Thread-packages/RT-Tunnel.git",
2424
"filename": "RT-Tunnel-1.0.0.zip",
25-
"VER_SHA": "5978f5bba918ff93101529182d2656940bcb6f1e"
26-
25+
"VER_SHA": "60f97b87cb8b18ae3195c72f3029dc1d806cf8cb"
2726
},
2827
{
2928
"version": "latest",
30-
"URL": "https://github.com/RT-Trace/RT-Tunnel.git",
29+
"URL": "https://github.com/RT-Thread-packages/RT-Tunnel.git",
3130
"filename": "RT-Tunnel-latest.zip",
32-
"VER_SHA": "main"
31+
"VER_SHA": "master"
3332
}
3433
]
3534
}
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
22
"name": "Virtual-Terminal",
33
"description": "Virtual-Terminal: High-speed virtual terminal",
4-
"description_zh": "",
4+
"description_zh": "Virtual-Terminal: 高速虚拟终端",
55
"enable": "PKG_USING_VIRTUAL_TERMINAL",
66
"keywords": [
77
"Virtual-Terminal"
88
],
99
"category": "tools",
1010
"author": {
11-
"name": "RT-Trace",
12-
"email": "mozhihao@rt-thread.com",
13-
"github": "RT-Trace"
11+
"name": "RealThread",
12+
"email": "package_team@rt-thread.com",
13+
"github": "RealThread"
1414
},
15-
"license": "Unknown",
16-
"repository": "https://github.com/RT-Trace/Virtual-Terminal.git",
15+
"license": "Apache-2.0",
16+
"repository": "https://github.com/RT-Thread-packages/Virtual-Terminal.git",
1717
"icon": "unknown",
18-
"homepage": "https://github.com/RT-Trace/Virtual-Terminal.git#readme",
18+
"homepage": "https://github.com/RT-Thread-packages/Virtual-Terminal.git#readme",
1919
"doc": "unknown",
2020
"site": [
2121
{
2222
"version": "v1.0.0",
23-
"URL": "https://github.com/RT-Trace/Virtual-Terminal.git",
23+
"URL": "https://github.com/RT-Thread-packages/Virtual-Terminal.git",
2424
"filename": "Virtual-Terminal-1.0.0.zip",
25-
"VER_SHA": "2a26a9d2abdee8f52c9376c29d2f96598043f142"
25+
"VER_SHA": "f5e447b0e614b6cc4eb1d935d90437128af5144c"
2626
},
2727
{
2828
"version": "latest",
29-
"URL": "https://github.com/RT-Trace/Virtual-Terminal.git",
29+
"URL": "https://github.com/RT-Thread-packages/Virtual-Terminal.git",
3030
"filename": "Virtual-Terminal-latest.zip",
31-
"VER_SHA": "main"
31+
"VER_SHA": "master"
3232
}
3333
]
3434
}

0 commit comments

Comments
 (0)