-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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: clock: stm32: stm32c03 fail to build #83543
Comments
The stm32c0 fail to build when using timer3 because of missing apb2_prescaler definition. This add a default value to fix the issue. Fixes zephyrproject-rtos#83543 Signed-off-by: Gerson Fernando Budke <[email protected]>
The stm32c0 fail to build when using timer3 because of missing apb2_prescaler definition. This add a default value to fix the issue. Fixes zephyrproject-rtos#83543 Signed-off-by: Gerson Fernando Budke <[email protected]>
I have not been able to reproduce this error by building both As far as I can tell, there are only three places where Can you please give instructions on how to reproduce the issue?
|
Hi @mathieuchopstm , You are right! This was found initially when the #70951 was open. I was searching on mainline about STM32_APB2_PRESCALER, after your report, and found that current PWM driver have a different implementation we have on #70951. zephyr/drivers/pwm/pwm_stm32.c Lines 248 to 258 in 88b9cb6
With this it is not necessary the #83544 patch since the problem was found inside the freq-meter. |
Describe the bug
The stm32c0 fail to build because of missing
apb2_prescaler
.Expected behavior
All stm32 SoC should build with a default value for apb to avoid this issue.
Impact
Not possible to build when using timers3.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: