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
mysterywolf
1404d208db
[ioctl] add TIOCSWINSZ
2020-12-14 01:13:51 +08:00
bigmagic
7a1f0e0f67
when flag is RT_DEVICE_FLAG_STREAM, paser '\n' break!
2020-12-02 10:11:38 +08:00
Bernard Xiong
13c27246c8
Merge pull request #3916 from willianchanlovegithub/Willianchan
...
[drivers/serial]add a line feed to the carriage return character when…
2020-09-17 07:54:45 +08:00
WillianChan
ee3d05f583
[drivers/serial]resolve compile error
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 18:17:00 +08:00
WillianChan
c6b4c2ea2b
[drivers/serial]modify annotation
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 17:21:38 +08:00
WillianChan
183f8b9402
[drivers/serial]add a line feed to the carriage return character when using interrupt tx
...
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 15:27:06 +08:00
yangjie
cb9bc38ec9
[components][serial]关闭uart时,反初始化tx_dma->data_queue,防止内存泄漏
2020-04-10 18:41:59 +08:00
SummerGift
e5c1183350
[optimize] stm32 uart driver
2020-03-23 15:44:54 +08:00
z14git
50c2af5eea
[serial.c] 修复在没有开启ulog时,警告日志不会输出的问题
2020-01-21 16:38:07 +08:00
z14git
1499844699
修复因串口接收缓冲区满且没有开启ULOG_USING_ISR_LOG而造成的死机问题
2020-01-18 10:12:29 +08:00
Ernest
f82d4f1f6f
[DeviceDrivers] add warning about overflow by serial receiver
2019-11-01 10:38:07 +08:00
SummerGift
0cfcb906d5
【完善】去除串口 dma 中无法触发的代码判断
2019-07-23 16:16:12 +08:00
tyustli
d8eb0cfc1e
fix kernel and framework no cast type error
2019-06-18 20:09:19 +08:00
misonyo
f58e947da6
[components/drivers/serial]add low level DMA TX config support.
2019-05-13 15:57:04 +08:00
armink
fa4d4ab7cf
Update all of debug log definition to DBG_TAG and DBG_LVL.
2019-04-12 10:18:57 +08:00