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

[stm32] add missing HSI48-related functionality #1252

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

dokee39
Copy link
Contributor

@dokee39 dokee39 commented Jan 5, 2025

Fixes #1250

  • add Rcc::enableInternalClockMHz48 function for stm32 g0 g4 l0 h7 (h5 u0)
  • make changes to PllSource, SystemClockSource, Clock48Source and UsbClockSource
family hsi48_cr
F0 (42, 48, 71,72,78, 91, 98) CR2
G0 (B1 C1) CR
G4 CRRCR
L0 (x2) CRRCR
L4 (target["name"][0] not in ["7", "8"]) CRRCR
U0 CRRCR
L5 CRRCR
U5 CR
H5 CR
H7 CR

@dokee39
Copy link
Contributor Author

dokee39 commented Jan 5, 2025

I overlooked that some models do not have USB peripherals, which caused the code check to fail. It seems I need to revise and resubmit the PR (×_×;)"

@salkinium salkinium added enhancement 🌈 advanced 🤯 fix 💎 ci:hal Triggers the exhaustive HAL compile CI jobs labels Jan 5, 2025
@salkinium salkinium added this to the 2025q1 milestone Jan 5, 2025
@salkinium salkinium added ci:hal Triggers the exhaustive HAL compile CI jobs and removed ci:hal Triggers the exhaustive HAL compile CI jobs labels Jan 5, 2025
Copy link
Member

@salkinium salkinium left a comment

Choose a reason for hiding this comment

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

Awesome, thank you very much!

@salkinium salkinium merged commit e39bca4 into modm-io:develop Jan 5, 2025
68 of 96 checks passed
@dokee39 dokee39 deleted the fix/stm32-hsi48 branch January 5, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
advanced 🤯 ci:hal Triggers the exhaustive HAL compile CI jobs enhancement 🌈 fix 💎
Development

Successfully merging this pull request may close these issues.

Missing Rcc::enableInternalClockMHz48 Function for Some STM32 Microcontrollers
2 participants