Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. Arduino: 1.8.9 (Linux), Board: "Arduino/Genuino Uno"
  2.  
  3. In file included from /opt/arduino/hardware/arduino/avr/cores/arduino/Arduino.h:257:0,
  4. from /opt/arduino/hardware/arduino/avr/libraries/SoftwareSerial/src/SoftwareSerial.cpp:43:
  5. /opt/arduino/hardware/arduino/avr/libraries/SoftwareSerial/src/SoftwareSerial.cpp: In member function 'void SoftwareSerial::begin(long int)':
  6. /opt/arduino/hardware/arduino/avr/variants/standard/pins_arduino.h:74:39: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  7. #define digitalPinToPCICR(p) (((p) >= 0 && (p) <= 21) ? (&PCICR) : ((uint8_t *)0))
  8. ^
  9. /opt/arduino/hardware/arduino/avr/libraries/SoftwareSerial/src/SoftwareSerial.cpp:319:7: note: in expansion of macro 'digitalPinToPCICR'
  10. if (digitalPinToPCICR(_receivePin)) {
  11.  
  12. ^
  13. /opt/arduino/hardware/arduino/avr/variants/standard/pins_arduino.h:74:39: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  14. #define digitalPinToPCICR(p) (((p) >= 0 && (p) <= 21) ? (&PCICR) : ((uint8_t *)0))
  15. ^
  16. /opt/arduino/hardware/arduino/avr/libraries/SoftwareSerial/src/SoftwareSerial.cpp:360:6: note: in expansion of macro 'digitalPinToPCICR'
  17. *digitalPinToPCICR(_receivePin) |= _BV(digitalPinToPCICRbit(_receivePin));
  18.  
  19. ^
  20. libraries/SoftwareSerial/SoftwareSerial.cpp.o (symbol from plugin): In function `SoftwareSerial::read()':
  21. (.text+0x0): multiple definition of `__vector_5'
  22. sketch/AR488_Hardware.cpp.o (symbol from plugin):(.text+0x0): first defined here
  23. collect2: error: ld returned 1 exit status
  24. exit status 1
  25. Error compiling for board Arduino/Genuino Uno.
  26.  
  27. This report would have more information with
  28. "Show verbose output during compilation"
  29. option enabled in File -> Preferences.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement