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

Multiple definition of `initVariant' in v1.0.2 #70

Closed
rocketscream opened this issue Apr 27, 2020 · 1 comment
Closed

Multiple definition of `initVariant' in v1.0.2 #70

rocketscream opened this issue Apr 27, 2020 · 1 comment

Comments

@rocketscream
Copy link

Error when compiling using 1.0.2 using the blink example for ATMega4808.
Errors:
wiring.c.o (symbol from plugin): In function initVariant':
(.text+0x0): multiple definition of initVariant' /tmp/arduino_build_850708/sketch/Blink.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here wiring_analog.c.o (symbol from plugin): In function initVariant':
(.text+0x0): multiple definition of initVariant' /tmp/arduino_build_850708/sketch/Blink.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here wiring_digital.c.o (symbol from plugin): In function digital_pin_to_timer':
(.text+0x0): multiple definition of initVariant' /tmp/arduino_build_850708/sketch/Blink.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here main.cpp.o (symbol from plugin): In function initVariant':
(.text+0x0): multiple definition of initVariant' /tmp/arduino_build_850708/sketch/Blink.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2: error: ld returned 1 exit status exit status 1 Error compiling for board ATmega4808.

@MCUdude
Copy link
Owner

MCUdude commented Apr 27, 2020

Ah, damn it! This is how it goes when the repo has no CI implemented 🙁
There is a line missing in the pins_arduino.h for the 32-pin parts. I'll fix it right away and release 1.0.3.

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