Commit Graph

2411 Commits

Author SHA1 Message Date
dragonmux 40ee8c3f37 usb_serial: Fixed where the debug serial callbacks were so ENABLE_DEBUG=0 builds work 2022-08-22 12:59:24 -07:00
dragonmux 1a7af52edc usb_serial: Fixed up the nomenclature for the USB serial interfaces 2022-08-22 12:59:24 -07:00
dragonmux 0a6621a322 usb_serial: Fixed the behaviour of debug_uart_write() when the FIFO buffer gets full 2022-08-22 12:59:24 -07:00
dragonmux 0c2495ea25 usb_serial: Renamed aux_serial_receive_complete -> debug_serial_send_complete 2022-08-22 12:59:24 -07:00
dragonmux 7779ab36fb usb_serial: Renamed the debug FIFO buffer and variables 2022-08-22 12:59:24 -07:00
dragonmux 39f1604ef0 usb_serial: Cleaned up a bit more in debug_uart_send_aux_serial_data() 2022-08-22 12:59:24 -07:00
dragonmux d0915a1312 usbuart: Removed the STM32 version of usbuart.c now it's not required 2022-08-22 12:59:24 -07:00
dragonmux 9ca1b645bb usbuart: Moved the debug FIFO buffer definitions into usb_serial.c 2022-08-22 12:59:24 -07:00
dragonmux a1e0a9c645 aux_serial: Moved aux_serial_stage_buffer() to usb_serial.c as debug_serial_fifo_send() 2022-08-22 12:59:24 -07:00
dragonmux 30bfb00414 usb_serial: Refactored out some of the debug buffer logic 2022-08-22 12:59:24 -07:00
dragonmux 3d3d8c9adb usbuart: Cleanup of redundant definitions 2022-08-22 12:59:24 -07:00
dragonmux 3d707b4497 usbuart: Moved usbuart_set_led_state() into aux_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 9cb9cda62f usbuart: Removed the TM4C version of usbuart.c as it's now not required 2022-08-22 12:59:24 -07:00
dragonmux 60b91e1da9 usbuart: Moved the AUX serial receive buffer definition into aux_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 62b1a33188 aux_serial: Cleaned up the receive index counters 2022-08-22 12:59:24 -07:00
dragonmux 2657594a66 usb_serial: Refactored out the code that deals with and adjusts the AUX serial receive FIFOs 2022-08-22 12:59:24 -07:00
dragonmux cd67c7de29 usb_serial: Begun refactoring out components of debug_uart_send_aux_serial_data() 2022-08-22 12:59:24 -07:00
dragonmux 90a0931f78 usbuart: Renamed buf_rx -> aux_serial_receive_buffer 2022-08-22 12:59:24 -07:00
dragonmux 8a3b8a90e8 aux_serial: Renamed the receive FIFO indexes 2022-08-22 12:59:24 -07:00
dragonmux af6f2ed197 usbuart: Moved the definitions of the AUX serial receive buffer into aux_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 35ae0adcd1 aux_serial: Cleaned up the buffer sizing macros 2022-08-22 12:59:24 -07:00
dragonmux 3afb041f03 usbuart: Moved the Tiva-C platform UART interrupt routine into aux_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 79898808af usbuart: Moved aux_serial_receive_complete into usb_serial.c 2022-08-22 12:59:24 -07:00
dragonmux c2d2263395 usb_serial: Renamed rx_usb_trfr_cplt -> aux_serial_receive_complete 2022-08-22 12:59:24 -07:00
dragonmux fa966924e4 usbuart: Moved the aux UART DMA RX interrupt handling into aux_serial.c 2022-08-22 12:59:24 -07:00
dragonmux d25a093d7f usbuart: Moved the aux UART DMA TX interrupt handling into aux_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 5d94ea3017 usbuart: Moved the aux UART RX interrupt handling into aux_serial.c 2022-08-22 12:59:24 -07:00
dragonmux a3703186be usbuart: Moved aux_serial_init() into aux_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 4ec95994a7 usbuart: Renamed tx_trfr_cplt -> aux_serial_transmit_complete 2022-08-22 12:59:24 -07:00
dragonmux 070e53a69b aux_serial: Renamed buf_tx_act_sz -> aux_serial_transmit_buffer_consumed 2022-08-22 12:59:24 -07:00
dragonmux dd619ad808 aux_serial: Moved all the transmit logic into aux_serial.c and cleaned up in usb_serial.c 2022-08-22 12:59:24 -07:00
dragonmux b94476841f usb_serial: Begun bringin more commonality to debug_uart_receive_callback 2022-08-22 12:59:24 -07:00
dragonmux a5c07c188f usb_serial: Begun refactoring debug_uart_receive_callback 2022-08-22 12:59:24 -07:00
dragonmux 960806c324 aux_serial: Redefined the DMA transmit buffers as two actual buffers and simplified 2022-08-22 12:59:24 -07:00
dragonmux 98a2b4d350 aux_serial: Refined how flip-flopping between the two transmit buffers is achieved 2022-08-22 12:59:24 -07:00
dragonmux 52e9065426 usbuart: Further refined the buffer sizing definition process 2022-08-22 12:59:24 -07:00
dragonmux 39df8fa6a6 usbuart: Moved all the STM32 buffer sizing logic into one header and one location 2022-08-22 12:59:24 -07:00
dragonmux 5108ecf759 aux_serial: tx_buf -> aux_serial_transmit_buffer 2022-08-22 12:59:24 -07:00
dragonmux 7feeb70430 usb_serial: Begun cleaning up in debug_uart_receive_callback() 2022-08-22 12:59:24 -07:00
dragonmux bc256a9201 aux_serial: Begun moving globals into their proper private TU scopes 2022-08-22 12:59:24 -07:00
dragonmux af93aba0da aux_serial: Moved the transmit buffer swap function declaration into aux_serial.h and implemented a function to get the current buffer 2022-08-22 12:59:24 -07:00
dragonmux 25ac055602 usb_serial: Renamed usbuart_usb_out_cb() -> debug_uart_receive_callback() 2022-08-22 12:59:24 -07:00
dragonmux 27ab12f3fc aux_serial: Renamed usbuart_change_dma_tx_buf() -> aux_serial_switch_transmit_buffers() 2022-08-22 12:59:24 -07:00
dragonmux 8eea6110b8 usbuart: Moved usbuart_change_dma_tx_buf() into aux_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 693c408b98 usbuart: Moved usbuart_usb_out_cb() into usb_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 9afa946703 usb_serial: Renamed usbuart_usb_in_cb() -> debug_uart_send_callback() 2022-08-22 12:59:24 -07:00
dragonmux a0fab9b772 usbuart: Moved usbuart_usb_in_cb into usb_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 67e8a5b840 usbuart: Moved usbuart_usb_in_cb into usb_serial.c 2022-08-22 12:59:24 -07:00
dragonmux bbbb49c2b5 usb_serial: Renamed usbuart_send_rx_packet() -> debug_uart_send_rx_packet() 2022-08-22 12:59:24 -07:00
dragonmux 9b6d9c4780 usbuart: Moved usbuart_send_rx_packet to usb_serial.c 2022-08-22 12:59:24 -07:00