Commit Graph

260 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 244b903e5d
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805) 2023-07-22 10:36:42 +08:00
sp-cai 0ebec472e1
[components][i2c] 优化 controt 接口格式,增加可用命令 (#7806)
原来 rt_i2c_control 只能执行 RT_I2C_DEV_CTRL_CLK 单一命令,通过此修改可以支持更多可用命令
2023-07-13 21:57:40 -04:00
Supper Thomas 350626841a
[libcpu]fix RT_ASSERT undefine (#7816) 2023-07-14 09:47:02 +08:00
guo eafc773186 [bsp]imxrt1060 fix wrong image reference. 2023-06-28 08:51:45 -04:00
StackYuan e95318a266
[imxrt1062]refresh rw007 module port document. (#7734)
Co-authored-by: StackYuan <yuanyjyj@outlook.com>
2023-06-27 17:09:45 +08:00
xjy d1ed0f7ddb 完善sdram引脚定义 2023-06-21 22:51:32 +08:00
xjy a6024458ff add link file for iar project 2023-06-21 22:50:22 +08:00
xjy 878be62a0f 消除冗余定义;修复书写错误 2023-06-21 22:49:37 +08: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
Ting Liu 8a8ecbc25d [bsp][imxrt1060] application: fix undeclared identifier error
Fix below build error when using LVGL:

applications/lvgl/lv_port_indev.c(73): error: use of undeclared
identifier 'BOARD_Touch_I2C_Send'
    .I2C_SendFunc     = BOARD_Touch_I2C_Send,
                        ^
applications/lvgl/lv_port_indev.c(74): error: use of undeclared
identifier 'BOARD_Touch_I2C_Receive'
    .I2C_ReceiveFunc  = BOARD_Touch_I2C_Receive,
                        ^
applications/lvgl/lv_port_indev.c(154): warning: implicit declaration of
function 'BOARD_LPI2C_Init' is invalid in C99
[-Wimplicit-function-declaration]
    BOARD_LPI2C_Init(TOUCH_I2C, TOUCH_I2C_CLOCK_FREQ);
    ^

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2023-06-19 23:21:51 -04:00
lepus 5fc22d8d42
[bsp][imxrt]dos to unix in linux 2023-05-25 11:33:50 -04:00
xinyi.gao 3b913914c2 [bsp][nxp][imxrt1020] update to support Keil AC6 2023-05-16 21:53:38 -04:00
xym ca58456843
[bsp][rt1061] 新增飞凌 ok1061-s 开发板 bsp (#7468) 2023-05-14 23:59:06 -04:00
Sseven731 17ed572644
[HUST CSE] [readme] fix invalid URL 2023-04-24 00:47:02 -04:00
hustgxj 0ace6078e7 [HUST CSE]fix logical error in judgment statement 2023-04-19 23:07:39 -04:00
Yaochenger a3c5ce717c [bsp][readme]合并ch32v208与RT1060的readme 2023-04-19 10:26:15 +01:00
arche8 59977a21de
[HUST CSE]Modify invalid links (#7279)
* [HUST CSE]Modify invalid links
2023-04-18 19:13:58 +08:00
7YZ7 501b22aabe
[HUST CSE] Fix many abnormal symbols in annotations and format code 2023-04-17 22:26:23 -04:00
L3LeTrigger 60835af8e1
[HUST-CSE]fix:Invalid document link about env (#7262) 2023-04-17 08:10:43 +08: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 fb7b1251cf
[add][RT1060]添加英文上手指南 (#7211) 2023-04-11 22:58:55 -04:00
Yaochenger 7509f55641
[add][RT1060]修正上手指南 (#7207)
* [add]修正上手指南

* [add]修正上手指南与重新配置rtconfig.h
2023-04-10 23:17:56 -04:00
Yaochenger 6a0ffc9231 [add][RT1060]添加BSP上手指南 2023-04-10 09:16:28 -04:00
Yaochenger 93361c31f0
[RT1060][SPI]完善SPI支持,完善SPI对RW007的支持 (#7193)
* [RT1060][SPI]添加SPI支持,并完善RW007支持
2023-04-07 18:56:51 +08:00
yangjie11 95e6b69b8e
sync and update all projects (#7138)
* sync and update
2023-03-31 16:49:48 +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 27da0f0472 format .icf, .lds, .sct 2023-03-20 00:04:51 -04:00
Meco Man c3820a2c1b format sconscript Kconfig files 2023-03-19 07:08:27 -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
xjy fe0a57c322 修复flexspi配置语法错误 2022-11-08 00:50:16 -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 4b897fea3f
[imxrt1170-m7]Adjust pro dir structure (#6446) 2022-09-19 01:20:02 -04: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