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

Enhance mccibootloader_image to support variety of processors #7

Open
terrillmoore opened this issue Sep 1, 2021 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@terrillmoore
Copy link
Member

CM0/CM0+ processors have a maximum of 48 vectors; this allows the AppInfo_t block to reside at byte offset 192.

CM7 processors have a maximum of 256 vectors; STM32H7 processors are limited in practice to fewer than 200. So we need find the AppInfo_t block at various locations, depending on the target:

  • cm0+ at 192
  • stm32h7 at 960
  • generic cm7 (not stm32h7) at 1024

mccibootloader_image should look at various offsets automatically, and use the one that's found (rather than looking at offset 192 as in v0.4.0).

@terrillmoore terrillmoore added the enhancement New feature or request label Sep 1, 2021
@terrillmoore terrillmoore self-assigned this Sep 1, 2021
terrillmoore added a commit that referenced this issue Sep 2, 2021
Fix #7: add support for stm32h7 and cm7 to mccibootloader_image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant