RT-Thread / RT-Thread/rt-thread
[Bug] env工具中 usb选项一旦进入就无法取消
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
RT-Thread Version
最新版
Hardware Type/Architectures
usb
Develop Toolchain
Other
Describe the bug
在env工具中 一旦进入下面的选项,会自动锁定使用usb,并且无法取消
(Top) → RT-Thread Components → Using USB legacy version
RT-Thread Configuration
[ ] Using USB host
-*- Using USB device
(4096) usb thread stack size
(0x0FFE) USB Vendor ID
(0x0001) USB Product ID
[ ] Enable composite device
Device type (Using custom class by register interface(empty)) --->
进入Device type (Using custom class by register interface(empty)) --->后:
下面的内容必须选一个, 导致刚才的父菜单无法取消功能
(Top) → RT-Thread Components → Using USB legacy version → Device type
RT-Thread Configuration
(X) Using custom class by register interface(empty)
( ) Enable to use device as CDC device
( ) Enable to use device as Mass Storage device
( ) Enable to use device as HID device
( ) Enable to use device as winusb device
( ) Enable to use device as audio device
Other additional context
No response
Contributor guide
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.
Research direction
Start by reproducing the configuration in the RT-Thread env tool at RT-Thread Components → Using USB legacy version → Device type. Inspect how the parent USB option and the Device type choices are linked; done means the parent option can be disabled without a child choice forcing it back on.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100