-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[bsp][wch] move ch32v307 sdk to package #9983
Conversation
感谢pr,ci加一下 |
1 similar comment
感谢pr,ci加一下 |
工具链帮忙加一下到你们的release里面吧 |
参加一下,等合并之后rebase一下即可 |
这个带wch快速中断的适配居然能过一般的gcc |
#9984 已经合并了 |
e32c58c
to
facff31
Compare
…read into pr-wch-sdk-as-pkg # Conflicts: # bsp/wch/risc-v/yd-ch32v307vct6/.config resolved by pr-wch-sdk-as-pkg version # bsp/wch/risc-v/yd-ch32v307vct6/rtconfig.h
ci估计要package那边合了才能过 |
|
62dc3b2
to
f712e18
Compare
@@ -10,7 +10,7 @@ | |||
|
|||
if CROSS_TOOL == 'gcc': | |||
PLATFORM = 'gcc' | |||
EXEC_PATH = r'/opt/MRS_Toolchain_Linux_x64_V1.90/RISC-V_Embedded_GCC/bin/' | |||
EXEC_PATH = r'C:\Users\yekai\Documents\DevTools\wch-riscv-none-elf-gcc-8\bin' |
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.
EXEC_PATH = r'C:\Users\yekai\Documents\DevTools\wch-riscv-none-elf-gcc-8\bin' | |
EXEC_PATH = r'/opt/MRS_Toolchain_Linux_x64_V1.90/RISC-V_Embedded_GCC/bin/'' |
这里路径改一下,不要用绝对路径
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.
这个toolchain应该是开发者自己填的吧?
而且应该是从mrs捞出来的或者自己下的,怎么不绝对
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.
有可能是linux的,让客户自己自行设置即可,可以设置环境变量。总之你这里yekai之类的不建议出现的。恢复回去就行了。
@@ -10,7 +10,7 @@ | |||
|
|||
if CROSS_TOOL == 'gcc': | |||
PLATFORM = 'gcc' | |||
EXEC_PATH = r'/opt/MRS_Toolchain_Linux_x64_V1.90/RISC-V_Embedded_GCC/bin/' | |||
EXEC_PATH = r'C:\Users\yekai\Documents\DevTools\wch-riscv-none-elf-gcc-8\bin' |
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.
有可能是linux的,让客户自己自行设置即可,可以设置环境变量。总之你这里yekai之类的不建议出现的。恢复回去就行了。
rt-thread/bsp/stm32/stm32l496-st-nucleo/rtconfig.py Lines 18 to 30 in 4b25b5e
或者你可以参考下这个改法。 |
现在的和这个有区别吗?本身wch的rv就只有gcc |
感谢pr |
拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
#9960 (comment)
你的解决方案是什么 (what is your solution)
上游sdk+patch形式制作软件包
请提供验证的bsp和config (provide the config and bsp)
BSP: 源地v307核心板(yd-ch32v307vct6)
.config:
action:
]
当前拉取/合并请求的状态 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 up