paparazzi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paparazzi-commits] [paparazzi/paparazzi] 92d2b9: [arch/linux] fix uart


From: GitHub
Subject: [paparazzi-commits] [paparazzi/paparazzi] 92d2b9: [arch/linux] fix uart driver
Date: Fri, 20 Feb 2015 11:54:53 -0800

  Branch: refs/heads/master
  Home:   https://github.com/paparazzi/paparazzi
  Commit: 92d2b9b84e6e59edaa5b85c692aeb175686e4168
      
https://github.com/paparazzi/paparazzi/commit/92d2b9b84e6e59edaa5b85c692aeb175686e4168
  Author: Felix Ruess <address@hidden>
  Date:   2015-02-16 (Mon, 16 Feb 2015)

  Changed paths:
    M sw/airborne/arch/linux/serial_port.c

  Log Message:
  -----------
  [arch/linux] fix uart driver

make sure the output flags are properly reset for raw mode.
Specifically OPOST, clear some others as well to be safe...

might also fix #743


  Commit: f374efef17800b492407390a31038596678921d0
      
https://github.com/paparazzi/paparazzi/commit/f374efef17800b492407390a31038596678921d0
  Author: Felix Ruess <address@hidden>
  Date:   2015-02-16 (Mon, 16 Feb 2015)

  Changed paths:
    M sw/airborne/arch/linux/mcu_periph/uart_arch.c

  Log Message:
  -----------
  [arch/linux][uart] put byte in queue if write was interrupted

and only advance extract index if write was successful


  Commit: e98128d082d57379da1f5b4e6a3ae41647f4494a
      
https://github.com/paparazzi/paparazzi/commit/e98128d082d57379da1f5b4e6a3ae41647f4494a
  Author: Felix Ruess <address@hidden>
  Date:   2015-02-20 (Fri, 20 Feb 2015)

  Changed paths:
    M sw/airborne/arch/linux/mcu_periph/uart_arch.c
    M sw/airborne/arch/linux/serial_port.c

  Log Message:
  -----------
  Merge pull request #1110 from paparazzi/linux_uart_fix

[arch/linux] fix uart driver

- make sure the output flags are properly reset for raw mode.
  Specifically OPOST, clear some others as well to be safe...
- put byte in queue if write was interrupted and only advance extract index if 
write was successful
  This solves the issue of some bytes not being written (at least on BBB with 
PREEMPT kernel)


Compare: 
https://github.com/paparazzi/paparazzi/compare/b59b1d6b21a5...e98128d082d5

reply via email to

[Prev in Thread] Current Thread [Next in Thread]