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

svd2workspace needed #1

Closed
teburd opened this issue Feb 8, 2020 · 1 comment
Closed

svd2workspace needed #1

teburd opened this issue Feb 8, 2020 · 1 comment

Comments

@teburd
Copy link
Member

teburd commented Feb 8, 2020

Currently the svd2rust code generator generates an absolutely enormous 300kloc lib.rs for the imxrt series chips.

The teensy4rs authors manually split the generated code up into crates to solves this. There is an rfc to allow svd2rust to generate workspaces

rust-embedded/wg#338

This would solve the problem of very long compile times for the PAC crates that get generated here.

@teburd
Copy link
Member Author

teburd commented Feb 11, 2020

Looking into generated code similar to https://github.com/adamgreig/stm32ral and finding the results quite nice, as it only takes 2-3s to compile rather than 6min+

@teburd teburd closed this as completed Feb 11, 2020
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

1 participant