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

Error creating support for atmega16u2 #159

Closed
zacharytomlinson opened this issue Sep 28, 2024 · 4 comments
Closed

Error creating support for atmega16u2 #159

zacharytomlinson opened this issue Sep 28, 2024 · 4 comments

Comments

@zacharytomlinson
Copy link
Contributor

I made the necessary changes to my knowledge following the instructions in the readme. SVD2RUST gets to the point of execution and a encounters an error for my new target:

-e 	GEN-VECTOR	>macros/src/vector.rs
-e 	SVD2RUST	atmega16u2
error: a value is required for '-i <FILE>' but none was supplied

Anyone experienced a similar issue upon integration? I suspect maybe the atdf is not in the expected format?

@Rahix
Copy link
Owner

Rahix commented Sep 29, 2024

Please open a draft pull request with your current code so we can take a look.

Also, please make sure all tools are installed in the correct version as specified.

@zacharytomlinson
Copy link
Contributor Author

zacharytomlinson commented Oct 16, 2024

@Rahix sorry for the delay: #163

@zacharytomlinson
Copy link
Contributor Author

As for dep versions:

~$ atdf2svd --version
atdf2svd v0.4.0 (no git)
~$ svd2rust --version
svd2rust 0.28.0 ( )
~$ form --version
form 0.12.1
~$ svd --version
svdtools, version 0.1.27

@Rahix
Copy link
Owner

Rahix commented Oct 16, 2024

The problem was a typo in the ATDF file name which then lead to the makefile doing crazy things - see #163 and commit 5a58673 for details.

@Rahix Rahix closed this as completed Oct 16, 2024
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