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: clock-control: Remove usage of SystemCoreClock #17748

Closed
erwango opened this issue Jul 24, 2019 · 4 comments
Closed

stm32: clock-control: Remove usage of SystemCoreClock #17748

erwango opened this issue Jul 24, 2019 · 4 comments
Labels
area: Clock Control Enhancement Changes/Updates/Additions to existing features platform: STM32 ST Micro STM32

Comments

@erwango
Copy link
Member

erwango commented Jul 24, 2019

Is your enhancement proposal related to a problem? Please describe.
STM32 clock control driver is using variable SystemCoreClock to hold core clock frequency.
It was used in order to avoid usage of constant symbol CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
Reason was cpu freq setting is usually done in 2 step with a default value at boot and the configured value set up at clock_control driver init.

Requires:

@erwango erwango added Enhancement Changes/Updates/Additions to existing features area: Clock Control platform: STM32 ST Micro STM32 labels Jul 24, 2019
@ikerperezdelpalomar
Copy link

ikerperezdelpalomar commented Jul 29, 2020

Hi, I am willing to learn about Zephyr so I considered that this might be a nice issue that start working from. Is it ok if I try to solve it?

@galak
Copy link
Collaborator

galak commented Jul 29, 2020

Hi, I am willing to get learn about Zephyr so I considered that this might be a nice issue that start working from. Is it ok if I try to solve it?

@ikerperezdelpalomar are you familiar with devicetree?

@ikerperezdelpalomar
Copy link

Hi, I am willing to get learn about Zephyr so I considered that this might be a nice issue that start working from. Is it ok if I try to solve it?

@ikerperezdelpalomar are you familiar with devicetree?

A bit, I worked in project that involved devicetree 1 year ago.

@erwango
Copy link
Member Author

erwango commented Jun 4, 2021

Closing as I'm not certain this is the way to go anymore.
At least, this is not a goal by itself anymore

@erwango erwango closed this as completed Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Clock Control Enhancement Changes/Updates/Additions to existing features platform: STM32 ST Micro STM32
Projects
None yet
Development

No branches or pull requests

3 participants