7
31
Fork
You've already forked blackmagic
23

WIP: stm32 flash rework + ch32 flash rework and implementation #1642

Draft
perigoso wants to merge 130 commits from perigoso/fix/stm32-flash-rework into main
pull from: perigoso/fix/stm32-flash-rework
merge into: blackmagic-debug:main
blackmagic-debug:main
blackmagic-debug:feature/bmda-remote-comms
blackmagic-debug:ALTracer/feature/aarch64-ident
blackmagic-debug:feature/better-meson-optimisation-handling
blackmagic-debug:feature/am335x-support
blackmagic-debug:feature/esp32-c3-support
blackmagic-debug:feature/cortex-ar-software-breakpoints
blackmagic-debug:feature/unit-testing
blackmagic-debug:feature/windows-usb-serial-interface-naming
blackmagic-debug:fix/bmp-external-spi
blackmagic-debug:ALTracer/feature/bluepillplus-platform
blackmagic-debug:ALTracer/feature/at32f43x-unrdp
blackmagic-debug:feature/const-correctness
blackmagic-debug:ALTracer/feature/fault_handlers
blackmagic-debug:ALTracer/feature/hazard3-ice40-support
blackmagic-debug:fix/ci-cleanup
blackmagic-debug:ALTracer/fix/gdb-10-12-thread
blackmagic-debug:ALTracer/feature/blackpill-f4-adc
blackmagic-debug:ALTracer/fix/cortex-desc-allocfail-report
blackmagic-debug:ALTracer/feature/spi-perf
blackmagic-debug:ALTracer/feature/calibrate_swd
blackmagic-debug:ALTracer/feature/blank-check
blackmagic-debug:feature/avr
blackmagic-debug:v2.0
blackmagic-debug:v1.9
blackmagic-debug:v1.10
blackmagic-debug:v1.8
perigoso commented 2023年10月05日 14:17:27 +02:00 (Migrated from github.com)
Copy link

Detailed description

This is the work I have been doing on the stm32 flash rework + ch32 flash implementation, for now deeply intertwined and built over #1399, it is in a very rough state, and this PR is just a draft, don't mind the vagueness and incompleteness

Your checklist for this pull request

  • I've read the Code of Conduct
  • I've read the guidelines for contributing to this repository
  • It builds for hardware native (make PROBE_HOST=native)
  • It builds as BMDA (make PROBE_HOST=hosted)
  • I've tested it to the best of my ability
  • My commit messages provide a useful short description of what the commits do

Closing issues

<!-- Filling this template is mandatory --> ## Detailed description <!-- Explain the **details** for making this change. * Is a new feature implemented? * What existing problem(s) does the pull request solve? * How does the pull request solve these problems? Please provide enough information so that others can review your pull request. Information embedded in the description part of the commits doesn't count. --> This is the work I have been doing on the stm32 flash rework + ch32 flash implementation, for now deeply intertwined and built over #1399, it is in a very rough state, and this PR is just a draft, don't mind the vagueness and incompleteness ## Your checklist for this pull request * [ ] I've read the [Code of Conduct](https://github.com/blackmagic-debug/blackmagic/blob/main/CODE_OF_CONDUCT.md) * [ ] I've read the [guidelines for contributing](https://github.com/blackmagic-debug/blackmagic/blob/main/CONTRIBUTING.md) to this repository * [ ] It builds for hardware native (`make PROBE_HOST=native`) * [ ] It builds as BMDA (`make PROBE_HOST=hosted`) * [ ] I've tested it to the best of my ability * [ ] My commit messages provide a useful short description of what the commits do ## Closing issues <!-- put "fixes #XXXX" here to auto-close the issue(s) that your PR fixes (if any). -->
This pull request has changes conflicting with the target branch.
  • src/Makefile
  • src/command.c
  • src/gdb_main.c
  • src/include/target.h
  • src/platforms/hosted/Makefile.inc
  • src/platforms/hosted/bmp_libusb.c
  • src/platforms/hosted/platform.c
  • src/platforms/hosted/platform.h
  • src/platforms/hosted/wchlink.c
  • src/platforms/hosted/wchlink.h
  • src/platforms/hosted/wchlink_protocol.h
  • src/platforms/hosted/wchlink_riscv_dtm.c
  • src/platforms/hosted/wchlink_rvswd.c
  • src/target/ch32f1.c
  • src/target/cortexm.c
  • src/target/efm32.c
  • src/target/hc32l110.c
  • src/target/jep106.h
  • src/target/jtag_devs.c
  • src/target/kinetis.c
  • src/target/lmi.c
  • src/target/lpc17xx.c
  • src/target/lpc40xx.c
  • src/target/lpc43xx.c
  • src/target/lpc546xx.c
  • src/target/msp432e4.c
  • src/target/nrf51.c
  • src/target/nxpke04.c
  • src/target/riscv32.c
  • src/target/riscv64.c
  • src/target/riscv_debug.c
  • src/target/riscv_debug.h
  • src/target/riscv_jtag_dtm.c
  • src/target/rp2040.c
  • src/target/samd.c
  • src/target/samx5x.c
  • src/target/spi.c
  • src/target/stm32f1.c
  • src/target/stm32f4.c
  • src/target/stm32g0.c
  • src/target/stm32h7.c
  • src/target/stm32l0.c
  • src/target/stm32l4.c
  • src/target/target.c
  • src/target/target_flash.c
  • src/target/target_internal.h
  • src/target/target_probe.c
  • src/target/target_probe.h
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin perigoso/fix/stm32-flash-rework:perigoso/fix/stm32-flash-rework
git switch perigoso/fix/stm32-flash-rework
Sign in to join this conversation.
No reviewers
Labels
Clear labels
BMD App
Black Magic Debug App (aka. PC hosted) (not firmware)
BMP Firmware
Black Magic Probe Firmware (not PC hosted software)
Bug
Confirmed bug
Build system
Build system
Can't reproduce
Maintainers can't reproduce this problem
CI
Continuous Integration System
Contribution wanted
User contributions welcome
Documentation
Project documentation
Draft
Work in progress draft
Duplicate
This issue or pull request already exists
Enhancement
General project improvement
Feedback wanted
Requires additional submitter feedback
Foreign Host Board
Non Native hardware to runing Black Magic firmware on
GDB
Issue/PR related to GDB
Good first issue
Good for newcommers
HwIssue Mitigation
Solving or mitigating a Hardware issue in Software
Information Needed
Maintainers need more information
NativeHardware
Official Black Magic Debug Hardware
New Host Board
New hardware to run Black Magic firmware on
New Target
New debug target
Off Topic
Something that does not involve the project in any way
Potential Bug
A potential, unconfirmed or very special circumstance bug
Regression
Bug caused by a regression
User Interest Needed
More user interest required before consideration
User Testing Needed
Looking for user testing reports
Won't fix
Outside of the project scope or works as intended
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
blackmagic-debug/blackmagic!1642
Reference in a new issue
blackmagic-debug/blackmagic
No description provided.
Delete branch "perigoso/fix/stm32-flash-rework"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?