Skip to content

DMXSerial has conflict with SD library #14

@dstueven

Description

@dstueven

I am trying to use the SD library (to read a file from an SD card) and DMXSerial together.
Unfortunately both seem to define the same interrupt - the compiler throws an error - even if I compile a totally empty project with just the two include statements.

My minimized test sketch:

#include <SD.h>
#include <DMXSerial.h>

void setup() {
// put your setup code here, to run once:

}

void loop() {
// put your main code here, to run repeatedly:

}

The error messages of the compiler:
Arduino: 1.8.5 (Windows 10), Board: "Arduino Ethernet"

HardwareSerial0.cpp.o (symbol from plugin): In function `Serial':

(.text+0x0): multiple definition of `__vector_18'

libraries\DMXSerial-master\DMXSerial.cpp.o (symbol from plugin):(.text+0x0): first defined here

HardwareSerial0.cpp.o (symbol from plugin): In function `Serial':

(.text+0x0): multiple definition of `__vector_19'

libraries\DMXSerial-master\DMXSerial.cpp.o (symbol from plugin):(.text+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino Ethernet.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions