Commit Graph

135 Commits

Author SHA1 Message Date
Frogrey 61e38bd13d
[bsp][imxrt1170] 移动 VGLite、video驱动文件到对应文件夹以提高代码可重用性 (#8092) 2023-10-12 08:33:13 +08:00
Frogrey f941dfcf13 fix uart1 pin bug, delete and update wrong icf files, add vglite support for rt1170 in IAR environment. 2023-09-26 10:52:24 +08:00
Meco Man 4e0225a48d [debug] use LOG_D instead RT_DEBUG_LOG
related: https://github.com/RT-Thread/rt-thread/pull/7799
2023-07-28 13:50:32 -04:00
sp-cai 0ebec472e1
[components][i2c] 优化 controt 接口格式,增加可用命令 (#7806)
原来 rt_i2c_control 只能执行 RT_I2C_DEV_CTRL_CLK 单一命令,通过此修改可以支持更多可用命令
2023-07-13 21:57:40 -04:00
xiao xie ba76cb5ef7
[drivers]修复can驱动编译错误 (#7708) 2023-06-21 08:52:11 -04:00
zhkag 33f550cb65
[Kernel] message 可以返回消息的实际大小 (#7709) 2023-06-21 18:22:42 +08:00
lepus 5fc22d8d42
[bsp][imxrt]dos to unix in linux 2023-05-25 11:33:50 -04:00
xym ca58456843
[bsp][rt1061] 新增飞凌 ok1061-s 开发板 bsp (#7468) 2023-05-14 23:59:06 -04:00
hustgxj 0ace6078e7 [HUST CSE]fix logical error in judgment statement 2023-04-19 23:07:39 -04:00
7YZ7 501b22aabe
[HUST CSE] Fix many abnormal symbols in annotations and format code 2023-04-17 22:26:23 -04:00
sb508 467a7f92a1 [HUST CSE]Missing right parenthesis 2023-04-16 16:02:35 -04:00
xinyi.gao 61c239b6f0 [nxp][imxrt1060] add link script files 2023-04-15 10:01:10 -04:00
Yaochenger 93361c31f0
[RT1060][SPI]完善SPI支持,完善SPI对RW007的支持 (#7193)
* [RT1060][SPI]添加SPI支持,并完善RW007支持
2023-04-07 18:56:51 +08:00
Zxy 4ed9bc11f7
[errno code]fix that use RT_ENOSYS without - (#7084)
* [errno code]fix that use RT_ENOSYS without -

* Update bsp/airm2m/air32f103/libraries/rt_drivers/drv_hwtimer.c

---------

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-03-23 01:54:42 -04:00
Meco Man 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
Meco Man dfddd79b24 [errno code][-RT_EINVAL] fix that use RT_EINVAL without - 2023-03-16 20:21:43 -04:00
Meco Man da533d113e [nxp] format imxrt libraries 2023-02-15 09:36:04 +08:00
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
xiao xie e94a3bf52c
[imxrt1060] Update 1060 sdk 2.12.1 (#6892)
更新的SDK2.12.1更新imxrt1060的驱动
2023-02-06 22:17:31 -05:00
Meco Man ddccef3a64 modify RT_ALIGN_SIZE as 8 by default 2023-01-12 22:47:23 -05:00
Meco Man 592284c66c format link scripts 2023-01-08 22:52:13 -05:00
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -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
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
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
Meco Man cf66a5bc63 use rt_memcpy/rt_memset to replace memcpy/memset 2022-11-17 12:08:13 -05:00
Meco Man b9a9225c84 format imxrt drver files 2022-11-17 12:08:13 -05:00
xjy 60b741520f 修复rtc驱动,实现掉电能保存时钟数据(硬件外接电池) 2022-11-17 12:08:13 -05:00
xiao xie 5338b1d5f2
[imxrt1176]Fix usb (#6589)
修复USB驱动,实现imxrt1176平台usb host,支持usb3.0读写
2022-11-14 23:51:35 -05:00
xiao xie 493c333869
[imxrt1170]修复SD卡作为引导器后,系统无法挂载SD卡的问题 (#6600)
* 修复SD卡作为引导器后,系统无法挂载SD卡的问题

* Update Kconfig

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-11-08 00:49:39 -05:00
xiao xie a0ca06b499
[imxrt 1170]add flexspi support (#6429)
* [imxrt 1170]add flexspi support

* format file

* format file

* update flexspi serial root clk to 80MHz

* format file
2022-09-15 05:08:26 -04:00
xiao xie 52e1d76254
[imxrt 1170]Support us delay (#6424)
* add us delay

* formating file
2022-09-13 07:53:30 -04:00
xiao xie 2577fcc366
add sdio support (#6385)
* add sdio support

* update board kconfig

* 优化SD卡挂载文件系统

* 使用通用接口实现led的闪烁操作
2022-09-08 23:20:50 -04:00
xiao xie 05afaa9fc5
[imxrt1170]Fix flexcan driver (#6378)
fix flexcan driver for imxrt1170
2022-09-06 21:20:04 -04:00
xiao xie 44b815d8d5
[imxrt]消除编译警告;修正板级配置信息 (#6363)
* add ignore files and directories

* 消除编译警告;修正板级配置信息
2022-09-01 08:15:11 -04:00
xiao xie 0a3be62703
Support flexcan (#6355)
* add ignore files and directories

* add flexcan support;fix build problem

* 优化格式,消除编译警告

* 增加can引脚分配;支持imxrt1170

* 优化格式
2022-08-31 21:19:02 -04:00
xjy c2199eb85b 修复imxrt除1170系列外bsp网络驱动编译错误 2022-08-30 07:47:07 -04:00
xjy198903 58769e67c6
修复imxrt1170网络驱动问题 (#6342)
1、修复ksz8081.c编译错误;
2、修复rt1170网络驱动问题
2022-08-29 15:47:58 -04:00
Meco Man 89f40696ff [nxp][imxrt1170] format files 2022-08-17 23:47:54 -04:00
xjy198903 1ba47b7ca6
[nxp 1170] Update network (#6299)
* 增加千兆网络配置

* 适配最新1170SDK2.12版本

* 增加MAC层驱动配置
2022-08-17 09:41:31 -04:00
xjy198903 7cf703dde5
Update 1170 gpios (#6298)
* 增加1170可操作的gpio数

* 修改默认引脚配置

* 增加千兆网络引脚配置
2022-08-17 09:40:26 -04:00
xjy198903 840f6b997c
[nxp][imxrt1170]Fix building problem (#6297) 2022-08-17 04:28:58 -04:00
Meco Man dd94198bd6 [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM 2022-08-16 09:39:00 +08:00
Not Black Magic eb12619654
Fix BSP/imxrt/imxrt1060-nxp-evk: RTC Driver issue (#6283)
Fix BSP bug:
-Function naming conflict in drv_rtc.c, rename get/set_timestamp to imxrt_hp_get/set_timestamp, which conflicted with rtc.c/.h framework.
2022-08-15 09:34:01 -04:00
xjy198903 eedb4e1981
[imxrt] 消除编译警告 2022-08-15 09:24:53 -04:00
xjy198903 6a225fff22
Update sdram (#6280)
增加1170系列SDRAM时钟配置
修复sdram中memheap自动初始化时机错误导致被assert的情况

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-15 03:34:49 -04:00
xjy198903 814b1abb08
增加双网口配置选项,增加phy8211F 驱动 (#6278)
* Update Kconfig

增加RT1170双路网络选项

* Update SConscript

增加RTL8211F驱动选项支持

* Update SConstruct

去掉外设目录

* Add files via upload

增加PHY芯片RTL8211F驱动

* Update drv_rtl8211f.c

* format code

Co-authored-by: Meco Man <920369182@qq.com>
2022-08-14 23:21:27 -04:00
Meco Man ff310443b8 [nxp] move phy driver into drivers folder 2022-08-14 21:50:14 -04:00
Meco Man 40fe10ba15 [nxp][link script] format issue
report in slack group
2022-08-14 21:49:16 -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