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

Override CLOCK_SOURCE via mbed_app.json ? #5259

Closed
janjongboom opened this issue Oct 5, 2017 · 8 comments
Closed

Override CLOCK_SOURCE via mbed_app.json ? #5259

janjongboom opened this issue Oct 5, 2017 · 8 comments

Comments

@janjongboom
Copy link
Contributor

Description

  • Question

Question

As asked here. Is it possible to override CLOCK_SOURCE through mbed_app.json ?

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 5, 2017

@jeromecoutant
Copy link
Collaborator

Hi
Yes, it is possible to override CLOCK_SOURCE.

Here is an example of mbed_app.json:

{
"target_overrides": {
"NUCLEO_F410RB": {
"target.clock_source": "USE_PLL_HSI"
}
}
}

I agree this is not so easy to use and understand... Maybe ARM should update MBED page:
https://docs.mbed.com/docs/mbed-os-handbook/en/5.2/advanced/config_system/

Have also a look on ST wiki page:
https://os.mbed.com/teams/ST/wiki/Automatic-clock-configuration

@janjongboom
Copy link
Contributor Author

Thanks @jeromecoutant.

@iriark01 I see we don't have a section for target settings in https://os.mbed.com/docs/v5.6/reference/configuration-overview.html, would be good to add.

@iriark01
Copy link
Contributor

iriark01 commented Oct 5, 2017

@AnotherButler

@AnotherButler
Copy link
Contributor

@janjongboom You can find the section about adding and configuring targets here: https://os.mbed.com/docs/v5.6/tools/adding-and-configuring-targets.html

@janjongboom
Copy link
Contributor Author

@AnotherButler Nothing there mentions the ability to override target properties through mbed_app.

@janjongboom
Copy link
Contributor Author

@theotherjimmy ok, cool.

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

No branches or pull requests

6 participants