-
Notifications
You must be signed in to change notification settings - Fork 6
feat: Add 25 boards with bilingual descriptions to create-project UI #28
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
Conversation
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
resources/bi.json
Outdated
| "path": "bsp/qemu-virt64-riscv64" | ||
| }, | ||
| { | ||
| "name": "qemu-riscv-virt32", |
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.
需要double check下 rt-thread bsp,似乎没有这个 qemu-riscv-virt32 bsp
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 需要double check下 rt-thread bsp,没有这个 qemu-riscv-virt32 bsp
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.
Fixed in d9f6824. Removed the non-existent qemu-riscv-virt32 BSP from the board list.
resources/bi.json
Outdated
| "path": "bsp/qemu-riscv-virt32" | ||
| }, | ||
| { | ||
| "name": "qemu-riscv-virt64", |
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.
需要double check下 rt-thread bsp,应该只有 qemu-virt64-riscv ,没有 qemu-riscv-virt64。
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 需要double check下 rt-thread bsp,应该只有 qemu-virt64-riscv ,没有 qemu-riscv-virt64。
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.
Fixed in d9f6824. Corrected to qemu-virt64-riscv and removed the duplicate qemu-riscv-virt64 entry.
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
resources/bi.json
Outdated
| ] | ||
| }, | ||
| { | ||
| "manufacturer": "Espressif", |
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 Espressif 相关的BSP都暂时移除吧,在RT-Thread中的支持还不算完备。可以把瑞萨,英飞凌的几个在维护的BSP加入。
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.
Fixed in 8259dcf. Removed Espressif BSPs (esp32, esp32c3) and added Renesas (ra6m3-hmi-board, ra6m4-cpk) and Infineon (psoc62-cy8ckit-062s2-43012, xmc4500-relax) BSPs.
resources/bi.json
Outdated
| "manufacturer": "GigaDevice", | ||
| "boards": [ | ||
| { | ||
| "name": "gd32vf103-rvstar", |
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 GD32的BSP应该主要是位于 bsp/gd32 下的一些活跃的BSP,而不是直接 bsp 目录下的。
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.
Fixed in d747574. Updated GigaDevice BSPs to use boards from bsp/gd32/arm/ directory (gd32450z-eval, gd32407v-start) instead of the root bsp directory.
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
resources/bi.json
Outdated
| "path": "bsp/renesas/ra6m3-hmi-board" | ||
| }, | ||
| { | ||
| "name": "ra6m4-cpk", |
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 这个更换成 renesas/ra8d1-vision-board,以及添加 renesas/rzn2l_etherkit
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.
Fixed in 5bbd67a. Replaced ra6m4-cpk with ra8d1-vision-board and added rzn2l_etherkit to the Renesas boards.
| "board": "imxrt1064-evk", | ||
| "path": "bsp/imxrt/imxrt1064-evk" | ||
| } | ||
| ] |
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 继续添加 nxp/mcx/mcxa/frdm-mcxa156,nxp/mcx/mcxa/frdm-mcxa346,nxp/mcx/mcxn/frdm-mcxn947 这些bsp。
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.
Fixed in 5bbd67a. Added three NXP MCX boards: frdm-mcxa156, frdm-mcxa346, and frdm-mcxn947.
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
| }, | ||
| { | ||
| "manufacturer": "Infineon", | ||
| "boards": [ |
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.
英飞凌的bsp放这份 Infineon/psoc6-evaluationkit-062S2 ,不是这里提及的两份
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 英飞凌的bsp放这份 Infineon/psoc6-evaluationkit-062S2 ,不是这里提及的两份
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.
Fixed in b2b68a5. Replaced both Infineon BSPs with psoc6-evaluationkit-062S2 from bsp/Infineon/psoc6-evaluationkit-062S2.
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
Overview
This PR expands the board selection in the create-project interface from 5 boards (2 manufacturers) to 25 boards (8 manufacturers), with bilingual descriptions (English and Chinese) that are displayed in the UI when users select a board.
Changes
Board List Expansion (
resources/bi.json)Expanded the board catalog to include popular and active BSPs from the RT-Thread ecosystem:
qemu-vexpress-a9,qemu-virt64-aarch64, andqemu-virt64-riscv- all verified to exist in RT-Thread repositorybsp/Infineon/directorybsp/gd32/arm/directoryAll board descriptions now follow a bilingual format: "English description. 中文描述。"
UI Enhancements (
src/vue/create-project/)Added dynamic board description display in the create-project interface:
When users select a board, the description automatically appears in the "创建工程说明" section, providing context about the selected hardware platform in both English and Chinese.
Backend Updates (
src/api.ts,src/webviews/create-project.ts)Modified the
getBoardInfo()function to return full board objects including descriptions:Added
getBoardInfoSimple()for backwards compatibility if needed.Architecture Coverage
The expanded board list now covers multiple architectures:
Testing
Backwards Compatibility
The Vue component handles both the legacy string format and new object format for board data, ensuring compatibility with existing configurations.
Fixes #27
Original prompt
Fixes #27
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.