-
Notifications
You must be signed in to change notification settings - Fork 3k
Sleep: Disallow sleep for targets turning off the systick clock at sleep entry #5086
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ def check_inherits(dict): | |
"LOWPOWERTIMER", "PORTIN", "PORTINOUT", "PORTOUT", | ||
"PWMOUT", "RTC", "TRNG","SERIAL", "SERIAL_ASYNCH", | ||
"SERIAL_FC", "SLEEP", "SPI", "SPI_ASYNCH", "SPISLAVE", | ||
"STORAGE"] | ||
"STORAGE", "STCLK_OFF_DURING_SLEEP"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. looking at this again, is this a proper placement for this? Is it There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's a device characteristic not a config. |
||
def check_device_has(dict): | ||
for name in dict.get("device_has", []): | ||
if name not in DEVICE_HAS_ALLOWED: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DEVICE_SYSTICKCLK.....
orDEVICE_SYSTCLK....
? If I did not read the above comment, I would be guessing what ST clk stands for.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
STCLK is used in the ARM architecture manuals. I choose to stick with it in the sake of consistency but I can change it.