Skip to content

Revert rebasing TIM5 for F7x2, since OR must be different. #584

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

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

adamgreig
Copy link
Member

In #540 TIM5 was updated to be rebased from TIM2, but as its option register OR is different, it can't be rebased.

@burrbull I thought I'd need to instead copy it from TIM2 and then change OR, like

_copy:
  TIM5:
    from: TIM2

TIM5:
  _modify:
    OR:
      description: TIM5 option register 1
  OR:
    _delete:
      - ITR1_RMP
    _add:
      TI4_RMP:
        description: Timer Input 4 remap
        bitOffset: 6
        bitWidth: 2

but it looks like the plain SVD is already correct and we just don't need to do anything, can you remember why you rebased it originally?

@github-actions
Copy link

Memory map comparison

@burrbull
Copy link
Member

Sorry. It's my fault. I forgot about OR register.

@adamgreig
Copy link
Member Author

No worries, looks like this fix should be OK then.

@adamgreig adamgreig merged commit 682a2b7 into master Jul 22, 2021
@bors bors bot deleted the f7x2-tim5-or branch July 22, 2021 14:13
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