Skip to content
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

hal: renesas: rz: Initial support for PWM #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nhutnguyenkc
Copy link
Contributor

Initial HAL support for PWM

Initial HAL support for PWM

Signed-off-by: Hieu Nguyen <[email protected]>
Signed-off-by: Nhut Nguyen <[email protected]>
#define GPT_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE)
#define GPT_CFG_OUTPUT_SUPPORT_ENABLE (1)
#define GPT_CFG_WRITE_PROTECT_ENABLE (0)
#define GPT_CFG_GPTCLK_BYPASS 1
Copy link
Collaborator

Choose a reason for hiding this comment

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

@nhutnguyenkc : Please recheck define for "GPT_CFG_GPTCLK_BYPASS" whether it is as your expectation or not.
As my checking, it always checks with "BSP_FEATURE_BSP_HAS_GPT_CLOCK", and current BSP_FEATURE_BSP_HAS_GPT_CLOCK = 0 for rzg3s.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@thaoluonguw , I understand your concern. I have checked the MDF and see that the 1 is fixed for GPT_CFG_GPTCLK_BYPASS of RZ/G3S. I don't think I can change this value since it can make the driver malfunction.

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.

4 participants