Skip to content

Conversation

@ck-telecom
Copy link
Contributor

Add get_rate support for sf32lb platform


#include <stdint.h>

#include <freq.h>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is reserved for DT usage

(id == SF32LB52X_CLOCK_SPI2) ||
(id == SF32LB52X_CLOCK_USART2) ||
(id == SF32LB52X_CLOCK_USART3)) {
*rate = DT_FREQ_M(48); /* clk_peri_hpsys always 48MHZ */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto for freq.h

Add get_rate support for sf32lb platform

Signed-off-by: Qingsong Gou <[email protected]>
@gmarull
Copy link
Member

gmarull commented Oct 23, 2025

you may want to add this patch to I2C PR

@sonarqubecloud
Copy link

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

Successfully merging this pull request may close these issues.

2 participants