Sebastien Bourdeauducq
84514cf8d5
uart: remove option to refill HW from uart_write
2015-07-19 23:41:38 +02:00
Robert Jordens
097248bce9
uart.c: rx overflow fix and tx simplification
...
* fixes the clearing of the rx ringbuffer on rx-overflow
* removes tx_level and tx_cts by restricting the ringbuffer
to at least one slot empty
* agnostic of the details of the tx irq: works for uarts that
generate tx interrupts on !tx-full or on tx-empty.
* only rx_produce and tx_consume need to be volatile
2015-07-19 23:37:00 +02:00
Florent Kermarrec
8aa3fb3eb7
com/uart: add tx and rx fifos.
...
Since ressource usage is low with default depth of 16 (implemented in RAM LUTs) we don't keep old behaviour.
Tested successfully with BIOS and flterm.
2015-05-01 15:59:26 +02:00
Sebastien Bourdeauducq
fca0b968e7
generate linker memory map, move all generated files into the same folder
2013-11-24 19:50:17 +01:00
Florent Kermarrec
e7c72a826c
uart_isr: fix interrupts clear
2013-10-23 13:04:49 +02:00
Sebastien Bourdeauducq
fdf7f10f54
Automatically build CSR access functions
2013-03-25 14:42:48 +01:00
Sebastien Bourdeauducq
22f7d1716e
Remove some boilerplate
2012-05-24 19:22:27 +02:00
Sebastien Bourdeauducq
d03ee7a89f
libbase: unmask UART interrupt correctly
2012-05-21 20:01:21 +02:00
Sebastien Bourdeauducq
c01594f9fd
Common interrupt numbers
2012-05-21 19:52:41 +02:00
Sebastien Bourdeauducq
755079d7fa
libbase: blocking UART write if IRQs are enabled
2012-02-07 15:12:27 +01:00
Sebastien Bourdeauducq
494c383fa8
software: remove unnecessary IRQ acks
2012-02-07 00:07:25 +01:00
Sebastien Bourdeauducq
4aaf48afb0
software: interrupt driven UART working
2012-02-06 23:53:29 +01:00
Sebastien Bourdeauducq
5cde57cb65
software: use new UART
2012-02-06 17:53:41 +01:00
Sebastien Bourdeauducq
1a4a6eb445
Copy some software code from the original Milkymist SoC.
...
Libbase should keep its RAM usage to a minimum as it is meant to
be executed before the SDRAM is up and running. (Having lots of
code is OK though as we XIP from the flash)
2012-02-03 12:08:17 +01:00