You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it's clearly svd2rustissue that comes from a breaking change commit in proc-macro2, and not related to avr-device.
until the problem get fixed in svd2rust you can get around it by installing sv2rust by running this command:
Rahix
changed the title
error after running make on ubunt22.4 jammy
Error during code generation: unsupported proc macro punctuation character '{'
Oct 12, 2024
after running
~/Desktop/avr-device$ make atmega32a
-e MAKEDEPS atmega4808
-e MAKEDEPS atmega32u4
-e MAKEDEPS atmega32a
-e MAKEDEPS atmega328pb
-e MAKEDEPS atmega328p
-e MAKEDEPS atmega324pa
-e MAKEDEPS atmega8u2
-e MAKEDEPS atmega8
-e MAKEDEPS atmega2560
-e MAKEDEPS atmega168
-e MAKEDEPS atmega164pa
-e MAKEDEPS atmega16
-e MAKEDEPS atmega128rfa1
-e MAKEDEPS atmega128a
-e MAKEDEPS atmega1284p
-e MAKEDEPS atmega1280
-e MAKEDEPS at90usb1286
-e ATDF2SVD atmega32a
-e PATCH atmega32a
-e SVD2RUST atmega32a
[INFO svd2rust] Parsing device from SVD file
[INFO svd2rust] Rendering device
thread 'main' panicked at /home/bbino/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.87/src/lib.rs:847:13:
unsupported proc macro punctuation character '{'
note: run with
RUST_BACKTRACE=1
environment variable to display a backtracemake: *** [Makefile:38: src/devices/atmega32a/mod.full.rs] Error 101
The text was updated successfully, but these errors were encountered: