-
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
Newflydd dev #9898
Closed
Closed
Newflydd dev #9898
Conversation
This file contains 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
fix `rt_pin_get` function for RENESAS chips, use "PXX_X" or "pXX_X" string format to define a PIN
fix a register problem for R9A07 series chips
RT_USING_CI_ACTION will select RT_UTEST_USING_AUTO_RUN and RT_UTEST_USING_ALL_CASES
pXX_X中xxx可以给个具体例子嘛 另外注释需要用/**/ |
P18_1 |
这块是否也有在ra平台上验证通过呢? |
没有,需要调整,暂时转draft,等我修完。 RA的FSP用的PXXX表达式定义PIN,其中第一个X是PORT,后面两个XX是PIN,也就是PORT1位,PIN2位 RX的FSP用的PXX_X定义PIN,也就是PORT2位,PIN1位 二者不兼容,等我用宏区分一下。 |
RISCV_S_MODE configuration only affects the code in libcpu/risc-v/virt64, and the only bsp using this libcpu is qemu-virt64-riscv. Considering s-mode is the default mode RT-Thread running on virt64 machine, it seems unnecessary to make RISCV_S_MODE a Kconfig option. Solution: Remove RISCV_S_MODE from Kconfig and define it as a macro in the code in libcpu/risc-v/virt64. Plus, due to this macro is only related to virt64, rename RISCV_S_MODE to RISCV_VIRT64_S_MODE. Update the .config/rtconfig.h in this patch. Signed-off-by: Chen Wang <[email protected]>
…into newflydd_dev
github-actions
bot
added
Kernel
PR has src relate code
tools
Arch: RISC-V
BSP related with risc-v
libcpu
Component
labels
Jan 13, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Arch: RISC-V
BSP related with risc-v
BSP: Renesas
BSP related with Renesas
BSP
Component
Kernel
PR has src relate code
libcpu
tools
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.
拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
rt_pin_get
函数无法获取准确的引脚你的解决方案是什么 (what is your solution)
ra_pin_get
函数,规范PIN表达式定义,使用“PXX_X”或“pXX_X”的格式定义PIN引脚ra_uart_putc
函数,增加宏判断,并修复R9A07系列芯片的寄存器问题请提供验证的bsp和config (provide the config and bsp)
]
当前拉取/合并请求的状态 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