Gregory Nutt
089578319a
STM32 Serial: PX4 HW workarround for flaky STM32 RTS. From David Sidrane
2014-12-27 18:58:18 -06:00
Gregory Nutt
33f7151cd9
Remove STM32-specific RX flow control logic from the upper level serial driver to the lower level STM32 serial driver
2014-12-27 09:45:45 -06:00
Gregory Nutt
32fd858dc6
Serial RX Flow Control: Fix a bunch of compile problems introduced into unbuilt, conditioned out logic
2014-12-27 08:15:41 -06:00
Gregory Nutt
2fadd0da4b
Eliminate an unnecessary calculation in the serial RX flow control logic
2014-12-27 08:00:48 -06:00
Gregory Nutt
aefde565d3
Serial Upper Half: Add watermarks to RX flow control logic
2014-12-27 07:43:06 -06:00
Gregory Nutt
623757d77c
Update TODO list and add REVISIT comment
2014-12-13 08:44:28 -06:00
Gregory Nutt
d09bb13833
In case a thread is doing a blocking operation (e.g. read()) on a serial
...
device, while it is being terminated by pthread_cancel(), then
uart_close() gets called, but the semaphore (dev->recv.sem in the above
example) is still blocked.
This means that once the serial device is opened next time, data will
arrive on the serial port (and driver interrupts handled as normal), but
the received characters never arrive in the reader thread.
This patch addresses the problem by re-initializing the semaphores on the
last uart_close() on the device.
2014-12-13 08:07:21 -06:00
Gregory Nutt
0ec5043a4e
Add an interface definition and upper half driver for a discrete joystick device
2014-11-27 17:42:16 -06:00
Gregory Nutt
5d231b25f0
SAMA5D3 Xplained: Add an apps/examples/bridge configuration
2014-11-20 16:24:30 -06:00
Gregory Nutt
5120d745fd
Fix some typos
2014-10-29 10:48:50 -06:00
Gregory Nutt
6c9f325e1e
Move selection for CONFIG_SERIAL_TERMIOS out of MCU Kconfigs to common drivers/serial/Kconfig. Add CONFIG_ARCH_HAVE_SERIAL_TERMIOS to indicate if an MCU supports TERMIOS
2014-10-27 11:31:16 -06:00
Gregory Nutt
37e08c3b49
The olimex-efm32g880f128-stk now defaults to use LEUART1 as the serial console. Also fixes lots of compile bugs from the original LEUART checkin
2014-10-21 11:38:51 -06:00
Gregory Nutt
d13c9a08b9
EFM32: Add configuration support for LEUARTs
2014-10-21 09:37:02 -06:00
Gregory Nutt
47d55c28dc
Mostly cosmetic changes
2014-09-04 10:28:38 -06:00
Gregory Nutt
320707fdfa
SAMA5: Fix bugs in timer/counter interrupts and one-shot timer
2014-08-10 10:47:38 -06:00
Gregory Nutt
b5efb9dd77
Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna
2014-05-08 09:01:14 -06:00
Gregory Nutt
7594d8b8cf
Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna
2014-05-08 09:00:33 -06:00
Gregory Nutt
7ad2ace833
Costmetic changes to some comments
2014-04-14 16:36:07 -06:00
Gregory Nutt
3a1324741a
More trailing whilespace removal
2014-04-13 14:32:20 -06:00
Gregory Nutt
cbdc9155ab
SAMA5: Add support for DBGU. Xplained board now uses DBGU for the serial console
2014-04-01 11:24:15 -06:00
Gregory Nutt
113d5a2a81
Correct an error introduced in this file in very recent commits
2014-03-06 15:33:02 -06:00
Gregory Nutt
17a96f6e1e
configs/us7032evb1/ostest: Configuration converted to use the kconfig-frontends tools
2014-03-06 09:17:11 -06:00
Gregory Nutt
ba6fe788ea
SAMA5 serial: Restore logic to minimize TX interrupts. Oddly, seems to improve ADC stability
2013-10-26 16:02:07 -06:00
Gregory Nutt
0ab6d8382f
SAMA5 TC: Debug instrumentation
2013-10-26 14:03:30 -06:00
Gregory Nutt
bc46b447dc
Fix all occurrences of "the the" in documentation and comments
2013-08-27 09:40:19 -06:00
Gregory Nutt
dd3c682443
SAMA5: Some improvements to the HSCMI card removal/insertion logic
2013-08-11 11:13:11 -06:00
Gregory Nutt
82b528e0c8
Serial FIONREAD, FIONWRITE, and TERMIOS I/O processing from Mike Smith, Andrew Tridgell, and and Lorenz Meier
2013-08-10 19:14:05 -06:00
Gregory Nutt
968b2553cd
Rearrange configuration settings so that ARCH_HAVE_SDIO is moved to higher, sharable level
2013-08-10 09:06:53 -06:00
Gregory Nutt
77e1c27005
Update SAMA5D3x-EK board configuration to support on-board UART connections, LEDs, and push buttons
2013-07-24 12:27:12 -06:00
Gregory Nutt
9cf942bcb2
SAM3/4: Loop counter for PLL delay must be volatile or it may get optimized away
2013-06-13 16:18:25 -06:00
Gregory Nutt
3edec35c51
Add flow control support to the STM32 serial driver; Fix some issues with UART2 and 5. From Lorenz Meier and Mike Smith
2013-06-06 14:49:14 -06:00
Gregory Nutt
420ca1b256
configs/freedom-kl25z: Change references to NuTiny to Freedom KL25Z
2013-04-25 20:09:15 -06:00
Gregory Nutt
b630e6a153
Useless TIOCSERGSTRUCT logic in most serial drivers is not compiled unless CONFIG_DEBUG and CONFIG_SERIAL_TIOCSERGSTRUCT are defined
2013-04-25 15:52:48 -06:00
patacongo
0bfa1b75e2
Add support for STM32 F427/437 chips. From Mike Smith
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5807 42af7a65-404d-4744-a932-0658087f49c3
2013-04-01 13:43:31 +00:00
patacongo
ebf9960deb
convert Kwikstik K40 configurations to use kconfig-frontends tools
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5784 42af7a65-404d-4744-a932-0658087f49c3
2013-03-25 17:33:41 +00:00
patacongo
730dc3e202
Add missing implementation of O_NONBLOCK for serial writes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5755 42af7a65-404d-4744-a932-0658087f49c3
2013-03-18 16:04:29 +00:00
patacongo
d621681866
Some NuTiny-SDK-NUC120 size reduction; All serial driver vtables should be static const
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5683 42af7a65-404d-4744-a932-0658087f49c3
2013-02-27 22:24:49 +00:00
patacongo
ad447766ff
Fix a readline bug. If a NUL is received, it would return end-of-file
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5633 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 00:46:27 +00:00
patacongo
cf411bec51
A spurious checkin... I just want to improve some code structure
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5597 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 01:50:34 +00:00
patacongo
11aa231cf0
drivers/serial.c: Fix some race conditions. Some bad things code happen if we lost a USB connection at certain times.
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5596 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 00:29:55 +00:00
patacongo
9a05ccdbbc
Last minute 6.25 change
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5595 42af7a65-404d-4744-a932-0658087f49c3
2013-02-01 22:51:34 +00:00
patacongo
1b94639432
Misc clean; mark assertions as non-returning; allow toolchain prefix to be overriden from make command line
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5591 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 23:29:34 +00:00
patacongo
cdbbfaa464
Fix readline return value; Add support for removable serial devices
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5589 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 16:52:20 +00:00
patacongo
df9a72994f
configs/xtrs/nsh and pashello now use kconfig-frontends and build Windows native
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5422 42af7a65-404d-4744-a932-0658087f49c3
2012-12-09 17:34:53 +00:00
patacongo
620d1c9a33
configs/xtrs/ostest converted to kconfig-frontend and Windows native
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5421 42af7a65-404d-4744-a932-0658087f49c3
2012-12-08 23:21:34 +00:00
patacongo
a93d7eb69e
Shenzhou board is first to use ONLY Kconfig for configuration
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5114 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 13:56:21 +00:00
patacongo
08ef9d0367
Add Kconfig settings for the LPC17xx
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5094 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 17:20:19 +00:00
patacongo
e3f1d80ed6
Refactor serial configuratin; AVR teensy Kconfig now builds
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5092 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 12:45:35 +00:00
patacongo
59588247bf
Kconfig changes + back out part of last check-in: The 2STOP setting must be integer 0/1, not boolean
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5086 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 15:28:56 +00:00
patacongo
70b1c3f2f6
Make the lib/ subdirectory build more like other directories
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5025 42af7a65-404d-4744-a932-0658087f49c3
2012-08-13 22:27:06 +00:00