Skip to content

Conversation

@dcz-self
Copy link

The peripheral is in use within the crate, so a missing interrupt handler seems like an oversight.

PROVIDE(EXTI_LINE15_10 = DefaultHandler);
PROVIDE(RTC_ALARM = DefaultHandler);
PROVIDE(USBFS_WKUP = DefaultHandler);
PROVIDE(EXMC = DefaultHandler);
Copy link
Member

Choose a reason for hiding this comment

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

Note that this file is auto-generated, so in order to preserve this change across updates, it needs to be added to SVD (for example, via a patch: https://github.com/riscv-rust/gd32vf103-pac/blob/master/patches/gd32vf103.yaml)

Copy link
Author

Choose a reason for hiding this comment

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

Thanks, I did it.

@dcz-self dcz-self changed the title Add EXMC symbol Add EXMC symbol and update svd2rust Sep 26, 2025
@dcz-self
Copy link
Author

svd2rust version 0.28.0 as recommended in the docs crashed for me, so I updated to 0.30.0, which is the last version that doesn't break my test program.
I don't know if that's a compatible change or not.

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