patolin / rc-receiver-joystick

USB Joystick from a RC Receiver, using a Digispark board and Arduino IDE
27 stars 6 forks source link

Compile issue #4

Closed Jersh closed 4 years ago

Jersh commented 4 years ago

Greetings, I appreciate this was finished a long time ago, I am trying to get this to compile to my device and am receiving the following error message. do anything stand out to you as a simple mistake on my part?

Arduino: 1.8.5 (Windows 10), Board: "Digispark (Default - 16.5mhz)"

Warning: Board digistump:sam:digix doesn't define a 'build.board' preference. Auto-set to: SAM_DIGIX Archiving built core (caching) in: C:\Users\Josh\AppData\Local\Temp\arduino_cache_160384\core\core_digistump_avr_digispark-tiny_6b29daae743dbef41a4c2e743e17f08e.a libraries\DigisparkJoystick\usbdrvasm.S.o: In function `__vector_2':

C:\Users\Josh\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkJoystick/usbdrvasm165.inc:41: multiple definition of `__vector_2'

libraries\DigisparkTinyPinChange\TinyPinChange.cpp.o:C:\Users\Josh\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkTinyPinChange/TinyPinChange.cpp:57: first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1 Error compiling for board Digispark (Default - 16.5mhz).

Jersh commented 4 years ago

Install issue in my behalf. Removed all digispark files and reinstalled. Now ok