Skip to content

feat(comp, g4): Add COMP pin definitions and register enums#613

Draft
IvanLi-CN wants to merge 1 commit intoembassy-rs:mainfrom
IvanLi-CN:feat/g4-comp-update
Draft

feat(comp, g4): Add COMP pin definitions and register enums#613
IvanLi-CN wants to merge 1 commit intoembassy-rs:mainfrom
IvanLi-CN:feat/g4-comp-update

Conversation

@IvanLi-CN
Copy link
Copy Markdown

Add pin definitions for COMP1-7 in data/extra/family/STM32G4.yaml. Add enum definitions and link them in data/registers/comp_v2.yaml.

@embassy-ci
Copy link
Copy Markdown

embassy-ci bot commented Jun 3, 2025

@Dirbaio
Copy link
Copy Markdown
Member

Dirbaio commented Jun 3, 2025

Please do not add enums for "0 = disabled, 1 = enabled", they're redundant.

Add pin definitions for COMP1-7 in data/extra/family/STM32G4.yaml.
Add enum definitions and link them in data/registers/comp_v2.yaml.

Signed-off-by: Ivan Li <ivanli2048@gmail.com>
@IvanLi-CN IvanLi-CN force-pushed the feat/g4-comp-update branch from e41202e to b739554 Compare June 3, 2025 16:08
@embassy-ci
Copy link
Copy Markdown

embassy-ci bot commented Jun 3, 2025

@Dirbaio
Copy link
Copy Markdown
Member

Dirbaio commented Jun 6, 2025

LOCK, SCALEN, BRGEN, EN enums should be deleted, they're redundant.

@IvanLi-CN
Copy link
Copy Markdown
Author

Sorry, I just noticed the notification email, please give me some time and I will correct the problem. At the moment I'm still trying to figure out what to do about embassy-stm32, when I make progress I'll change the code as you suggested and submit it.

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