Commit Graph

2328 Commits

Author SHA1 Message Date
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
dragonmux 8723fdf3de usb_serial: Renamed usbuart_run() -> debug_uart_run() 2022-08-22 12:59:24 -07:00
dragonmux 2d83b25b3c usbuart: Moved usbuart_run() into usb_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 04cf410247 platform: Moved the aux serial functions into their own header 2022-08-22 12:59:24 -07:00
dragonmux f5ecae48f1 usb_serial: clang-foramt cleanup of debug_uart_write() 2022-08-22 12:59:24 -07:00
dragonmux da447a849f usb_serial: Renamed usbuart_debug_write() -> debug_uart_write() 2022-08-22 12:59:24 -07:00
dragonmux 35e88d0409 usbuart: Moved the SemiHosting implementation to usb_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 15a37f830a usbuart: Moved usbuart_debug_write() to usb_serial.c 2022-08-22 12:59:24 -07:00
dragonmux 62adb8a7d2 usbuart: Moved some important definitions to the header temporarily 2022-08-22 12:59:24 -07:00
dragonmux 2da8b44c1d aux_serial: Renamed usbuart_set_line_coding() -> aux_serial_set_encoding() 2022-08-22 12:59:24 -07:00
dragonmux 487bcf029d usbuart: Moved usbuart_set_line_coding() out into a new file 2022-08-22 12:59:24 -07:00
dragonmux 13209385f8 usb_serial: Refactored debug_uart_send_stdout() and cleaned up 2022-08-22 12:59:24 -07:00
dragonmux 3af03c0778 usb_serial: Renamed usbuart_send_stdout() -> debug_uart_send_stdout() 2022-08-22 12:59:24 -07:00
dragonmux 70e24f4203 usb_serial: Moved usbuart_send_stdout() into the usb_serial code 2022-08-22 12:59:24 -07:00
dragonmux 099540cccb usb_serial: Moved the "SemiHosting" init into a more suitable spot in bringup 2022-08-22 12:59:24 -07:00
dragonmux 24ac50ff60 usbuart: Begun refactoring the physical UART code to seperate out the mixed interests 2022-08-22 12:59:24 -07:00
Jonathan Giles 9570b7d21e ch32f1: Differentiate CH32F103 from CKS32F103 and APM32F103 based on REV ID (upper 16 bits of DBGMCU_IDCODE) 2022-08-22 12:48:48 -07:00
dragonmux a86340790d usbuart: Replaced most of the debug monitor code with newlib hooks and documented everything 2022-08-21 18:26:17 -07:00
dragonmux 99e894cd0f platform: Removed usbuart_debug_write() from the headers and fixed its return type 2022-08-21 18:26:17 -07:00
dragonmux 999ac27172 native/usbdfu: clang-format for part of the DFU bootloader 2022-08-21 18:26:17 -07:00
dragonmux 54bcbf95fa native: Done a little more cleanup in the platform with clang-format 2022-08-21 18:26:17 -07:00
Rafael Silva 98b4c71156 misc: superfluous semicolon cleanup 2022-08-20 07:15:53 -04:00
Rafael Silva b16e55da30 gdb_main: don't print debug for vMustReplyEmpty packets 2022-08-19 12:30:09 -04:00
dragonmux 79575cc8a9 adiv5: Attempt to handle JTAG DPv0 devices 2022-08-18 18:58:29 -07:00
dragonmux b795cb7ef4 samd: Added an errata workaround for the SAMD11 DFLL48M which can have issues if left unrequested before configuration. 2022-08-18 18:52:00 -07:00
dragonmux 663f2a329a samd: Cleanup and stylistic fixes 2022-08-18 18:52:00 -07:00
dragonmux dde75f186d command: Cleaned up in the auto_scan command routine 2022-08-15 22:16:15 -07:00
dragonmux 8d7a5cd422 command: Added some additional tristating to the end of the scan routines 2022-08-15 22:16:15 -07:00
dragonmux 37a6a2a274 remote: Refactored the handling for REMOTE_TDITDO_{NO,}TMS 2022-08-15 22:16:15 -07:00
dragonmux 800a2a8f12 gdb_main: Run clang-format over the reset command handling code 2022-08-15 22:16:15 -07:00
dragonmux 8cf1d2f09c target: Added target clock tristating to the target attach and detach functions 2022-08-15 22:16:15 -07:00
dragonmux d4d6218234 stm32g0: Refactored the wait code in the flash write routine 2022-08-15 22:16:15 -07:00
dragonmux d6c1d8a1cc stm32g0: Made the flash write routine a little more understandable 2022-08-15 22:16:15 -07:00
dragonmux 23cf81eb55 stm32g0: Begun cleaning up the flash write routine 2022-08-15 22:16:15 -07:00