-
Notifications
You must be signed in to change notification settings - Fork 151
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 generating psoc6_pac #809
Comments
I also tried with a different svd file (from the module I intend to use) and it seems that the same error occurs I tried different versions of form and svd2rust and it seems that error persists, so not exactly sure what is going on,,, |
It is just speculation. But I think it is because |
I have a newer PAC here, which might give you fewer issues? https://github.com/ferrous-systems/psoc-experiments |
Actually I managed to go thru your stuff, quite usefull for my examples, didnt try your PAC. I think the problem might come from the SVD file itself. Something that the original author (or you) might have fixed after generating the src code i suppose? Still, dosen't really take into account automated full build of every dependency if manual changes need to be made... I'll check it out tho. Thank you @thejpster |
Hey,
I'm trying to configure and fiddle with Rust for the psoc6 CPU and I seem to have hit some sort of problem.
I downloaded the original psoc6_pac from this git repo: https://github.com/psoc-rs/psoc6-pac and can generate
the modules without problems straight from the repo
cargo build --release --features "rt"
although, if I do regenerate modules files by instantiating the generate.sh script it seems that I am hitting a redefinition error
Edit: No It does not fix it...
Not exactly sure what the fix here is and which package is causing this (svg2rust or form), but it seems that removing the redefinition and setting the
on line 3 seems to fix the error.
It appears to me that the redefinition on line 76 appears to be for documentation purposes only? Pointers would be nice.
The text was updated successfully, but these errors were encountered: