-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
drivers: sam0_rtc_timer: DT_INST changes have broken this driver #24399
Labels
bug
The issue is a bug, or the PR is fixing a bug
Comments
Yeah, looks like:
should probably be:
|
galak
added a commit
to galak/zephyr
that referenced
this issue
Apr 16, 2020
clock-generator is a normal property. To access it we should use DT_INST_PROP(0, clock_generator) and not DT_INST_CLOCKS_CELL(). Fixes: zephyrproject-rtos#24399 Signed-off-by: Kumar Gala <[email protected]>
carlescufi
pushed a commit
that referenced
this issue
Apr 16, 2020
clock-generator is a normal property. To access it we should use DT_INST_PROP(0, clock_generator) and not DT_INST_CLOCKS_CELL(). Fixes: #24399 Signed-off-by: Kumar Gala <[email protected]>
stradebianche
pushed a commit
to stradebianche/zephyr
that referenced
this issue
Apr 16, 2020
clock-generator is a normal property. To access it we should use DT_INST_PROP(0, clock_generator) and not DT_INST_CLOCKS_CELL(). Fixes: zephyrproject-rtos#24399 Signed-off-by: Kumar Gala <[email protected]>
61 tasks
hakehuang
pushed a commit
to hakehuang/zephyr
that referenced
this issue
Jun 20, 2020
clock-generator is a normal property. To access it we should use DT_INST_PROP(0, clock_generator) and not DT_INST_CLOCKS_CELL(). Fixes: zephyrproject-rtos#24399 Signed-off-by: Kumar Gala <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Commit 28870e7 appears to have broken the sam0_rtc_timer driver. The new macro appears to be generating a name that doesn't exist in the devicetree generated file. I think this problem is related to #23107 and #22806
Here is the error message:
From the generated file:
It appears as if the wrong macro is being used here but I could not find a macro in devicetree/clocks.h that would generate the correct result. So, I am not sure how to fix this.
The text was updated successfully, but these errors were encountered: