Skip to content

fix: name anonymous Kconfig choices#11543

Merged
Rbb666 merged 1 commit into
RT-Thread:masterfrom
CYFS3:fix-anonymous-kconfig-choice
Jul 20, 2026
Merged

fix: name anonymous Kconfig choices#11543
Rbb666 merged 1 commit into
RT-Thread:masterfrom
CYFS3:fix-anonymous-kconfig-choice

Conversation

@CYFS3

@CYFS3 CYFS3 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

拉取/合并请求描述:(PR description)

[

为什么提交这份PR (why to submit this PR)

PR #10643 已经给部分核心组件中的匿名 choice 增加了显式名称,用于避免 kconfiglib 在解析匿名 choice 时产生对象引用不一致相关 warning。

当前仓库中仍有大量 Kconfig 使用匿名 choice,主要分布在 BSP 目录。继续保留匿名 choice 会让后续 Kconfiglib 检查、菜单配置解析和自动化脚本更容易遇到同类问题。

你的解决方案是什么 (what is your solution)

为仓库中剩余的匿名 choice 增加唯一、可读的显式名称。

命名主要基于 BSP 路径和 choice 内 config 符号公共前缀生成,只修改 choice 声明行,不改变 prompt、default、depends、config 选项或实际配置行为。

请提供验证的bsp和config (provide the config and bsp)

  • BSP:

    • 根 Kconfig
    • bsp/stm32/stm32f407-atk-explorer
    • bsp/raspberry-pico/RP2040
    • bsp/hpmicro/hpm6800evk
    • bsp/renesas/ra6m4-cpk
    • bsp/nuvoton/numaker-m467hj
    • bsp/ti/c28x/tms320f28379d
    • bsp/bouffalo_lab/bl808/d0
  • .config:

    • 无需修改 .config。本 PR 只为 Kconfig choice 增加显式名称。
  • action:

    • 本地验证:
      • 全仓匿名 choice grep 无匹配
      • git diff --check
      • kconfiglib 解析根 Kconfig,warnings 0
      • kconfiglib 解析多个 BSP 样本;部分 BSP 存在既有 select choice symbol/重复定义类 warning,与本次匿名 choice 命名无关

]

当前拉取/合并请求的状态 Intent for your PR

必须选择一项 Choose one (Mandatory):

  • 本拉取/合并请求是一个草稿版本 This PR is for a code-review and is intended to get feedback
  • 本拉取/合并请求是一个成熟版本 This PR is mature, and ready to be integrated into the repo

代码质量 Code Quality:

我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:

  • 已经仔细查看过代码改动的对比 Already check the difference between PR and old code
  • 代码风格正确,包括缩进空格,命名及其他风格 Style guide is adhered to, including spacing, naming and other styles
  • 没有垃圾代码,代码尽量精简,不包含#if 0代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up
  • 所有变更均有原因及合理的,并且不会影响到其他软件组件代码或BSP All modifications are justified and not affect other components or BSP
  • 对难懂代码均提供对应的注释 I've commented appropriately where code is tricky
  • 代码是高质量的 Code in this PR is of high quality
  • 已经使用formatting 等源码格式化工具确保格式符合RT-Thread代码规范 This PR complies with RT-Thread code specification
  • 如果是新增bsp, 已经添加ci检查到.github/ALL_BSP_COMPILE.json 详细请参考链接BSP自查

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread!

为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。
To ensure your code complies with RT-Thread's coding style, please run the code formatting workflow by following the steps below (If the formatting of CI fails to run).


🛠 操作步骤 | Steps

  1. 前往 Actions 页面 | Go to the Actions page
    点击进入工作流 → | Click to open workflow →

  2. 点击 Run workflow | Click Run workflow

  • 设置需排除的文件/目录(目录请以"/"结尾)
    Set files/directories to exclude (directories should end with "/")
  • 将目标分支设置为 \ Set the target branch to:fix-anonymous-kconfig-choice
  • 设置PR number为 \ Set the PR number to:11543
  1. 等待工作流完成 | Wait for the workflow to complete
    格式化后的代码将自动推送至你的分支。
    The formatted code will be automatically pushed to your branch.

完成后,提交将自动更新至 fix-anonymous-kconfig-choice 分支,关联的 Pull Request 也会同步更新。
Once completed, commits will be pushed to the fix-anonymous-kconfig-choice branch automatically, and the related Pull Request will be updated.

