I am attempting to develop a routine based on two example projects. Based on a Wire I2C master read and Custom USB HID native operation. I have decided to use the newer Arduino tool kit and have attempted to compile these examples with MPIDE, UECIDE without any luck. It appears as if I can get the Wire to compile, don't know if it works? When I attempt to compile CustomHID.pde I see issues that I don't understand, below.
C:\Users\Ken\AppData\Local\Temp\build2ee4b577e1509cd794bdb52531edd480.tmp/core\core.a(HardwareSerial_usb.c.o): In function `__vector_dispatch_45':
c:/users/ken/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.0.1/cores/pic32/hardwareserial_usb.c:(.vector_45+0x0): multiple definition of `__vector_dispatch_45'
libraries\chipKITUSBDevice\utility\usb_device.c.o:c:/users/ken/documents/arduino/libraries/chipkitusbdevice/utility/usb_device.c:(.vector_45+0x0): first defined here
c:\users\ken\appdata\local\arduino15\packages\chipkit\tools\pic32-tools\4.8.3-pic32gcc\bin\bin\gcc\pic32mx\4.8.3\..\..\..\..\bin/pic32-ld.exe: function at exception vector 45 too large
c:\users\ken\appdata\local\arduino15\packages\chipkit\tools\pic32-tools\4.8.3-pic32gcc\bin\bin\gcc\pic32mx\4.8.3\..\..\..\..\bin/pic32-ld.exe: Link terminated due to previous error(s).
collect2.exe: error: ld returned 255 exit status
exit status 255
Error compiling for board PIC32 Pinguino.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Question
kdrewlo
I am attempting to develop a routine based on two example projects. Based on a Wire I2C master read and Custom USB HID native operation. I have decided to use the newer Arduino tool kit and have attempted to compile these examples with MPIDE, UECIDE without any luck. It appears as if I can get the Wire to compile, don't know if it works? When I attempt to compile CustomHID.pde I see issues that I don't understand, below.
Arduino: 1.6.8 (Windows 7), Board: "PIC32 Pinguino"
C:\Users\Ken\AppData\Local\Temp\build2ee4b577e1509cd794bdb52531edd480.tmp/core\core.a(HardwareSerial_usb.c.o): In function `__vector_dispatch_45':
c:/users/ken/appdata/local/arduino15/packages/chipkit/hardware/pic32/1.0.1/cores/pic32/hardwareserial_usb.c:(.vector_45+0x0): multiple definition of `__vector_dispatch_45'
libraries\chipKITUSBDevice\utility\usb_device.c.o:c:/users/ken/documents/arduino/libraries/chipkitusbdevice/utility/usb_device.c:(.vector_45+0x0): first defined here
c:\users\ken\appdata\local\arduino15\packages\chipkit\tools\pic32-tools\4.8.3-pic32gcc\bin\bin\gcc\pic32mx\4.8.3\..\..\..\..\bin/pic32-ld.exe: function at exception vector 45 too large
c:\users\ken\appdata\local\arduino15\packages\chipkit\tools\pic32-tools\4.8.3-pic32gcc\bin\bin\gcc\pic32mx\4.8.3\..\..\..\..\bin/pic32-ld.exe: Link terminated due to previous error(s).
collect2.exe: error: ld returned 255 exit status
exit status 255
Error compiling for board PIC32 Pinguino.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Here is a compile with a MX4cK board.
Arduino: 1.6.8 (Windows 7), Board: "Cerebot MX4cK"
Build options changed, rebuilding all
libraries\chipKITUSBDevice\utility\usb_device.c.o: In function `USBDeviceAttach':
c:/users/ken/documents/arduino/libraries/chipkitusbdevice/utility/usb_device.c:2866: undefined reference to `INTEnableSystemMultiVectoredInt'
c:/users/ken/documents/arduino/libraries/chipkitusbdevice/utility/usb_device.c:2866: undefined reference to `INTEnableInterrupts'
collect2.exe: error: ld returned 255 exit status
exit status 255
Error compiling for board Cerebot MX4cK.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Where am I going wrong?
Ken
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.