Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Supports for BlackPill AT32F403A#1150

Closed
grumat wants to merge 3 commits intoblackmagic-debug:mainfrom
grumat:master
Closed

Supports for BlackPill AT32F403A#1150
grumat wants to merge 3 commits intoblackmagic-debug:mainfrom
grumat:master

Conversation

@grumat
Copy link
Contributor

@grumat grumat commented Jul 30, 2022

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.

@dragonmux
Copy link
Member

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.

@dragonmux dragonmux added this to the v1.9 release milestone Jul 30, 2022
@dragonmux dragonmux added the New Target New debug target label Jul 30, 2022
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pleas add a probe alias on target_probe.c

@grumat
Copy link
Contributor Author

grumat commented Jul 30, 2022

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.

@dragonmux
Copy link
Member

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

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

New Target New debug target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants