Man, Jianting (Meco)
1acef4277b
Merge pull request #6981 from RT-Thread/master
...
sync from master
2023-02-25 13:52:37 -05:00
jonas
6d4764ad69
serial_v2 rt_device_write/read return data type as rt_ssize_t
2023-02-23 09:50:39 -05:00
Meco Man
759192f5f5
create serialX-doc folder
2023-02-23 01:19:47 -05:00
thewon86
862acd98a1
add serialX user manual ( #6964 )
2023-02-23 01:04:29 -05:00
thewon86
b4f605d406
separate init & configure of uart ops
2023-02-21 09:01:17 -05:00
thewon86
67bc7e816c
implement serialX UART device framework
2023-02-20 23:30:29 -05: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
Shell
b2402029b2
[rt-smart][fix/lwp] don't restore terminal for background lwp ( #6847 )
...
* [fix/lwp] don't restore term for background lwp
2023-01-13 09:48:43 +08:00
wdfk-prog
8f0cef3a87
[drivers][serial_v2]修复DMA+TX阻塞模式异常 ( #6781 )
...
* [drivers][serial_v2]修复DMA+TX阻塞模式异常
2023-01-05 01:25:16 -05:00
bernard
1f092da9e0
fix compiling warning.
2022-12-26 14:24:26 +08:00
guozhanxin
b5d77bbf37
[rtsmart] fix uart can't input after userapp exited at rv64 platform.
2022-12-09 07:54:29 -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
朱天龙 (Armink)
748f6afd5e
[DeviceDriver][serialv2] Support configure when serial is open.
2022-10-12 14:21:41 +08:00
a1012112796
ab8c1418a6
tshell is the default value of FINSH_THREAD_NAME
2022-10-10 17:48:21 -04:00
Tangyuxin
a4829b1c00
[fix] Fix simulator compilation warnings ( #6438 )
...
* [fix] Fix simulator compilation warnings
* Update bsp/simulator/rtconfig_project.h
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-09-20 10:31:11 -04:00
tfx2001
218cdbce4e
add assert for serial v2
2022-08-13 17:04:08 -04:00
HubretXie
223bc17df9
[serial_v2] fixed bug ( #6213 )
...
* [kernel][timer] fixed bug serial_v2 驱动问题,导致所有写入都使用阻塞方式写入
2022-08-03 22:42:20 -04:00
dongly
3363586cbb
Fix some compilation warning ( #5744 )
...
* Fix some compilation warning
* 补充修正一些数据类型的使用错误
Co-authored-by: Meco Man <920369182@qq.com>
2022-08-02 12:09:49 -04:00
Tangyuxin
7f1157e0de
[drivers][serial] ioctl add F_SETFL cmd ( #5876 )
2022-04-26 13:13:51 +08:00
朱天龙 (Armink)
039efbb075
完善 Serial V2 框架 ( #5770 )
...
* [stm32] fix h7 uart V2 driver unused code.
* [DeviceDriver][serialv2] fix the serialv2 when using for console device on DMA mode.
* [stm32][art-pi] using serial v2 by default
* [DeviceDriver][SerialV2] Add termios for serial@V2 .
* [BSP][STM32] Add hardware flow control for STM32 serial@V2 driver.
* [DeviceDriver][Serial@V2] Add hardware flow control for serial V2.
2022-04-04 17:25:04 +08:00
朱天龙 (Armink)
bae1be0f45
完善串口 V2 框架 ( #5720 )
...
* [stm32] fix h7 uart V2 driver unused code.
* [DeviceDriver][serialv2] fix the serialv2 when using for console device on DMA mode.
* [stm32][art-pi] using serial v2 by default
2022-03-27 00:52:41 +08:00
打盹的消防车
0c82e033dc
Open RT_USING_POSIX_STDIO caused serial_v2 to compile failed ( #5684 )
...
* fix:Open RT_USING_POSIX_STDIO caused serial_v2 to compile failed
2022-03-20 10:29:16 +08:00
Meco Man
8213bbd92e
update
2022-01-14 23:09:32 +08:00
liukangcc
3d2e23ec1c
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
2022-01-14 23:09:32 +08:00
Meco Man
918ee6147c
add RT_USING_POSIX_STDIO
2022-01-05 23:11:58 +08:00
guo
fb7b9f4fb4
Merge pull request #5318 from enkiller/1201
...
[components][src] Optimize interrupt disable time
2021-12-21 17:40:59 +08:00
Meco Man
67e14adc4f
[posix] 按照高级unix环境编程整理IO类别
2021-12-05 23:07:41 -05:00
tangyuxin
a77cc81876
[components][drivers] format file
2021-12-01 14:41:13 +08:00
Meco Man
7973ede5a8
增加RT_USING_POSIX_FS
2021-11-29 00:53:46 -05:00
Meco Man
7c789d4b11
revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO
2021-11-24 09:47:55 -05:00
Meco Man
c360688714
使用poll.h代替dfs_poll.h
2021-09-11 11:56:54 -04:00
Meco Man
c1c63fc10c
[serial] 优化RT_USING_POSIX_TERMIOS预编译
2021-09-09 22:41:54 -04:00
Meco Man
b39837f480
[ioctl] implement function of getting window's size(TIOCGWINSZ)
2021-08-22 09:36:02 -04:00
chenjh
22139e66ca
[serial_v2] Serial_v2 support device ops feature
2021-07-09 11:27:46 +08:00
HubretXie
0fc7158ffb
[drivers]serial.c
...
解决STM32串口使用DMA接收方式时,清空缓存bug
2021-07-01 14:21:06 +08:00
Bernard Xiong
bccdf912c8
Merge pull request #4764 from KyleChenjh/master
...
[serial] 增加serial_v2版本的框架和基于stm32的串口驱动
2021-06-21 14:29:04 +08:00
chenjh
0613cf8ca2
[serial] 解决serial_close未清除回调接口的问题
2021-06-18 14:54:37 +08:00
chenjh
5ac5d92cbb
[serial] 优化发送非阻塞时,serial_close未执行rt_completion_done的问题。
2021-06-16 16:55:33 +08:00
Meco Man
fbcaa667f8
add sys/ioctl for serial
2021-06-13 12:51:07 +08:00
chenjh
fac3c5cda1
[serial] 优化dma接收处理流程,解耦驱动调用串口框架的API接口
2021-06-08 09:38:43 +08:00
chenjh
d94be14df5
[serial] 增加serial_v2版本的框架和基于stm32的串口驱动
2021-06-08 09:38:43 +08:00
Aubr.Cool
e72008b614
update serial drv
2021-04-27 13:53:14 +08:00
iysheng
fcffea4501
[components][serial] fix do RT_DEVICE_CTRL_CLOSE cmd when close serial device regardless of DMA config
2021-03-18 10:51:50 +08:00
Bernard Xiong
b12615f344
Merge pull request #4427 from mysterywolf/components
...
[components] auto & manual formatted
2021-03-16 13:53:54 +08:00
Meco Man
0c9bcefc6c
[ioctl] 增加TIOCGWINSZ功能
2021-03-10 20:30:13 +08:00
Meco Man
3c05a4e719
[compoenets] auto & manual formatted
2021-03-08 18:19:04 +08:00
Meco Man
e3fc77f288
update serial.c
2021-01-01 17:24:26 +08:00
Meco Man
a940728162
update serial
2021-01-01 17:07:11 +08:00
Meco Man
a233495718
Typo: rt_data_queue_peak() in dataqueue
2020-12-31 16:02:42 +08:00
Bernard Xiong
57ddea482f
Merge pull request #4150 from mysterywolf/setwin
...
[ioctl] add TIOCSWINSZ
2020-12-14 15:05:47 +08:00