Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Adafruit unified sensor lib >= 1.1 blocks ISR(USART_RX_vec
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Adafruit unified sensor lib >= 1.1 blocks ISR(USART_RX_vec

by AB306 on Mon Feb 10, 2020 7:35 am

After updating the Adafruit unified sensor library from 1.0.3 to 1.1.x I get compiler error on sketches using ISR (USART_RX_vect)

HardwareSerial0.cpp.o (symbol from plugin): In function `Serial': (.text+0x0): multiple definition of `__vector_18'
sketch/eg-ug.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1

In my sketches I am using the adafruit DHT sensor library which depends on the Adafruit unified sensor lib and this one uses the Serial stuff blocking vector_18.

Til version 1.0.3 no serial compiler problems.
One solution is to use another, non adafruit DHT library, but I would like to undertand why the unified sensor lib need Serial.

AB306
 
Posts: 1
Joined: Mon Feb 10, 2020 7:33 am

Please be positive and constructive with your questions and comments.