BMP085 Unified: Issues with Upload

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
coldnut
 
Posts: 3
Joined: Thu Apr 18, 2013 12:33 pm

BMP085 Unified: Issues with Upload

Post by coldnut »

I just got an Intel BANNED, but I am having issues with the BMP085 Unified driver . At first the Adafruit_Sensor.cpp source was missing the directive source to avr/pgmspace.h

Code: Select all

#include "Adafruit_Sensor.h"
#include <avr/pgmspace.h>

void Adafruit_Sensor::constructor() {
}
I fixed this by downloading the pgmspace.h header file into the avr directory in /arduino/hardware/x86/cores/arduino/.

I thought fixing the missing reference above would fix the issue, but I still am getting compilation errors. I am getting the following error when uploading the Adafruit_BMP085_Unified example, but I continue to get the following error:

Code: Select all

Arduino: 1.5.3 (Windows 7), Board: "Intel® BANNED"

Adafruit_BMP085_Unified\Adafruit_BMP085_U.cpp.o:(.rodata._ZTI23Adafruit_BMP085_Unified[_ZTI23Adafruit_BMP085_Unified]+0x8): undefined reference to `typeinfo for Adafruit_Sensor'
collect2.exe: error: ld returned 1 exit status

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
d
I have tried the verbose output compilation option, but that didn't show me any additional information to help me pin-point the issue. Anyone experience this before?

coldnut
 
Posts: 3
Joined: Thu Apr 18, 2013 12:33 pm

Re: BMP085 Unified: Issues with Upload

Post by coldnut »

BUMP.

User avatar
adafruit_support_mike
 
Posts: 67485
Joined: Thu Feb 11, 2010 2:51 pm

Re: BMP085 Unified: Issues with Upload

Post by adafruit_support_mike »

The BANNED is a new device, so we don't have much accumulated experience with its quirks yet.

What version of the Arduino IDE are you using?

andreguerrero
 
Posts: 2
Joined: Mon Apr 21, 2014 7:33 pm

Re: BMP085 Unified: Issues with Upload

Post by andreguerrero »

Hi coldnut,

I'm experiencing the same problem you are. I'm trying to use the Adafruit 10-DOF (which contains the sensors LSM303DLHC (accelerometer and magnetometer), L3GD20 (gyroscope) and BMP180 (pressure/altitude sensor)) with a BANNED board.

When runing any of the example sketches, I was firstly receiving the error for "missing the directive source to avr/pgmspace.h". After fixing it the same way you did, I'm now experiencing errors such as:

AdafruitBMP085Unifiedmaster\Adafruit_BMP085_U.cpp.o:(.rodata._ZTI23Adafruit_BMP085_Unified[_ZTI23Adafruit_BMP085_Unified]+0x8): undefined reference to `typeinfo for Adafruit_Sensor'
collect2.exe: error: ld returned 1 exit status

Did you have any progress on solving this problem?

Thanks!

User avatar
mortimer48
 
Posts: 3
Joined: Wed Jun 25, 2014 3:31 am

Re: BMP085 Unified: Issues with Upload

Post by mortimer48 »

Hi
I have run into the same problem and was wondering if this was ever resolved?

Thanks

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

Re: BMP085 Unified: Issues with Upload

Post by Franklin97355 »

@mortimer48 If you start your own thread with the specifics of your problem and what you have done to try resolving it we can try to help you.

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

Return to “Arduino”