Wifi atwinc1500 + ultimate gps breakout v3 problem

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
PedroRenaut
 
Posts: 3
Joined: Sat Aug 20, 2016 4:14 am

Wifi atwinc1500 + ultimate gps breakout v3 problem

Post by PedroRenaut »

Each works perfectly separately but when trying to work with both in the same problem I find this error:

Code: Select all

Arduino:1.6.11 (Mac OS X), Tarjeta:"Arduino/Genuino Uno"

libraries/SoftwareSerial/SoftwareSerial.cpp.o (symbol from plugin): In function `SoftwareSerial::read()':
(.text+0x0): multiple definition of `__vector_3'
libraries/Adafruit_WINC1500/bsp/source/nm_bsp_arduino_avr.c.o (symbol from plugin):(.text+0x0): first defined here
libraries/SoftwareSerial/SoftwareSerial.cpp.o (symbol from plugin): In function `SoftwareSerial::read()':
(.text+0x0): multiple definition of `__vector_5'
libraries/Adafruit_WINC1500/bsp/source/nm_bsp_arduino_avr.c.o (symbol from plugin):(.text+0x0): first defined here
libraries/SoftwareSerial/SoftwareSerial.cpp.o (symbol from plugin): In function `SoftwareSerial::read()':
(.text+0x0): multiple definition of `__vector_4'
libraries/Adafruit_WINC1500/bsp/source/nm_bsp_arduino_avr.c.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compilación en tarjeta Arduino/Genuino Uno.

Este reporte BANNED tener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.
the problem is in the include.
Any inconsistency exists between these libs?

Code: Select all

#include <SPI.h>
#include <Adafruit_WINC1500.h>
#include <Adafruit_GPS.h>
#include <SoftwareSerial.h>
Sketch: 1.16.11

awaiting your news, receive a greeting

User avatar
Franklin97355
 
Posts: 24171
Joined: Mon Apr 21, 2008 2:33 pm

Re: Wifi atwinc1500 + ultimate gps breakout v3 problem

Post by Franklin97355 »

Try using 1.6.9 instead of 1.6.11 as it is the last known stable version. Also make sure all your libraries are up to date.

User avatar
PedroRenaut
 
Posts: 3
Joined: Sat Aug 20, 2016 4:14 am

Re: Wifi atwinc1500 + ultimate gps breakout v3 problem

Post by PedroRenaut »

TYVM for your quick response Franklin...
Now with this code...

Code: Select all

#include <SPI.h>
#include <Adafruit_WINC1500.h>
#include <Adafruit_GPS.h>
//#include <SoftwareSerial.h>


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

}

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

}
I see this message....

Code: Select all

Arduino:1.6.9 (Mac OS X), Tarjeta:"Arduino/Genuino Uno"

ATENCIÓN:  .github BANNED carpetas en BANNED 'Adafruit_WINC1500'
Atención: platform.txt del BANNED 'Arduino AVR Boards' contiene recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" desfasada, automáticamente convertida a recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{preprocessed_file_path}". Considera el actualizar este BANNED.
/Users/pedrominguillanrenaut/Library/Arduino15/packages/arduino/hardware/avr/1.6.9/libraries/SoftwareSerial/SoftwareSerial.cpp:375:6: warning: always_inline function might not be inlinable [-Wattributes]
 void SoftwareSerial::setRxIntMsk(bool enable)

      ^
/Users/pedrominguillanrenaut/Library/Arduino15/packages/arduino/hardware/avr/1.6.9/libraries/SoftwareSerial/SoftwareSerial.cpp:121:6: warning: always_inline function might not be inlinable [-Wattributes]
 void SoftwareSerial::recv()

      ^
libraries/SoftwareSerial/SoftwareSerial.cpp.o: In function `__vector_3':
/Users/pedrominguillanrenaut/Library/Arduino15/packages/arduino/hardware/avr/1.6.9/libraries/SoftwareSerial/SoftwareSerial.cpp:227: multiple definition of `__vector_3'
libraries/Adafruit_WINC1500/bsp/source/nm_bsp_arduino_avr.c.o:/Users/pedrominguillanrenaut/Documents/Arduino/libraries/Adafruit_WINC1500/src/bsp/source/nm_bsp_arduino_avr.c:69: first defined here
libraries/SoftwareSerial/SoftwareSerial.cpp.o: In function `SoftwareSerial::read()':
/Users/pedrominguillanrenaut/Library/Arduino15/packages/arduino/hardware/avr/1.6.9/libraries/SoftwareSerial/SoftwareSerial.cpp:392: multiple definition of `__vector_4'
libraries/Adafruit_WINC1500/bsp/source/nm_bsp_arduino_avr.c.o:/Users/pedrominguillanrenaut/Documents/Arduino/libraries/Adafruit_WINC1500/src/bsp/source/nm_bsp_arduino_avr.c:62: first defined here
libraries/SoftwareSerial/SoftwareSerial.cpp.o: In function `SoftwareSerial::read()':
/Users/pedrominguillanrenaut/Library/Arduino15/packages/arduino/hardware/avr/1.6.9/libraries/SoftwareSerial/SoftwareSerial.cpp:392: multiple definition of `__vector_5'
libraries/Adafruit_WINC1500/bsp/source/nm_bsp_arduino_avr.c.o:/Users/pedrominguillanrenaut/Documents/Arduino/libraries/Adafruit_WINC1500/src/bsp/source/nm_bsp_arduino_avr.c:62: first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compilación en tarjeta Arduino/Genuino Uno.

Este reporte BANNED tener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.
Whats happens?

But when I comment this line

Code: Select all

//#include <Adafruit_WINC1500.h>
this is the message show...

Code: Select all

ATENCIÓN:  .github BANNED carpetas en BANNED 'Adafruit_WINC1500'
Atención: platform.txt del BANNED 'Arduino AVR Boards' contiene recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" desfasada, automáticamente convertida a recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{preprocessed_file_path}". Considera el actualizar este BANNED.

El Sketch usa 744 bytes (2%) del espacio de almacenamiento de programa. El máximo es 32.256 bytes.
Las variables Globales usan 77 bytes (3%) de la memoria dinámica, dejando 1.971 bytes para las variables locales. El máximo es 2.048 bytes.
What I can to do solve this little problem?
I greatly appreciate the help you're offering me.
I am very happy with your products and above all eager to start my project.

Awaiting your news receives a warm greeting.

User avatar
PedroRenaut
 
Posts: 3
Joined: Sat Aug 20, 2016 4:14 am

Re: Wifi atwinc1500 + ultimate gps breakout v3 problem

Post by PedroRenaut »

I can not find the way to solve this problem. I've even removed the libs and I have reinstalled.
Please franklin97355 you can give me a solution?
Thank you very much

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”