-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[bsp][renesas] add device drivers (i2c/spi/adc/pwm/flash/gpio interrupt) support #10690
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
[bsp][renesas] add EK-RA2E2 MDK support
* 添加了spim的底层驱动和设备驱动
* 添加了nrf52840 的spim底层驱动和设备驱动
* 添加了spim的底层驱动和设备驱动
* 添加了spim的底层驱动和设备驱动
* 代码规范
* 1. 在rt-thread\bsp\nrf5x\nrf52840\.ci\attachconfig\ci.attachconfig.yml中添加了spim的相关设置。
devices.spim:
kconfig:
- CONFIG_RT_USING_SPIM=y
- CONFIG_BSP_USING_SPIM=y
2. nrfx_dpim.h 注释中纠正了错误的拼写
3. 多个文件中:nrfx_spim.c drv_spim.c drv_spim.h 删减了多余的宏定义:USING_SPI_DMA
4. nrfx_spim.c中删除了DMA_TRANS_MIN_LEN,该宏定义定义了spi+dma最小传输字节,直接定义20。
This commit introduces the PDMA (Peripheral DMA) driver for K230 SoC, providing essential DMA capabilities for peripheral data transfers. Key features implemented: 1. PDMA channel request/release management 2. Channel start/stop control 3. Interrupt callback registration 4. Data transfer between device ports and DDR memory The driver includes: - Core driver implementation (drv_pdma.c/h) - Build system support (SConscript) - Basic test cases (test_pdma.c) Tested with: - PDMA channel request/release - DDR to UART TX FIFO transfers - UART RX FIFO to DDR transfers Signed-off-by: eatvector <2302147681@qq.com>
Fixes: 62f3fb4: fix(kernel)/improve(utest):fix the legacy issue related to the length of the object name version RT-Thread#10537 After this patch, if length of object name exceeds (RT_NAME_MAX - 1), RTT will assert and oops when runing, but not in period of building. Though I don't think it's a good solution, but don't want to argue more about this. Old RT_NAME_MAX is 8 for k230, and some object names, such as "hwtimer0", which name length is 8, breaking the new rule. Just update configuration of k230 bsp and increase RT_NAME_MAX from 8 to 16, which should be long enough for k230. Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Originally, the interrupt definitions of various peripherals were distributed in various peripheral drivers, resulting in duplicate definitions. Now they are defined in one place. Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
…s exception_stack. (RT-Thread#10619)
Added a temperature sensor driver and a test file test_ts.c. The test uses temperature sensor to measure the chip temperature, to check if the driver works correctly. Signed-off-by: XU HU 1337858472@qq.com
* update nxp mcxa driver to support frdm-mcxa346 * update NXP bsp README * update frdm-mcxa346 project [bsp][renesas]add EK-RA2E2 mdk support
* [component][net][at] at_client增加deInit接口 * [component][net][at] at_client优化serial_v2适配
Update RT_VERSION to 5.2.2.
Signed-off-by: GuEe-GUI <2991707448@qq.com>
Refer to the issue described in PR RT-Thread#10599. This was a temporary fix at that time. After further research, we discovered that this issue can be addressed using the "@cond" command supported by Doxygen. Since we currently do not intend to generate two sets of documentation for UP and MP when generating Doxygen documentation, the current solution is to generate only MP documentation by default. For functions defined in MP but not in UP, we will use the "@note" command in the function's Doxygen comment to indicate whether the function supports both UP and MP, or only MP. Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
[bsp][renesas] add spi device option to Kconfig, disabled by default [bsp][renesas] add timer pwm function support, disabled by default [bsp][renesas] fixed the compile error in drv_gpio.c [bsp][renesas] add adc device option to Kconfig, disabled by default [bsp][renesas] support code flash operations
📌 Code Review Assignment🏷️ Tag: bsp_k230Reviewers: unicornx Changed Files (Click to expand)
🏷️ Tag: bsp_renesasReviewers: kurisaW Changed Files (Click to expand)
🏷️ Tag: workflowReviewers: Rbb666 kurisaW supperthomas Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2025-09-12 22:15 CST)
📝 Review Instructions
|
拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
补充 EK-RA2E2 的驱动支持
包括 i2c,spi,adc,pwm,flash,gpio interrupt support
你的解决方案是什么 (what is your solution)
请提供验证的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