Conversation
- 新增 CMakeLists.txt:使用 Ninja 构建,涵盖全部源文件、头文件路径、 链接脚本及 post-build 步骤(生成 .bin/.hex,打印 size) - 新增 CMakePresets.json:release / debug 两个预设,binaryDir 统一为 build/<presetName> - 新增 CMakeUserPresets.json.example:说明自定义工具链路径的写法 - 新增 cmake/toolchain-ch59x.cmake:RISC-V 工具链配置,路径由用户 通过 CMakeUserPresets / 环境变量 / cmake 变量显式指定 - 新增 tools/scripts/flash.py:跨平台 wchisp 封装脚本,支持 build / flash / verify / erase / reset / info / probe / eeprom / config - 新增 setup.py / flash.py(根目录入口):自动下载 wchisp 及快捷调用 - 更新 .gitignore:排除构建产物、wchisp 二进制及用户本地 preset
@vue/devtools-kit@7.7.2 在 vite 配置加载阶段调用了浏览器 API localStorage,导致 dev server 无法启动。移除该插件后恢复正常。
已迁移至 CMake 构建系统,.wvproj 不再需要维护
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
构建系统
CMakeLists.txt+CMakePresets.json),支持release/debug两个预设cmake/toolchain-ch59x.cmake:RISC-V 工具链配置,路径由用户显式指定CMakeUserPresets.json.example:本地工具链路径配置示例CH592F.wvproj开发工具
tools/scripts/flash.py:跨平台 wchisp 封装脚本,支持 build / flash / verify / erase / reset / info / probe / eeprom / configflash.py/setup.py:快捷入口与 wchisp 自动下载.gitignore:排除构建产物、wchisp 二进制、用户本地 presetStudio
vite-plugin-vue-devtools导致 dev server 启动崩溃的问题