加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Kconfig 2.43 KB
一键复制 编辑 原始数据 按行查看 历史
supperthomas 提交于 2022-01-06 22:59 . add the fixed code
# Kconfig file for package SEGGER_RTT
menuconfig PKG_USING_SEGGER_RTT
bool "SEGGER_RTT:the RTT of segger jlink instead of uart of console"
default n
if PKG_USING_SEGGER_RTT
choice
prompt "Console type"
default SEGGER_RTT_ENABLE
help
Select the transport type
config SEGGER_RTT_ENABLE
bool "Jlink SEGGER RTT support"
config SWO_ENABLE
bool "ARM CORTEX M SWO support"
endchoice
config SEGGER_RTT_MAX_NUM_UP_BUFFERS
int "SEGGER_RTT_MAX_NUM_UP_BUFFERS"
depends on SEGGER_RTT_ENABLE
help
Max. number of up-buffers (T->H) available on this target (Default: 3)
default 3
config SEGGER_RTT_MAX_NUM_DOWN_BUFFERS
int "SEGGER_RTT_MAX_NUM_DOWN_BUFFERS"
depends on SEGGER_RTT_ENABLE
help
Max. number of down-buffers (H->T) available on this target (Default: 3)
default 3
config BUFFER_SIZE_UP
int "BUFFER_SIZE_UP"
depends on SEGGER_RTT_ENABLE
help
Size of the buffer for terminal output of target, up to host (Default: 1k)
default 1024
config BUFFER_SIZE_DOWN
int "BUFFER_SIZE_DOWN"
depends on SEGGER_RTT_ENABLE
help
Size of the buffer for terminal input to target from host (Usually keyboard input) (Default: 16)
default 16
config SEGGER_RTT_PRINTF_BUFFER_SIZE
int "SEGGER_RTT_PRINTF_BUFFER_SIZE"
depends on SEGGER_RTT_ENABLE
help
Size of buffer for RTT printf to bulk-send chars via RTT
default 64
config RTT_DEFAULT_BUFFER_INDEX
int "RTT_DEFAULT_BUFFER_INDEX"
depends on SEGGER_RTT_ENABLE
default 0
config RTT_DEFAULT_TERMINAL_INDEX
int "RTT_DEFAULT_TERMINAL_INDEX"
depends on SEGGER_RTT_ENABLE
default 0
config SWO_PORT_NUMBER
int "SWO port number"
depends on SWO_ENABLE
default 0
config PKG_SEGGER_RTT_PATH
string
default "/packages/tools/SEGGER_RTT"
choice
prompt "Version"
default PKG_USING_SEGGER_RTT_LATEST_VERSION
help
Select the package version
config PKG_USING_SEGGER_RTT_V100
bool "v1.0.0"
config PKG_USING_SEGGER_RTT_V110
bool "v1.1.0"
config PKG_USING_SEGGER_RTT_LATEST_VERSION
bool "latest"
endchoice
config PKG_SEGGER_RTT_VER
string
default "v1.0.0" if PKG_USING_SEGGER_RTT_V100
default "v1.1.0" if PKG_USING_SEGGER_RTT_V110
default "latest" if PKG_USING_SEGGER_RTT_LATEST_VERSION
endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化