Commit Graph

2328 Commits

Author SHA1 Message Date
dragonmux 486fb6504c stm32g0: Cleaned up stm32g0_flash_lock 2022-08-15 22:16:15 -07:00
dragonmux f554fbd831 stm32g0: Refactored out the cleanup step for the flash routines 2022-08-15 22:16:15 -07:00
dragonmux de909d96f0 stm32g0: Removed some checks from the erase function which can never fire 2022-08-15 22:16:15 -07:00
dragonmux 90fc89fd63 stm32g0: Further naming and structural cleanup in stm32g0_flash_erase 2022-08-15 22:16:15 -07:00
dragonmux f4d8022437 stm32g0: Refactored out the busy wait code into a small function,
This netted a 36 byte code size reduction
2022-08-15 22:16:15 -07:00
dragonmux 60af35b06c stm32g0: Begun sorting out the erase routine mess 2022-08-15 22:16:15 -07:00
dragonmux f859368a97 stm32g0: Fixed the structure naming and typedef'd them 2022-08-15 22:16:15 -07:00
dragonmux 04b86f6eea stm32g0: Cleaned up the STM32G0B_C memory map setup slightly 2022-08-15 22:16:15 -07:00
dragonmux c500e720e3 stm32g0: Removed some more unnecessary casts 2022-08-15 22:16:15 -07:00
dragonmux 43afb5207a stm32g0: Run clang-format through much of the code 2022-08-15 22:16:15 -07:00
dragonmux ba7c6a3048 stm32g0: Cleaned up the flash function definitions 2022-08-15 22:16:15 -07:00
dragonmux 1aa1a3598a stm32g0: Removed some needless casts from the command list build 2022-08-15 22:16:15 -07:00
dragonmux 6b5c492bc7 adiv5_swdp: Implemented clock tristating for adiv5_swdp_scan 2022-08-15 22:16:15 -07:00
dragonmux c847007008 jtagtap: Implemented clock tristating 2022-08-15 22:16:15 -07:00
dragonmux dbcc1fe0a1 misc: Added a file with the MIT license as stm32g0.c is licensed under MIT 2022-08-15 22:16:15 -07:00
dragonmux 9198f5b630 native: Properly handled the TCK/SWCLK processor pin when doing clock tristating 2022-08-15 22:16:15 -07:00
dragonmux 1890426669 native: Reformatted the TMS and SWDIO macros in the platform header 2022-08-15 22:16:15 -07:00
dragonmux 4ca3982599 native: Cleaned up the SWDIO turnaround macros 2022-08-15 22:16:15 -07:00
dragonmux e7f45aea7e hosted/remote_jtagtap: Refactored out another unnecessary snprintf() call from TAP init remote call code 2022-08-15 22:16:15 -07:00
dragonmux cf07861405 hosted: Implemented support for the new target clock tristating on BMP 2022-08-15 22:16:15 -07:00
dragonmux 450581cc0a hosted/bmp_remote: Implemented support for the new remote protocol target clock tristating 2022-08-15 22:16:15 -07:00
dragonmux 84527d501b remote: Implemented support for target clock tristating 2022-08-15 22:16:15 -07:00
dragonmux 01110a206b remote: Run clang-format across most of the rest of the remote interface header 2022-08-15 22:16:15 -07:00
dragonmux 3efcc9b0f5 remote: Fixed the naming style of the JTAG and SWD packet processors to comply with the project style 2022-08-15 22:16:15 -07:00
dragonmux e1007a98bb remote: Run clang-format on the JTAG and SWD packet processors 2022-08-15 22:16:15 -07:00
dragonmux dd0e99b0e6 remote: Run clang-format on the JTAG and SWD protocol header definitions 2022-08-15 22:16:15 -07:00
dragonmux 682ae75431 remote: Rewrote remotehston using a for loop and a const-correct type signature 2022-08-15 22:16:15 -07:00
dragonmux 52160db72b native: Done a spring pass in platform_init() with clang-format and removed a duplicate gpio_set_mode() call 2022-08-15 22:16:15 -07:00
dragonmux 7a0f6597ff platform: Implemented sub support in the non-native platforms for target clock tristating 2022-08-15 22:16:15 -07:00
dragonmux adcfe22f86 native: Implemented platform support for tristating the TCLK/SWCLK pin 2022-08-15 22:16:15 -07:00
Uwe Bonnes b70b807a4e F072/F3: Rework Readme.md
Give explicit instructions for initial firmware loading and updating.
2022-08-15 19:11:44 -07:00
dragonmux eedf21e821 usb_serial: run clang-format on the code 2022-08-12 22:25:52 -07:00
dragonmux 0477d5ee8e traceswo: Replaced two magic numbers with the proper macros 2022-08-12 22:25:52 -07:00
dragonmux 0f37edc36a misc: Renamed cdcacm.{c,h} to usb_serial.{c,h} 2022-08-12 22:25:52 -07:00
dragonmux 8f41217d29 gdb_if: Run clang-format and done some cleanup 2022-08-12 22:25:52 -07:00
dragonmux aa6d0fa7e4 usb: Moved usb_get_config() into the main usb header 2022-08-12 22:25:52 -07:00
dragonmux 832c056e6d usb: Moved usb_get_state() into the main usb implementation 2022-08-12 22:25:52 -07:00
dragonmux bf6c146786 cdcacm: Renamed cdcacm_get_config() -> usb_get_config() 2022-08-12 22:25:52 -07:00
dragonmux 983a541cab cdcacm: More naming fixes for various functions 2022-08-12 22:25:52 -07:00
dragonmux 49d21b0f44 cdcacm: Made gdb_uart_dtr a bool, saving space and memory 2022-08-12 22:25:52 -07:00
dragonmux 109f661e31 gdb_if: Cleanup in the include order 2022-08-12 22:25:52 -07:00
dragonmux 82c83bb77e usb_gdb_uart: Renamed cdcacm_get_dtr() -> gdb_uart_get_dtr() 2022-08-12 22:25:52 -07:00
dragonmux 2e5143bb5f common: Moved blackmagic_usb_init() into the main USB header 2022-08-12 22:25:52 -07:00
dragonmux da320a42f3 cdcacm: Refactored cdcacm_set_modem_state() 2022-08-12 22:25:52 -07:00
dragonmux adf8ae1ef1 common: Moved the DFU stub out into its own file with seperate handler registration so we don't cross the handler streams 2022-08-12 22:25:52 -07:00
dragonmux 400ee0c76c serialno: Improved the naming of the serial number reading function 2022-08-12 22:25:52 -07:00
dragonmux 886c790b25 serialno: Refactored the serial number code, cleaning up its API and localising implementation details 2022-08-12 22:25:52 -07:00
dragonmux 259077a87d common: Moved the USB initialisation code into usb.c 2022-08-12 22:25:52 -07:00
dragonmux ada59291c2 common: Broke the USB descriptors out to their own header 2022-08-12 22:25:52 -07:00
dragonmux d6f8a343a2 platform: Fixed the order of operations with the physical UART init vs the USB stack init 2022-08-12 22:25:52 -07:00