misc/autogen_parameter_manager/Kconfig 中的 select RT_USING_HEAP、select RT_USING_CAN 应删除
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- build-system
Research direction
Open misc/autogen_parameter_manager/Kconfig and compare its package definition with the upstream Kconfig described in the issue. Remove the unnecessary RT_USING_HEAP and RT_USING_CAN selections, then verify in menuconfig that enabling the package no longer forces those options and that the affected configuration can build without CAN support.
Written by the indexing model from the issue text.
Description
问题描述
autogen_parameter_manager 软件包的索引条目 misc/autogen_parameter_manager/Kconfig 中,包开关定义处带了两条多余的
select:
kconfig
menuconfig PKG_USING_AUTOGEN_PARAMETER_MANAGER
bool "autogen_parameter_manager: parameter table management library"
default n
select RT_USING_HEAP # ← 建议删除
select RT_USING_CAN # ← 建议删除
help
RT-Thread package wrapper for autogen_parameter_manager.
证据
- 实际包源码并没有这两条 select:autogen 的源码仓库 https://github.com/wdfk-prog/parameters 中,其 Kconfig 顶层只
select RT_USING_MUTEX - 带来的实际影响:
- 在 menuconfig 中勾选本包会强制勾选 CAN 设备框架(RT_USING_CAN),即使目标 BSP 根本没启用 CAN 外设(无
BSP_USING_CANx、HAL 未使能 HAL_CAN_MODULE_ENABLED),编译时 HAL_Drivers 仍会编译 drv_can.c,报 unknown type name
'CAN_HandleTypeDef',导致编译失败——而本包本身并不需要 CAN。
- 在 menuconfig 中勾选本包会强制勾选 CAN 设备框架(RT_USING_CAN),即使目标 BSP 根本没启用 CAN 外设(无
- Dominant language
- Python
- Stars
- 252
- Forks
- 358
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 13
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RT-Thread/packages
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
feat: 添加软件包同名检查 Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
丢失链接的软件包 Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
CI 问题 Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
All issues in RT-Thread/packages
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100