Commit Graph

87 Commits

Author SHA1 Message Date
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
Meco Man 67e14adc4f [posix] 按照高级unix环境编程整理IO类别 2021-12-05 23:07:41 -05: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
HubretXie 0fc7158ffb [drivers]serial.c
解决STM32串口使用DMA接收方式时,清空缓存bug
2021-07-01 14:21:06 +08:00
Meco Man fbcaa667f8 add sys/ioctl for serial 2021-06-13 12:51:07 +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
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
MLW 8b18522cfd 解决_tc_flush可能引起的缓冲区冲突 2019-03-03 14:12:01 +08:00
Bernard Xiong 7383269905 [Kernel] Code cleanup for compiling warning. 2019-02-12 14:33:45 +08:00
陈迎春 e45d7da503
Update serial.c
"remove  #ifdef RT_SERIAL_USING_DMA in rt_serial_open, always check device open dma flag"
2019-01-16 13:21:20 +08:00
chenchaoqun@rt-thread.com 5098c934d3 [add] DMA choice of serial 2018-12-08 11:37:13 +08:00
armink 83b7b763b7 The dbg_log API is DISCARDED. Change all dbg_log to LOG_X. 2018-11-02 10:20:30 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
liang yongxiang 2f402db661 [device][serial] call rx_indicate function only if the rx_length is not equal 0 2018-07-21 12:34:27 +08:00
Bluebear233 dc0aa39b42
[DeviceDriver][serial] 修复get_index越界问题 2018-07-16 09:47:36 +08:00
armink 6cd8658dad [rtdbg] Change all DBG_SECTION_NAME to new format. 2018-07-11 10:23:19 +08:00
Bluebear233 284744b7b2
Update serial.c
rx_fifo->is_full已经满时继续更新rx_fifo->get_index
2018-06-13 21:45:03 +08:00
Bernard Xiong 884fb70fe9 [Kernel] Add device ops feature. 2018-06-10 17:59:17 +08:00
armink 2be6a968d7 [DeviceDriver][Serial] Fix serial open flag lost when device reopen. 2017-11-26 10:19:51 +08:00
JasonJiaJie be3953fd36 [DeviceDriver][serial]Fix compile error when RT_USING_POSIX_TERMIOS is not define.
Fix compile error when RT_USING_POSIX_TERMIOS is not define.
2017-11-15 17:34:43 +08:00
JasonJiaJie b085bba04c [Posix]termios parameter issue. 2017-11-15 13:17:42 +08:00