Commit Graph

2400 Commits

Author SHA1 Message Date
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
dragonmux 82bca86806 platform: Renamed cdcacm_init -> blackmagic_usb_init 2022-08-12 22:25:52 -07:00
dragonmux 105f6a3dce common: Begun splitting the USB code into more sensibly named implementation files 2022-08-12 22:25:52 -07:00
Xiretza f157eefaf0 misc: change old wiki links to point to website instead 2022-08-09 13:01:13 -04:00
dragonmux 9a0bbd3b37 upgrade: Added a deprecation notice in favour of bmputil 2022-08-08 22:27:44 -07:00
dragonmux c228176d29 stm32_mem.py: Added a deprecation notice and information on alternatives that are available 2022-08-08 22:27:44 -07:00
dragonmux bc8a77a1f3 msic: Removed the now defunct Travis CI configuration file 2022-08-08 22:27:44 -07:00
dragonmux 3606784663 hosted/cmsis_dap: Add a dummy read to the end of dap_mem_write_sized() so we always wait on the write to ensure it's complete before any DP access can occur 2022-08-08 14:45:38 -07:00
dragonmux 4c544bad28 adiv5: Add a dummy read to the end of firmware_mem_write_sized() so we always wait on the write to ensure it's complete before any DP access can occur 2022-08-08 14:45:38 -07:00
dragonmux 7107d14bbc sfdp: Moved the read debugging into the implementation 2022-08-08 14:43:29 -07:00
dragonmux 1556db88de rp: Made use of the extra information we pull back from the SFDP data in rp_flash_erase 2022-08-08 14:43:29 -07:00
dragonmux 09b044e351 rp: Cleanup in the Flash write/erase routines 2022-08-08 14:43:29 -07:00
dragonmux e69a79cecf rp: Types cleanup for the Flash erase/write routines 2022-08-08 14:43:29 -07:00
dragonmux 4630353be4 rp: Created a Flash container type for the SPI-specific configuration bits 2022-08-08 14:43:29 -07:00
dragonmux d883fd0cdc rp: Refactored the SPI Flash parameter and size readout into rp_add_flash() 2022-08-08 14:43:29 -07:00
dragonmux 8e99e8ec4d rp: Added some debugging to the SFDP read routine to aid with SFDP failures 2022-08-08 14:43:29 -07:00
dragonmux 298299d85b rp: Cleaned up some variable naming in the ROM function table reader 2022-08-08 14:43:29 -07:00
dragonmux 9681475ab5 rp: Made use of the SFDP routines to extract the necessary Flash parameters 2022-08-08 14:43:29 -07:00
dragonmux 253d0cc1d9 rp: Entirely rewrote the SPI Flash read routine so we can implement SFDP support 2022-08-08 14:43:29 -07:00
dragonmux 6559c46ce9 sfdp: Implemented a structure for the JEDEC ID data 2022-08-08 14:43:29 -07:00
dragonmux 969c7c6c14 rp: Naming cleanup for the memory region base addresses and sizes 2022-08-08 14:43:29 -07:00
dragonmux ff30b66b3a rp: Cleaned up the RP register definitions for the SPI Flash and the chip select line control routine 2022-08-08 14:43:29 -07:00
dragonmux 2058725dd8 rp: Cleaned up and rewrote the ROM function table readout code to be more understandable and transparent
This saves 20 bytes of Flash
2022-08-08 14:43:29 -07:00
dragonmux a372cfd787 rp: Fixed the private structure naming and made a typedef for it 2022-08-08 14:43:29 -07:00
dragonmux 11b43a7c66 rp: Refactored the ROM table tags using a helper macro 2022-08-08 14:43:29 -07:00
dragonmux f2b0d3030c rp: Fixed the UB _-prefixed naming of the ROM routines 2022-08-08 14:43:29 -07:00
dragonmux 8d772d048b rp: Cleaned up ROM table function table readout 2022-08-08 14:43:29 -07:00
dragonmux 8382b0aa7d rp: Magic numbers cleanup using top of file definitions 2022-08-08 14:43:29 -07:00
dragonmux 96259d11c8 sfdp: Implemented the logic needed to read the headers and basic parameter table 2022-08-08 14:43:29 -07:00