Skip to content

Fix L412 RCC SMENR reset values, fix interrupts #1244

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
Jun 3, 2025

Conversation

god-is-a-crab
Copy link
Contributor

My program wasn't running correctly because the RCC AHB1SMENR register doesn't have the correct reset value. I dumped the reset values for all the SMENR registers and edited the patch for them.

I also fixed some of the other interrupts I previously noticed were wrong:

  • RCC (missing interrupt)
  • LPTIM2 (has LPTIM1 instead of LPTIM2)
  • LPUART1 (has LPTIM2 instead of LPUART1)
  • SPI1 (missing interrupt)
  • SPI2 (has SPI1 instead of SPI2

@god-is-a-crab god-is-a-crab changed the title Fix RCC SMENR reset values, fix interrupts Fix L412 RCC SMENR reset values, fix interrupts Jun 2, 2025
burrbull
burrbull previously approved these changes Jun 2, 2025
@burrbull burrbull enabled auto-merge June 2, 2025 06:47
auto-merge was automatically disabled June 2, 2025 06:47

Head branch was pushed to by a user without write access

@god-is-a-crab god-is-a-crab requested a review from burrbull June 2, 2025 06:55
@burrbull
Copy link
Member

burrbull commented Jun 2, 2025

Squash commits, please.

@god-is-a-crab
Copy link
Contributor Author

@burrbull Hi, can you review again please

@burrbull burrbull added this pull request to the merge queue Jun 3, 2025
Merged via the queue into stm32-rs:master with commit a32259e Jun 3, 2025
24 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