[RTEMS Project] #4719: risc-v fe310 console driver uart read error

RTEMS trac trac at rtems.org
Mon Sep 19 15:00:54 UTC 2022


#4719: risc-v fe310 console driver uart read error
--------------------------+--------------------------------------------
 Reporter:  Alan Cudmore  |       Owner:  Alan Cudmore <alan.cudmore@…>
     Type:  defect        |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  bsps          |     Version:  6
 Severity:  normal        |  Resolution:  fixed
 Keywords:  risc-v, uart  |  Blocked By:
 Blocking:                |
--------------------------+--------------------------------------------
Changes (by Alan Cudmore <alan.cudmore@…>):

 * owner:  (none) => Alan Cudmore <alan.cudmore@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"88f4d44f00ad11978a973f5f474ed8a92ffe3a98/rtems"
 88f4d44f/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="88f4d44f00ad11978a973f5f474ed8a92ffe3a98"
 bsps/riscv/riscv: Fix fe310_uart_read

 Note: Resending after learning how to use git send-email, please disregard
 previous message.

 This fixes the riscv fe310 console driver fe310_uart_read function. The
 function
 reads the RX status/data register to check if data is available, but
 discards
 the data and reads it a seconds time.
 Also cleared the interrupt enable bit in the first_open function.

 Close #4719
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4719#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list