如有问题欢迎联系我们,再次感谢您的贡献!💐
If you have any questions, feel free to reach out. Thanks again for your contribution!

@github-actions github-actions Bot added BSP: NXP Code related with NXP BSP: STM32 BSP related with ST/STM32 BSP: Loongson BSP related with Loongson BSP BSP: HC32 BSP related with HC32 BSP: ESP32 BSP related with ESP BSP: Renesas BSP related with Renesas BSP: GD32 BSP related with GD32 BSP: Infineon BSP related with Infineon BSP: Cvitek BSP related with cvitek BSP: Phytium BSP related with Phytium BSP: AT32 BSP related with AT32 BSP: WCH BSP related with WCH Component component: drivers/graphic component: drivers/serial component: drivers BSP: Novosns BSP related with novosns labels Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

@CYFS3
CYFS3 force-pushed the fix-anonymous-kconfig-choice branch 3 times, most recently from 2b8cbb4 to 8cb8fab Compare July 9, 2026 02:20
Comment thread bsp/allwinner/libraries/drivers/Kconfig Outdated
default y
if BSP_USING_UART0
choice
choice UART0_TX_GPIO_8B0E_SEL

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个字段中的8B0E是什么含义啊,感觉是随机生成的数字,感觉不是很好,如果后续还有BSP的Kconfig中新增choice字段,应该如何规范命名呢

@CYFS3 CYFS3 Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经去掉,可以按照 choice <scope>_<object>_<purpose>_SEL这样的格式

@CYFS3
CYFS3 force-pushed the fix-anonymous-kconfig-choice branch from 8cb8fab to 97e8089 Compare July 9, 2026 02:49
@supperthomas
supperthomas requested a review from Copilot July 11, 2026 07:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR systematically assigns explicit symbol names to previously anonymous Kconfig choice blocks across RT-Thread components and many BSPs, to avoid kconfiglib warnings caused by anonymous-choice object reference inconsistencies.
本 PR 为仓库中大量原本匿名的 Kconfig choice 增加显式符号名,以避免 kconfiglib 在解析匿名 choice 时出现对象引用不一致相关告警。

Changes / 变更:

  • Add explicit names to anonymous choice declarations (no behavioral changes intended).
    为匿名 choice 增加显式名称(按描述不改变配置行为)。
  • Broad coverage across BSP Kconfig files plus a few component Kconfig menus.
    覆盖大量 BSP Kconfig 文件,以及少量组件 Kconfig。
  • Review findings include a couple of copy/paste inconsistencies that should be fixed before merge.
    审查发现少量疑似复制粘贴导致的不一致问题,建议合入前修复。

PR Title check / PR 标题检查(按仓库规范):
English: Title fix: name anonymous Kconfig choices does not follow the recommended lowercase prefix format like [module][subsystem] Description. Consider e.g. [kconfig] Name anonymous Kconfig choices.
中文:标题 fix: name anonymous Kconfig choices 不符合建议的前缀格式(小写的 [模块][子系统] 描述)。可考虑例如:[kconfig] Name anonymous Kconfig choices

Reviewed changes

