补充参数。
Signed-off-by: rick.chan <cy@haoan119.com>
This commit is contained in:
parent
4bbfdea800
commit
d152c0085e
@ -187,7 +187,7 @@ RTOS Views 支持 RTOS 调试功能,比如查看系统中的 Task 等。
|
||||
"toolchainPrefix": "arm-none-eabi",
|
||||
"targetId": "Target Chip Name",
|
||||
"cmsisPack": "/Path/to/PackFile.pack",
|
||||
"serverArgs": ["--frequency=8m", "--trust-crc", "--erase=chip", "-O", "rtos.enable=false", "-O", "smart_flash=true"],
|
||||
"serverArgs": ["--frequency=8m", "--trust-crc", "--erase=chip", "--uid=0123456789", "-O", "rtos.enable=true", "-O", "rtos.name=freertos", "-O", "smart_flash=true"],
|
||||
"svdFile": "/Path/to/SystemViewDescriptionFile.svd"
|
||||
}
|
||||
}
|
||||
@ -204,10 +204,16 @@ RTOS Views 支持 RTOS 调试功能,比如查看系统中的 Task 等。
|
||||
- targetId:pyocd 使用此字段设置芯片型号,如 STM32F429BITx;
|
||||
- cmsisPack:要使用的 pack 文件,如果使用 EIDE 自带的 pack 文件,其默认下载在 “\<User\>/.eide/pack/cmsis” 目录下;
|
||||
- serverArgs:传递给调试服务器(这里是 pyocd gdbserver)的参数。
|
||||
- -O 参数:指定 pyOCD GDBServer Session 的 Options
|
||||
- 格式是:-O OPTION=VALUE
|
||||
- Session options 列表:参考 [pyOCD Session options list 官方说明](https://pyocd.io/docs/options.html)
|
||||
- rtos.enable=false:指定不使能 RTOS 工具,没有使用 RTOS 或者使用了不支持的 RTOS 时,使能该功能会导致调试启动时自动检测 RTOS 的时间过长。
|
||||
- --erase:
|
||||
- auto:自动
|
||||
- chip:整个芯片
|
||||
- sector:按扇区擦除
|
||||
- --uid:指定 Debuger Adapter 的 UID,用于区分多个 Debuger Adapter。
|
||||
- -O 参数:指定 pyOCD GDBServer Session 的 Options,格式是:-O OPTION=VALUE
|
||||
- Session options 列表:参考 [pyOCD Session options list 官方说明](https://pyocd.io/docs/options.html)
|
||||
- rtos.enable:使能或禁能 RTOS 工具,没有使用 RTOS 或者使用了不支持的 RTOS 时,使能该功能会导致调试启动时自动检测 RTOS 的时间过长。
|
||||
- rtos.name:指定 RTOS 名称。
|
||||
- freertos
|
||||
- svdFile:即 System View Description 文件,指定该文件才可以在调试时查看设备寄存器,如果使用 EIDE,通常在 “.pack” 文件夹下,如 ".pack/Keil/STM32F4xx_DFP.2.14.0/CMSIS/SVD/STM32F429x.svd" 或 ".pack/Nationstech/N32L40x_DFP.0.9.0/svd/N32L406.svd"。
|
||||
|
||||
### 2.2. ARMCC 编译器的额外调试配置
|
||||
|
Loading…
x
Reference in New Issue
Block a user