Supports for BlackPill AT32F403A#1150
Supports for BlackPill AT32F403A#1150grumat wants to merge 3 commits intoblackmagic-debug:mainfrom grumat:master
Conversation
|
Thank you for the contribution! Before we dive into the code and do a full review, could we please ask you to update your default branch against main and rebase this PR to remove the merge commit? Unfortunately we don't have any of the AT32F devices for now (though Esden has some AT32F103 clones on the way iwrc), so if you could provide some GDB output showing this working that would be helpful as a reference and to show it works. |
| bool rp_rescue_probe(ADIv5_AP_t *ap); | ||
|
|
||
| bool ch32f1_probe(target *t); // will catch all the clones | ||
| bool at32fxx_probe(target *t); // STM32 clones from Artery |
There was a problem hiding this comment.
Pleas add a probe alias on target_probe.c
|
Sorry I am not used to git. Will try to figure out what this "rebase" stuff means. I'll update as soon as this is solved. |
|
The following two parts of the Git reference manual might help in explaining how rebasing works and what it is: https://git-scm.com/book/en/v2/Git-Branching-Rebasing and https://git-scm.com/docs/git-rebase |
While Chip crisis is ongoing one more common alternative developed by WeActStudio, the BlackPill AT32F403A.
This PR adds support for the entire family of chips. This family may offer an external Flash, which requires custom flash code to be used. With this PR the interface common to STM32F103 allows for 256KB usage, which is quite a good start.
Tested with the referred board.