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

STM32100xc/xd/xe support UART4 and UART5 #3893

Open
lifeRobot opened this issue Feb 17, 2025 · 1 comment
Open

STM32100xc/xd/xe support UART4 and UART5 #3893

lifeRobot opened this issue Feb 17, 2025 · 1 comment

Comments

@lifeRobot
Copy link

lifeRobot commented Feb 17, 2025

embassy-stm32 version: 0.2.0

describe:
Hello, I am unable to use UART4 and UART5 when using stm32f100rc/rd/re/vc/vd/ve/zc/zd/ze. Has the embassy considered supporting them

@Dirbaio
Copy link
Member

Dirbaio commented Feb 17, 2025

the problem is UART4/5 don't have a registers field here https://github.com/embassy-rs/stm32-data-generated/blob/main/data/chips/STM32F100RC.json#L2675

They should have one like this https://github.com/embassy-rs/stm32-data-generated/blob/main/data/chips/STM32F100RC.json#L2896-L2900 (but probably UART, not USART)

reason is probably missing/wrong entry here https://github.com/embassy-rs/stm32-data/blob/main/stm32-data-gen/src/perimap.rs

if you could send a PR it'd be appreciated.

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

No branches or pull requests

2 participants