Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add STM32H7B0 Target #1610

Merged
merged 5 commits into from
Aug 29, 2023
Merged

Add STM32H7B0 Target #1610

merged 5 commits into from
Aug 29, 2023

Conversation

BrianPugh
Copy link
Contributor

Adds the STM32H7B0 target with the following features:

  • Extended the flash definition for Bank 1 to 256KB.
  • Added the undocumented Bank 2 (256KB).
  • Added custom modified flash algorithm for supporting 256KB.

I've tested erasing and flashing >128KB firmware to both Bank 1 and Bank 2 with success.

Builds on-top of #1608, so that should be merged first.

Possible TODOs that I need help on:

  1. Maybe detect silicon revision and display appropriate warning if an unknown revision is detected.

@@ -216,6 +217,7 @@
'stm32l031x6' : target_STM32L031x6.STM32L031x6,
'stm32h723xx' : target_STM32H723xx.STM32H723xx,
'stm32h743xx' : target_STM32H743xx.STM32H743xx,
'stm32h7b0' : target_STM32H7B0.STM32H7B0,
Copy link
Member

Choose a reason for hiding this comment

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

Would you mind adding xx's to the target name so it becomes stm32h7b0xx? (Granted the F051 is not like that, but that's historical…)

Copy link
Member

@flit flit left a comment

Choose a reason for hiding this comment

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

Only change request is the target name.

@BrianPugh
Copy link
Contributor Author

updated!

@flit
Copy link
Member

flit commented Aug 15, 2023

Oops, looks like you'll have to rebase after that previous PR was merged.

@BrianPugh
Copy link
Contributor Author

rebased; I also made the stm32h7b0 -> stm32h7b0xx name change everywhere.

@flit
Copy link
Member

flit commented Aug 21, 2023

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@flit flit merged commit c947c04 into pyocd:develop Aug 29, 2023
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants