Skip to content

Adds DCMI/PSSI peripheral and adds DCMI/PSSI support to H735 #766

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

FerdinandvHagen
Copy link
Contributor

This PR adds initial support for the DCMI and PSSI peripherals.
So far I know of at least the H735 and L4+ series that support these peripherals.
As a starting point the peripherals have been added to the H735 series but are also available in other SVDs. Happy to add them to those if required - but I don't have experience with those devices so didn't want to add them initially.

Remarks:

  • PSSI peripheral is on the same address as DCMI for those devices - maybe we could even merge both together but I'm not sure if there are any exceptions from this rule which would mandate two files
  • I haven't found a solution to add the enumerated values (especially PSSI) directly when defining registers so had to split into two. It's kinda ugly - so any hints on how to merge them is highly appreciated

Additional Devices where DCMI is available in the SVDs:

  • F215
  • F217
  • F405
  • F407
  • F427
  • F429
  • F446
  • L4P5
  • L4Q5

@github-actions
Copy link

Memory map comparison

@newAM newAM added the stm32h7 label Aug 20, 2022
Copy link
Member

@richardeoin richardeoin left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! I haven't reviewed fully but made a few comments inline.

There's a rough rule for managing the repository that changes to the register structure (for example bit offsets, adding new fields/registers) should go in a file under devices/common_patches/. So in fact the register definitions should go there, separately from the enumerated values.

… blocks

Fixes bit offsets for DEPOL and CKPOL (thanks to @richardeoin)
Moves modify blocks to common_patches to adhere to repository standards (thanks to @richardeoin)
@FerdinandvHagen
Copy link
Contributor Author

Thank you very much @richardeoin for the review.

I have fixed the bit offsets and moved the modify blocks to the common_patches directory.

@github-actions
Copy link

Memory map comparison

@burrbull
Copy link
Member

burrbull commented Jul 7, 2024

DCMI/PSSI is already added for L4+.
Could you rebase (or open new PR) taking this in account?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants