Gregory Nutt
|
9a8c3572db
|
serial.c: Fix a race condition noted by Stefan Kolb. Between the test if the TX buffer is full and entering a critical section, bytes may be removed from the TX buffer making the wait unnecessary. The unnecessary wait is an inefficiency, but not really a problem. But with USB CDC/ACM it can be a problem because the entire TX buffer may be emptied when we lose the race. If that happens that uart_putxmitchar() can hang waiting for data to be removed from an empty TX buffer.
|
2016-07-22 07:47:59 -06:00 |
|
Gregory Nutt
|
10fff9011a
|
Move include/nuttx/configdata.h to include/nuttx/mtd/configdata.h
|
2016-07-21 13:34:54 -06:00 |
|
Gregory Nutt
|
4b4dbc79a2
|
Move driver related prototypes out of include/nuttx/fs/fs.h and into new include/drivers/drivers.h
|
2016-07-20 13:15:37 -06:00 |
|
Gregory Nutt
|
2cacc6204a
|
Kconfig: If Pseudo-terminals are enabled, then pipes must be selected as well
|
2016-07-19 14:26:40 -06:00 |
|
Gregory Nutt
|
318f34fb7d
|
Psuedo-terminal pipe size is now configurable
|
2016-07-19 14:26:41 -06:00 |
|
Gregory Nutt
|
56582e2263
|
Update some comments
|
2016-07-19 10:40:23 -06:00 |
|
Gregory Nutt
|
8bf4684de8
|
Update some comments
|
2016-07-19 09:53:52 -06:00 |
|
Gregory Nutt
|
a4458c5016
|
PTY: Fix a race condition in test-fifo-empty-before-read logic
|
2016-07-19 06:45:02 -06:00 |
|
Gregory Nutt
|
d9fbf4c90f
|
Eliminate some warnings
|
2016-07-18 11:27:06 -06:00 |
|
Gregory Nutt
|
1660329d06
|
Rename up_rnginitialize to devrandom_register
|
2016-07-18 10:55:37 -06:00 |
|
Gregory Nutt
|
6194467c13
|
PTY: Fix termios read input processing.. what was I thinking? Also, if some data was read, pty_read() should not block on the empty FIFO.
|
2016-07-18 08:00:56 -06:00 |
|
Gregory Nutt
|
ded91e451b
|
PTY: Add TERMIOS support.
|
2016-07-16 10:43:44 -06:00 |
|
Alan Carvalho de Assis
|
8fa14b8fed
|
Fix poll-related compile issues introduced with recent PTY changes
|
2016-07-16 07:03:38 -06:00 |
|
Gregory Nutt
|
6a75f2df89
|
PTY: Add some encode to reduce the likely of misinterpreting the return value of the file open() method
|
2016-07-15 17:13:21 -06:00 |
|
Gregory Nutt
|
4b1553d3ad
|
PTY: Fix some tricky issues. Now seems to be working. A lot more testing is needed
|
2016-07-15 14:29:32 -06:00 |
|
Gregory Nutt
|
4b5149b244
|
PTY: Fix a few errors from early testing
|
2016-07-15 14:09:02 -06:00 |
|
Gregory Nutt
|
9ecd558002
|
Add the correct implementation of the file_poll() function
|
2016-07-15 11:34:08 -06:00 |
|
Gregory Nutt
|
f7f7036db8
|
Update some comments
|
2016-07-15 11:15:33 -06:00 |
|
Gregory Nutt
|
4d1b811117
|
PTY: Add support for the poll() method.
|
2016-07-15 10:07:33 -06:00 |
|
Gregory Nutt
|
95555a0199
|
PTY: Add ioctls to support locking and unlocking of the slave. LIBC: Add implementation of unlockpt()
|
2016-07-15 09:39:33 -06:00 |
|
Gregory Nutt
|
6139860c0b
|
PTY: Added PTY IOCTL command definitions. Add support for TIOCGPTN. LIB: Implement ptsname() and ptsname_r()
|
2016-07-15 08:33:47 -06:00 |
|
Gregory Nutt
|
bcbe9806d2
|
In SUSv1 model, need to tried the PTY driver pair as unlinked if the master closes its reference
|
2016-07-15 07:33:48 -06:00 |
|
Gregory Nutt
|
14c216107a
|
PTY: Need to free PTMX minor number is slave is unlinked
|
2016-07-15 07:22:36 -06:00 |
|
Gregory Nutt
|
e50646336b
|
Add PTY header files
|
2016-07-15 07:19:42 -06:00 |
|
Gregory Nutt
|
7fa5093fff
|
PTYs prototypes hooked into build and configuration system (as EXPERIMENTAL)
|
2016-07-15 06:48:10 -06:00 |
|
Gregory Nutt
|
ccf4bfafcb
|
Prototype versions of ptmx/pty suppoprt. Still under developement; not yet hooked into build or configuration system.
|
2016-07-14 20:20:48 -06:00 |
|
Heath Petersen
|
dc72e16625
|
handle when CONFIG_SERIAL_UART_ARCH_IOCTL is not enabled
|
2016-07-12 06:50:58 +00:00 |
|
Gregory Nutt
|
29a99bef0f
|
serial/Kconfig: Oops put SERIAL_CONSOLE definition within if-endif condition. Better outside
|
2016-06-20 17:49:16 -06:00 |
|
Gregory Nutt
|
9434d3e945
|
There is now one-and-only-one copy of syslog_putc. It is in the SYSLOG channel logic and can redirect syslog output as needed. All former syslog_putc versions were renamed and the corresponding SYSLOG device initializaiton now calls syslog_channel()
|
2016-06-19 13:03:20 -06:00 |
|
Gregory Nutt
|
0c8c7fecf0
|
Add _ to the beginning of all debug macros to avoid name collisions
|
2016-06-16 12:33:32 -06:00 |
|
Gregory Nutt
|
efb02f2ef1
|
drivers/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network evernts are not errors.
|
2016-06-12 08:31:22 -06:00 |
|
Gregory Nutt
|
a1469a3e95
|
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
|
2016-06-11 15:50:49 -06:00 |
|
Gregory Nutt
|
1cdc746726
|
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
|
2016-06-11 14:14:08 -06:00 |
|
Gregory Nutt
|
fc3540cffe
|
Replace all occurrences of vdbg with vinfo
|
2016-06-11 11:59:51 -06:00 |
|
Paul A. Patience
|
f8f7b7582c
|
Silence some warnings
|
2016-05-26 14:06:13 -04:00 |
|
Gregory Nutt
|
9ec104834a
|
Remove CONFIG_USARTn_ISUART
|
2016-05-25 11:21:48 -06:00 |
|
Gregory Nutt
|
c089a2f241
|
Rename CONFIG_ARCH_HAVE_OTHER_UART to CONFIG_OTHER_UART_SERIALDRIVER
|
2016-05-25 10:48:33 -06:00 |
|
Gregory Nutt
|
e2e6ce3f1b
|
Rename CONFIG_ARCH_HAVE_SCIn to CONFIG_SCIn_SERIALDRIVER
|
2016-05-25 10:46:55 -06:00 |
|
Gregory Nutt
|
2a87741e72
|
Rename CONFIG_ARCH_HAVE_UARTn to CONFIG_UARTn_SERIALDRIVER
|
2016-05-25 10:45:01 -06:00 |
|
Gregory Nutt
|
249a2e48e5
|
Rename CONFIG_ARCH_HAVE_USARTn to CONFIG_USARTn_SERIALDRIVER
|
2016-05-25 10:39:23 -06:00 |
|
Gregory Nutt
|
050f544782
|
Fix typo in variable name in serial BREAK logic. Review other serial implementations for similar naming problems.
|
2016-05-05 11:30:47 -06:00 |
|
Gregory Nutt
|
0fb035f76b
|
Standardize some naming in code section comments
|
2016-02-21 18:09:04 -06:00 |
|
Gregory Nutt
|
2244ed46bc
|
nuttx/drivers: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
|
2016-02-14 07:32:58 -06:00 |
|
Gregory Nutt
|
ce2a0b6b51
|
Eliminate a warning
|
2016-01-06 10:05:39 -06:00 |
|
Gregory Nutt
|
ab9d124528
|
serial: Remove confusing inline functions. Correct attribution for serial DMA logic
|
2015-11-15 08:39:01 -06:00 |
|
Gregory Nutt
|
7f1ac36194
|
Serial driver: Move serial DMA logic to a separate file
|
2015-11-15 07:58:08 -06:00 |
|
Max Neklyudov
|
d54a39832a
|
Implement high level DMA infrastructure for serial devices
|
2015-11-12 14:16:19 -06:00 |
|
Gregory Nutt
|
cf14f8d1b5
|
drivers/: Fixes to spacing and alignement
|
2015-10-10 10:41:00 -06:00 |
|
Gregory Nutt
|
0b12dbf95d
|
Fix some spacing problems
|
2015-10-04 15:04:00 -06:00 |
|
Paul A. Patience
|
3b89eabd50
|
Correct #if to #ifdef when the macro can be undefined. Fix bug in AT24XX driver: it should compare AT24XX_ADDRSIZE to 2.
|
2015-09-01 13:52:29 -04:00 |
|