-
Notifications
You must be signed in to change notification settings - Fork 67
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
how to set the clock speed #29
Comments
It is statically configured throu the Arduino IDE.
…On Fri, Aug 3, 2018, 10:09 PM Thorsten von Eicken ***@***.***> wrote:
How do I set the desired clock speed for a sketch? Is there a way to
dynamically change it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#29>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AG4QfKJyB6RVnUDtLVll1l58RdBsKwe5ks5uNK4BgaJpZM4VujOa>
.
|
Ugh. I'm using platform.io. Can't stand the IDE... DO you happen to know how it gets passed in? Else I'll have to make sense out of all the stm32l0_system.c clock code... |
Ok, found it: SYSTEM_CORE_CLOCK |
There are a few defined set throu the IDE. So yes, boards.txt /
platform.txt would be a good starting point.
…On Fri, Aug 3, 2018, 11:39 PM Thorsten von Eicken ***@***.***> wrote:
Ok, found it: *SYSTEM_CORE_CLOCK*
Looks like I need to dig through the platform.txt and board.txt stuff to
extract the configuration options in general...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AG4QfKKg5ejOgg3GHiYhwBEjLfC_yAKXks5uNML-gaJpZM4VujOa>
.
|
Hi, |
You have to hold BOOT while toggeling RESET to put the chip again into bootloader mode, if you use lower clocks. delays and sleep times do not have to be changed. |
How do I set the desired clock speed for a sketch? Is there a way to dynamically change it?
The text was updated successfully, but these errors were encountered: