Skip to content

Conversation

romancardenas
Copy link
Contributor

@romancardenas romancardenas commented Sep 22, 2025

Currently, riscv::pac_enum macro can potentially generate code that refers to riscv-rt. This should be avoided unless explicitly enabled by users.

This PR adds the rt and rt-v-trap features to riscv to fix this bug.

Related issues: rust-embedded/svd2rust#948

@romancardenas
Copy link
Contributor Author

This PR is ready for a review.

Fixes #344

Fixes rust-embedded/svd2rust#948 (after releasing a new version)

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.

1 participant