-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Reorganize Group names in build system for clarity and IDE integration #10923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
|
…iler→Libc Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
📌 Code Review Assignment🏷️ Tag: componentsReviewers: Maihuanyi Changed Files (Click to expand)
🏷️ Tag: components_libcReviewers: GorrayLi mysterywolf Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2025-11-12 05:14 CST)
📝 Review Instructions
|
| src += Glob('platform/rtthread/usb_check.c') | ||
|
|
||
| group = DefineGroup('CherryUSB', src, depend = ['RT_USING_CHERRYUSB'], LIBS = LIBS, LIBPATH=LIBPATH, CPPPATH = path, CPPDEFINES = CPPDEFINES) | ||
| group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_CHERRYUSB'], LIBS = LIBS, LIBPATH=LIBPATH, CPPPATH = path, CPPDEFINES = CPPDEFINES) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot CherryUSB部分更改成UsbStack
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed CherryUSB group to UsbStack in bb1688f.
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
拉取/合并请求描述:(PR description)
为什么提交这份PR (why to submit this PR)
当前基础系统(Kernel, shell, libc/posix, file system, network stack, device subsystem)的Group划分显得很乱,很随意,需要对这些Group划分进行整理,变得简单清晰。Group名称会在一些IDE中作为分类组出现,因此需要简洁、分类清晰、条理清晰。
你的解决方案是什么 (what is your solution)
统一规范化基础系统的Group命名:
基础系统组重命名:
klibc→Libc(kernel libc, 1个文件)libcpu→CPU(所有CPU架构, 56个文件)mm→Memm(内存管理, 1个文件)POSIX→Libc(POSIX接口, 15个文件)Compiler→Libc(编译器支持, 9个文件)设备驱动统一化:
ktime→DeviceDrivers(1个文件)CherryUSB→UsbStack(1个文件,USB协议栈独立分组)DeviceDrivers(48个文件)影响范围:
DefineGroup()的字符串参数,无功能性改变重组后的Group结构:
Libc,KernelCPUMemmDeviceDriversUsbStackFilesystemlwIP,SAL,AT请提供验证的bsp和config (provide the config and bsp)
BSP: bsp/qemu-virt64-aarch64
.config: 默认配置
action: 构建系统dry-run测试通过
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0代码,不包含已经被注释了的代码 All redundant code is removed and cleaned upFixes #10904
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.