Commit Graph

142 Commits

Author SHA1 Message Date
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
Rbb666 e010d844af [Renesas]Fix ra6m3 build error 2023-02-06 22:18:07 -05:00
Rbb666 ae78aedfac [Renesas]Fix ra6m3 build error 2023-02-01 10:32:55 +08:00
Meco Man ddccef3a64 modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
Rbb666 7b35c8d353 Add Infineon Doc and modify file structure 2023-01-12 17:23:30 +08:00
Rbb666 168e12501d
Add RA6M3 Studio Support (#6835) 2023-01-11 16:22:17 +08:00
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
Rbb666 3dffc78f39 Add ra6m3 readme 2023-01-06 18:42:21 -05:00
Man, Jianting (Meco) 99bdf978d7
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak

* [rtdef] rename RT_USED attribute as rt_used

* [rtdef] rename RT_SECTION attribute as rt_section

* [rtdef] rename ALIGN attribute as rt_align

* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
vandoul 2380c32a71
修复bsp/renesas/libraries/drv_spi.c中event定义错误 (#6712)
* fix usage of rt_event for drv_spi.c in renesas's libraries.
2022-12-09 10:14:19 +08:00
vandoul ab9a80c408
add ra4m2 soc support, add sci spi support for ra4m2 (#6707)
* add ra4m2 soc support, add sci spi support for ra4m2

* update ra4m2-eco/README.md

* update ra4m2-eco/README.md

* rename board picture name.

* reduce picture size, update README.md, remove file 'Target 1.bat'

* reduce picture size
2022-12-08 10:04:04 -05:00
guo ecf2d82159
sync branch rt-smart. (#6641)
* Synchronize the code of the rt mart branch to the master branch.
  * TTY device
  * Add lwP code from rt-smart
  * Add vnode in DFS, but DFS will be re-write for rt-smart
  * There are three libcpu for rt-smart:
    * arm/cortex-a, arm/aarch64
    * riscv64

Co-authored-by: Rbb666 <zhangbingru@rt-thread.com>
Co-authored-by: zhkag <zhkag@foxmail.com>
2022-12-03 12:07:44 +08:00
Rbb666 622062aaec first commit ra6m3-ek 2022-12-01 21:22:09 -05:00
ShaquilleLiu 2878566c92
增加野火 启明6M5板级支持包 (#6616)
* 增加 野火 启明6M5 板级支持包

* 修复串口引脚描述错误

* 上一版提交,UART端口改了,但是uart编号漏改

Co-authored-by: Liuxiequan <liuxiequan@cvte.com>
2022-11-21 22:08:02 -05:00
wdfk-prog 569e2ae1e8
[CAN]update struct can_filter_item and rt_can_msg (#6556)
* 修改ry命令,已便于自定义保存路径

* modified:   components/utilities/ymodem/ry_sy.c

* 修复从被动错误恢复后发送返回异常

* 修复在自动重传模式下,ACK异常阻塞线程
- 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断
- 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。

* 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数

* formatting格式化代码

* update struct can_filter_item and rt_can_msg
1. 对过滤器号和索引号结构体定义中同一名称hdr进行重命名hdr_bank和hdr_index,
以便准确区分.采用宏定义兼容以前变量名.
2. 添加接收标识rxfifo,已指明是哪个RXFIFO.

* 更正42M下的波特率

* 修复接收获取索引号错误

* 添加接收标识

* 更新注释

* 取消CANFD限制

* update struct can_filter_item and rt_can_msg
2022-11-21 21:45:51 -05:00
KurisaW 731bb8ba87 [bug] 修复drv_usart_v2.c 2022-10-24 10:25:25 +08:00
Yifang 71e7efd41f
[add] 瑞萨RA6M4开发板对SEGGER-RTT作为console的使用文档 (#6512)
* [add] 新增README文档说明

瑞萨RA6M4开发板对segger_rtt使用通知

* Update README.md

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-10-12 18:40:34 -04:00
Yifang fafa611b00
[bsp][RA6M4]Add segger rtt function (#6508) 2022-10-11 23:49:11 -04:00
Yifang 464f827254
[annotation] renesas默认使用串口V2标准 (#6391) 2022-09-07 21:05:17 -04:00
Rbb666 a5bf680e2b 【renesas】Fix initialize assertion problem of serial V2 2022-08-31 14:15:17 +08:00
liuxianliang a4eb64b873 update the project for RT-Thread_V4.1.1 2022-08-16 19:38:48 +08:00
Meco Man dd94198bd6 [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM 2022-08-16 09:39:00 +08:00
Sherman fde369f011
[[renesas/drivers] Fix error code issues 6183.Add hardware i2c driver. (#6279)
* [renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md

* Update Captouch板载触摸按键配置说明.md

* [renesas/drv_wdt.c] Fix error code issues
[renesas/drv_i2c.c] add hardware i2c driver

* [update] drv_wdt.c,drv_i2c.c

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-15 09:25:42 -04:00
Fan Yang 666af5e29d
[DeviceDriver] Add CANFD support and correct typos (#5912)
* Add CANFD support and correct typos

- Added CANFD required fields to can.h
- Fixed typos in can.h and can.c
- Corrected all the projects affected by the typo
- Fixed wrong line-ending in some affected can driver files

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>

* update

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
Co-authored-by: Meco Man <920369182@qq.com>
2022-08-13 22:59:28 -04:00
Sherman e7f64fe07f
[renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md (#6227)
* [renesas/ra2l1-cpk] add Captouch板载触摸按键配置说明.md

* Update Captouch板载触摸按键配置说明.md

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-13 20:53:51 -04:00
Sherman 5a67132cf8 [bsp/renesas/ra2l1-cpk] 添加RA2L1-CPK开发板BSP
[bsp/renesas] 更新flash、gpio驱动和配置头文件。更新FSP配置文档
2022-07-22 20:38:19 +08:00
Man, Jianting (Meco) 2c10d5ad01
[rtc] use gmtime_r to replace gmtime (#6012)
* [rtc] use gmtime_r to replace gmtime
2022-06-22 13:41:06 +08:00
Meco Man c9878aacd2 [scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm
将路径更新为IAR最新版本的路径
2022-06-09 07:01:59 +08:00
Meco Man 83b3aadaa3 [Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链
此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
2022-06-09 07:01:59 +08:00
Meco Man 50f041f5c2 [Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链 2022-06-09 07:01:59 +08:00
Sherman 1c64c9ef08
[bsp/renesas/docs/] Add English documents (#5985)
* [bsp/renesas/docs/] Add English documents
2022-05-25 10:02:42 +08:00
Sherman 7c99148f78
[bsp/renesas] update docs/RA系列BSP制作教程.md (#5862)
* [update] 添加 RA 系列 BSP 开发教程:
  - 添加 RA 系列 BSP 开发教程
  - 添加 ra6m4-iot PPP 上网
  - 整理 驱动文件

* [bsp/renesas] update docs/RA系列BSP制作教程.md

* [restore] Restore to the latest version
2022-04-24 14:53:03 +08:00
Man, Jianting (Meco) b1b770f6fb
[sconscript] LOCAL_CCFLAGS -> LOCAL_CFLAGS (#5741) 2022-03-30 10:22:27 +08:00
guo 4af064ce67
[bsp] Improve rtconfig.py path definition (#5739) 2022-03-29 22:15:09 +08:00
guozhanxin e353b2d5f1 [bsp] Update all projects. 2022-03-29 19:28:06 +08:00
Man, Jianting (Meco) ba6f78bd8e
format code (#5699) 2022-03-24 08:30:41 +08:00
LiuKang 75a7cb6929
[update] add fal component. (#5662)
* [update] add fal component.

* [update] format code.

* [update] change PKG_USING_FAL to RT_USING_FAL

* [update] format code.

* [update] fal

* [update] delete FAL_SW_VERSION
2022-03-15 09:48:05 +08:00
Sherman 7c53d46ba7
[update] 添加 RA 系列 BSP 开发教程: (#5598)
- 添加 RA 系列 BSP 开发教程
  - 添加 ra6m4-iot PPP 上网
  - 整理 驱动文件
2022-03-11 09:17:46 +08:00
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +08:00
Sherman fc3c29df70 Merge remote-tracking branch 'remotes/origin/ra6m4-cpk-3.5.0'
# Conflicts:
#	bsp/ra6m4-cpk/.settings/standalone.prefs
#	bsp/ra6m4-cpk/SConscript
#	bsp/renesas/ra6m4-cpk/ra_gen/vector_data.h
#	bsp/renesas/ra6m4-iot/buildinfo.gpdsc
#	bsp/renesas/ra6m4-iot/project.uvoptx
#	bsp/renesas/ra6m4-iot/project.uvprojx
#	bsp/renesas/ra6m4-iot/ra/fsp/inc/api/r_external_irq_api.h
#	bsp/renesas/ra6m4-iot/ra_gen/SConscript
2022-01-26 17:42:57 +08:00
Sherman d728c3d27c [bsp/ra6m4-iot] add ra6m4-iot BSP 2022-01-14 18:58:03 +08:00
Sherman 44070a7b0c [bsp/ra6m4-cpk] FSP updated to 3.5.0 2022-01-14 17:04:12 +08:00