Copilot reviewed 233 out of 233 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
components/drivers/serial/device/virtual/Kconfig Name previously-anonymous choice in virtual serial font selection
components/drivers/graphic/logo/Kconfig Name previously-anonymous choice for logo rendering selection
bsp/xuantie/smartl/e907/Kconfig Name anonymous choice in FPU configuration
bsp/xuantie/smartl/e906/Kconfig Name anonymous choice in FPU configuration
bsp/x86/Kconfig Name anonymous choice for C library type selection
bsp/wch/risc-v/yd-ch32v307vct6/board/Kconfig Name anonymous choice for RTC clock selection
bsp/wch/risc-v/ch32v208w-r0/board/Kconfig Name multiple anonymous timer-mode choices
bsp/wch/arm/ch32f203r-evt/board/Kconfig Name multiple anonymous timer-mode choices
bsp/wch/arm/ch32f103c8-core/board/Kconfig Name multiple anonymous timer-mode choices
bsp/w60x/drivers/Kconfig Name anonymous SoC/board type choices
bsp/tm4c123bsp/board/Kconfig Name anonymous I2C clock and RTC clock-source choices
bsp/tkm32F499/drivers/Kconfig Name anonymous RTC clock-source choice
bsp/tae32f5300/drivers/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32wb55-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32l4r5-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32l496-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32l496-ali-developer/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32l476-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32l475-atk-pandora/board/Kconfig Name anonymous Arduino GUI framework and RTC clock-source choices
bsp/stm32/stm32l433-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32l433-ali-startkit/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32l432-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32l431-tencentos-tiny-EVB_MX+/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32l412-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32h750-weact-ministm32h7xx/board/Kconfig Name anonymous LCD backlight choice
bsp/stm32/stm32h750-artpi/board/Kconfig Name anonymous Ethernet PHY choice
bsp/stm32/stm32h743-atk-apollo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32g491-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32g070-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f769-st-disco/board/Kconfig Name anonymous on-board PHY chip choice
bsp/stm32/stm32f767-st-nucleo/board/Kconfig Name anonymous on-board PHY chip choice
bsp/stm32/stm32f767-fire-challenger-v1/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f767-atk-apollo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f746-st-nucleo/board/Kconfig Name anonymous PHY chip and RTC clock-source choices
bsp/stm32/stm32f469-st-disco/board/Kconfig Name anonymous touch IC type choice
bsp/stm32/stm32f429-fire-challenger/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f429-atk-apollo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f429-armfly-v6/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f413-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f411-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f411-atk-nano/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f407-rt-spark/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f407-micu/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f407-lckfb-skystar/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f407-fk407m2-zgt6/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f407-atk-explorer/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f407-armfly-v5/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f103-hw100k-ibox/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f103-fire-arbitrary/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f103-blue-pill/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f103-atk-warshipv3/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f103-atk-nano/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/stm32f091-st-nucleo/board/Kconfig Name anonymous RTC clock-source choice
bsp/stm32/libraries/templates/stm32xx_board_Kconfig Name anonymous RTC clock-source choice in STM32 board template
bsp/stm32/libraries/templates/stm32wbxx/board/Kconfig Name anonymous RTC clock-source choice in STM32WB template
bsp/stm32/libraries/templates/stm32l1xx/board/Kconfig Name anonymous RTC clock-source choice in STM32L1 template
bsp/renesas/rzt2m_rsk/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/rzn2l_etherkit/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/ra8m1-ek/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/ra8d1-vision-board/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/ra8d1-ek/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/ra6m4-iot/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/ra6m4-cpk/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/ra6m3-hmi-board/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/ra6m3-ek/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/ra4m2-eco/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/ra2l1-cpk/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/ra2a1-ek/board/Kconfig Name anonymous SCI mode choices
bsp/renesas/libraries/Kconfig Name anonymous nano console UART choice
bsp/renesas/ebf_qi_min_6m5/board/Kconfig Name anonymous SCI mode choices
bsp/qemu-virt64-riscv/Kconfig Name anonymous vector length choice
bsp/phytium/libraries/drivers/Kconfig Name multiple anonymous peripheral-mode choices
bsp/nxp/lpc/lpc55sxx/lpc55s69_nxp_evk/board/Kconfig Name anonymous UART/I2C baudrate choices
bsp/nxp/lpc/lpc55sxx/lpc55s36_nxp_evk/board/Kconfig Name anonymous UART/I2C baudrate choices
bsp/nxp/lpc/lpc55sxx/lpc55s28_nxp_evk/board/Kconfig Name anonymous UART/I2C baudrate choices
bsp/nxp/lpc/lpc55sxx/lpc55s16_nxp_evk/board/Kconfig Name anonymous UART/I2C baudrate choices
bsp/nxp/lpc/lpc55sxx/lpc55s06_nxp_evk/board/Kconfig Name anonymous UART/I2C baudrate choices
bsp/nxp/lpc/lpc55sxx/libraries/template/lpc55s6xxxx/board/Kconfig Name anonymous UART/I2C baudrate choices in template
bsp/nxp/imx/imxrt/libraries/templates/imxrt1050xxx/board/Kconfig Name anonymous I2C baudrate choice in template
bsp/nxp/imx/imxrt/imxrt1180-nxp-evk/cm7/board/Kconfig Name anonymous display panel/controller choices
bsp/nxp/imx/imxrt/imxrt1170-nxp-evk/board/Kconfig Name anonymous display panel/controller choices
bsp/nxp/imx/imxrt/imxrt1060-nxp-evk/board/Kconfig Name anonymous panel and I2C baudrate choices
bsp/nxp/imx/imxrt/imxrt1052-nxp-evk/board/Kconfig Name anonymous I2C baudrate choice
bsp/nxp/imx/imxrt/imxrt1052-fire-pro/board/Kconfig Name anonymous I2C baudrate choice
bsp/nxp/imx/imxrt/imxrt1021-nxp-evk/board/Kconfig Name anonymous I2C baudrate choice
bsp/nuvoton/numaker-pfm-m487/board/Kconfig Name anonymous USB port selection choice
bsp/nuvoton/numaker-m467hj/board/Kconfig Name anonymous USB port selection choice
bsp/nuvoton/numaker-m2354/board/Kconfig Name anonymous FS USB ports choice
bsp/nuvoton/numaker-iot-m487/board/Kconfig Name anonymous USB port selection choice
bsp/nuvoton/numaker-iot-m467/board/Kconfig Name anonymous USB port selection choice
bsp/nuvoton/numaker-hmi-ma35d1/board/Kconfig Name anonymous LCD/touch device choices
bsp/nuvoton/nk-n9h30/board/Kconfig Name anonymous LCD/touch device choices
bsp/nuvoton/libraries/nuc980/rtt_port/Kconfig Name anonymous timer/SPI mode choices
bsp/nuvoton/libraries/nu_packages/Kconfig Name anonymous package interface/driver choices
bsp/nuvoton/libraries/n9h30/rtt_port/Kconfig Name anonymous timer/QSPI/LCM panel choices
bsp/nuvoton/libraries/m031/rtt_port/Kconfig Name anonymous timer/USCI/PWM/SPI mode choices
bsp/nrf5x/nrf5340/board/Kconfig Name anonymous board/UART/BLE stack choices
bsp/nrf5x/nrf52840/board/Kconfig Name anonymous board/UART/BLE stack choices
bsp/nrf5x/nrf52833/board/Kconfig Name anonymous board/BLE stack choices
bsp/nrf5x/nrf52832/board/Kconfig Name anonymous UART/BLE stack choices
bsp/nrf5x/nrf51822/board/Kconfig Name anonymous board selection choice
bsp/nrf5x/libraries/templates/nrfx/board/Kconfig Name anonymous board selection choice in template
bsp/novosns/ns800/ns800rt7p65-nssinepad/board/Kconfig Name anonymous external RTC backend choice
bsp/n32g452xx/n32g452xx-mini-system/board/Kconfig Name anonymous package/JTAG/UART pin choices
bsp/n32/n32hxxx/n32h760zil7-stb/board/Kconfig Name anonymous RTC clock-source choice
bsp/n32/n32gxx_lxx/n32wb45xl-evb/board/Kconfig Name anonymous RTC and TIM remap choices
bsp/n32/n32gxx_lxx/n32l43xrl-stb/board/Kconfig Name anonymous RTC clock-source and PWM pin choices
bsp/n32/n32gxx_lxx/n32l43xml-stb/board/Kconfig Name anonymous RTC clock-source and PWM pin choices
bsp/n32/n32gxx_lxx/n32l436-evb/board/Kconfig Name anonymous RTC clock-source and PWM pin choices
bsp/n32/n32gxx_lxx/n32l40xcl-stb/board/Kconfig Name anonymous RTC clock-source and PWM pin choices
bsp/n32/n32gxx_lxx/n32g4frml-stb/board/Kconfig Name anonymous RTC and TIM remap choices
bsp/n32/n32gxx_lxx/n32g45xvl-stb/board/Kconfig Name anonymous UART AFIO mode and other choices
bsp/n32/n32gxx_lxx/n32g45xrl-stb/board/Kconfig Name anonymous RTC and TIM remap choices
bsp/n32/n32gxx_lxx/n32g45xml-stb/board/Kconfig Name anonymous RTC and TIM remap choices
bsp/n32/n32gxx_lxx/n32g45xcl-stb/board/Kconfig Name anonymous RTC and TIM remap choices
bsp/n32/n32gxx_lxx/n32g457qel-stb/board/Kconfig Name anonymous RTC and TIM remap choices
bsp/n32/n32gxx_lxx/n32g43xcl-stb/board/Kconfig Name anonymous RTC and TIM remap choices
bsp/mini2440/Kconfig Name anonymous LCD selection choice
bsp/microchip/saml10/board/Kconfig Name anonymous chip selection choice
bsp/microchip/same70/board/Kconfig Name anonymous chip selection choice
bsp/microchip/same54/board/Kconfig Name anonymous chip selection choice
bsp/microchip/samd51-seeed-wio-terminal/board/Kconfig Name anonymous chip selection choice
bsp/microchip/samd51-adafruit-metro-m4/board/Kconfig Name anonymous chip selection choice
bsp/microchip/samc21/board/Kconfig Name anonymous chip selection choice
bsp/loongson/ls1cdev/Kconfig Name anonymous board/touch format choices
bsp/k210/drivers/Kconfig Name anonymous LCD backlight polarity and board selection choices
bsp/Infineon/psoc6-evaluationkit-062S2/board/Kconfig Name anonymous RTC clock-source choice
bsp/Infineon/psoc6-cy8cproto-062S3-4343W/board/Kconfig Name anonymous RTC clock-source choice
bsp/Infineon/psoc6-cy8ckit-062s4/board/Kconfig Name anonymous RTC clock-source choice
bsp/Infineon/psoc6-cy8ckit-062S2-43012/board/Kconfig Name anonymous RTC clock-source choice
bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/board/Kconfig Name anonymous RTC clock-source choice
bsp/Infineon/psoc6-cy8ckit-062-BLE/board/Kconfig Name anonymous RTC clock-source choice
bsp/Infineon/libraries/templates/PSOC62/board/Kconfig Name anonymous RTC clock-source choice in template
bsp/ht32/ht32f53252/board/Kconfig Name anonymous chip/peripheral configuration choices
bsp/ht32/ht32f52352/board/Kconfig Name anonymous chip/peripheral configuration choices
bsp/ht32/ht32f12366/board/Kconfig Name anonymous chip/peripheral configuration choices
bsp/hpmicro/hpm6p00evk/board/Kconfig Name anonymous SPI/ETH-related choices
bsp/hpmicro/hpm6750evk/board/Kconfig Name anonymous SDXC bus-width/voltage choices
bsp/hpmicro/hpm5e00evk/board/Kconfig Name anonymous SPI/ETH-related choices
bsp/hpmicro/hpm5301evklite/board/Kconfig Name anonymous SPI IO/CS choices
bsp/hpmicro/hpm5300evk/board/Kconfig Name anonymous SPI IO/CS choices
bsp/hk32/hk32f030c8-mini/board/Kconfig Name anonymous RTC clock-source choice
bsp/hc32/lckfb-hc32f4a0-lqfp100/board/Kconfig Name multiple anonymous ETH/memory/crypto/USB/RTC/PM choices
bsp/hc32/ev_hc32f4a8_lqfp176/board/Kconfig Name multiple anonymous ETH/memory/crypto/USB/RTC/PM choices
bsp/hc32/ev_hc32f4a0_lqfp176/board/Kconfig Name multiple anonymous ETH/memory/crypto/USB/RTC/PM choices
bsp/hc32/ev_hc32f472_lqfp100/board/Kconfig Name multiple anonymous crypto/USB/RTC/PM choices
bsp/hc32/ev_hc32f460_lqfp100_v2/board/Kconfig Name multiple anonymous crypto/USB/RTC/PM choices
bsp/hc32/ev_hc32f448_lqfp80/board/Kconfig Name multiple anonymous crypto/USB/RTC/PM choices
bsp/hc32/ev_hc32f334_lqfp64/board/Kconfig Name multiple anonymous crypto/USB/RTC/PM choices
bsp/gd32/risc-v/gd32vw553h-eval/board/Kconfig Name anonymous WDT/I2C pin choices
bsp/gd32/risc-v/gd32vf103v-eval/board/Kconfig Name anonymous RTC clock-source choice
bsp/gd32/risc-v/gd32vf103r-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/gd32/arm/libraries/gd32_drivers/Kconfig Name anonymous I2C receiving scheme choice
bsp/gd32/arm/gd32h759i-start/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32h759i-eval/board/Kconfig Name anonymous UART framework choice
bsp/gd32/arm/gd32e503v-eval/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32e230-lckfb/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32527I-eval/board/Kconfig Name anonymous UART/alarm and CAN pin choices
bsp/gd32/arm/gd32470z-lckfb/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32470i-eval/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32450z-eval/board/Kconfig Name anonymous UART/alarm and CAN pin choices
bsp/gd32/arm/gd32407v-start/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32407v-lckfb/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32405rg/board/Kconfig Name anonymous UART/I2C receiving/alarm selection choices
bsp/gd32/arm/gd32307e-start/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32305r-start/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32303e-eval/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32303c-start/board/Kconfig Name anonymous UART framework choice
bsp/gd32/arm/gd32207i-eval/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32205r-start/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32107c-eval/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32105r-start/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32105c-eval/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/gd32/arm/gd32103c-eval/board/Kconfig Name anonymous UART framework/alarm selection choices
bsp/ft32/ft32f407xe-starter/board/Kconfig Name anonymous UART framework choice
bsp/ft32/ft32f072xb-starter/board/Kconfig Name anonymous UART framework choice
bsp/ESP/libraries/drivers/Kconfig Name anonymous ESP32-C3 BSP board choice
bsp/cvitek/cv18xx_risc-v/Kconfig Name anonymous board type choice
bsp/cvitek/cv18xx_aarch64/Kconfig Name anonymous board type choice
bsp/cvitek/cv18xx_aarch64/board/Kconfig Name anonymous GIC version choice
bsp/cvitek/c906_little/Kconfig Name anonymous board type choice
bsp/bouffalo_lab/bl808/d0/board/Kconfig Name multiple anonymous UART/I2C/SPI pin choices
bsp/bouffalo_lab/bl61x/board/Kconfig Name anonymous module selection choice
bsp/avr32/at32uc3b0256/Kconfig Name anonymous board and UART pin choices
bsp/avr32/at32uc3a0256/Kconfig Name anonymous board and UART pin choices
bsp/at32/at32m416-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32m412-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32f457-start/board/Kconfig Name anonymous PHY and RTC clock-source choices
bsp/at32/at32f456-start/board/Kconfig Name anonymous PHY and RTC clock-source choices
bsp/at32/at32f455-start/board/Kconfig Name anonymous PHY and RTC clock-source choices
bsp/at32/at32f437-start/board/Kconfig Name anonymous PHY and RTC clock-source choices
bsp/at32/at32f435-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32f425-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32f423-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32f421-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32f415-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32f413-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32f407-start/board/Kconfig Name anonymous PHY and RTC clock-source choices
bsp/at32/at32f405-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32f403a-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32f402-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32a423-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/at32/at32a403a-start/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32s103vb-miniboard/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32f407zg-evalboard/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32f407ig-minibroard/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32f107vc-evalboard/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32f103xe-minibroard/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32f103vb-miniboard/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32f091vc-miniboard/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32f072vb-miniboard/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32f051r8-evalboard/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32f030r8-miniboard/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32e103ze-tinyboard/board/Kconfig Name anonymous RTC clock-source choice
bsp/apm32/apm32e103ze-evalboard/board/Kconfig Name anonymous RTC clock-source choice
bsp/allwinner/libraries/sunxi-hal/hal/source/gmac/Kconfig Name anonymous GMAC interface/GPIO choices
bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/Kconfig Name anonymous DISP2 framebuffer rotation choice
bsp/acm32/acm32f4xx-nucleo/drivers/Kconfig Name anonymous ACM32 chip selection choice

bool "using TIM5"
default n

if BSP_USING_TIM4
Comment on lines +464 to 465
choice TIM5_CLK_TMR_PWM_MO_SEL
prompt "Using TIM5 as clock_timer (PWM mode not supported)"
default n
if BSP_USING_UART7
choice
choice BSP_UART_SEL
@CYFS3
CYFS3 force-pushed the fix-anonymous-kconfig-choice branch from 97e8089 to d06ce19 Compare July 20, 2026 02:57
@Rbb666
Rbb666 merged commit 25212f3 into RT-Thread:master Jul 20, 2026
105 of 106 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BSP: AT32 BSP related with AT32 BSP: Cvitek BSP related with cvitek BSP: ESP32 BSP related with ESP BSP: GD32 BSP related with GD32 BSP: HC32 BSP related with HC32 BSP: Infineon BSP related with Infineon BSP: Loongson BSP related with Loongson BSP: Novosns BSP related with novosns BSP: NXP Code related with NXP BSP: Phytium BSP related with Phytium BSP: Renesas BSP related with Renesas BSP: STM32 BSP related with ST/STM32 BSP: WCH BSP related with WCH BSP component: drivers/graphic component: drivers/serial component: drivers Component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants