Commit Graph

111 Commits

Author SHA1 Message Date
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
Meco Man 5c7655663c [imxrt] fix gpio interrupt bug in drv_gpio.c
report in #4184
2022-08-13 22:08:31 -04:00
Man, Jianting (Meco) 8db14a3f5b
[imxrt1170] update enet (#6244)
Co-authored-by: xinyi.gao <xinyi.gao@nxp.com>
2022-08-13 22:06:38 -04:00
xjy198903 405e0da093
[NXP]升级RT1170-EVK开发板SDK2.12版本(#6264) 2022-08-13 03:22:12 -04:00
solar_li 8f09245ed5
Implement api docking of rt_pin_get. (#6102)
* Implement api docking of rt_pin_get.
2022-06-23 21:26:55 +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
xinyigao 7416f62c06
update rt1170n menuconfig (#6085)
* updata rt1170 menuconfig
2022-06-22 09:33:14 +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
xinyigao 53be4393aa
add rt1170/rt1020 bsp (#5927)
* add rt1170 bsp
* add rt1020 bsp
2022-05-19 14:06:35 +08:00
Ting Liu 880fc2f59a [imxrt 1060] support touchpad
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2022-05-19 14:03:20 +08:00
Man, Jianting (Meco) a0f8d43744
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-20 09:56:04 +08:00
guo 201bd8871d
Revert "优化build输出" (#5747) 2022-03-30 16:59:20 +08:00
guozhanxin 1b6031954a [bsp/imxrt] improve build output. 2022-03-30 01:21:59 +08:00
guozhanxin 8763d8b776 [bsp/imxrt] fix compile warnings. 2022-03-29 16:33:36 +08:00
guo 3b1445d49c
[bsp][imxrt1060]fix gcc can't runing issue. (#5667) 2022-03-14 22:54:12 +08:00
Rbb666 e484ff5942
添加 imxrt1060-evk BSP (#5657)
* 添加 imxrt1060-evk BSP

* add LVGL

* add README.md

* Delete irrelevant files

* Modify the optimization level to O1

* Organize documents

* Source code formatting
2022-03-11 12:13:56 +08:00
guo e665bacf89
Merge pull request #5567 from mysterywolf/nxp
#5564 format codes
2022-01-26 12:51:53 +08:00
Meco Man 77b8db800c [imxrt] format codes 2022-01-25 23:24:09 -05:00
LeeChunHei 3000140bfd
爲imxrt系列添加usb host驅動 (#4377)
* adding fsl_os_abstraction porting

* port usbh to imxrt

Co-authored-by: guo <guozhanxin@rt-thread.com>
2022-01-26 11:49:22 +08:00
WBI\nxf44444 8b0f50b7e2 Update i2c driver, add read ACK and BUS status check 2022-01-26 01:43:05 +08:00
WBI\nxf44444 3be35fecae Update i2c driver, add read ACK and BUS status check 2022-01-26 00:54:03 +08:00
LeeChunHei cd72ef6ecb
add pulse encoder porting to imxrt1052 (#4372) 2022-01-24 14:22:48 +08:00
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00