10 years, 3 months ago.

BMP085 mbed build

Hi,

I encountered a 'error 0' while building my code that involves the bmp085 and other payloads such as itg3200 and etc. However when I build the code without the bmp085, it was successful.

I suspect it has to do with the mbed.bld file which does not have the required protocols the bmp085 needs. I tried updating with the latest mbed.bld (revision 76). It still shows error.

Does anyone know how this can be fixed? Thank you very much.

Please show at the very least which libraries you are using and your code, and it might be easiest to publish your program (as non-public, no need to have a partially finished program show up in search results), and link it here.

posted by Erik - 11 Jan 2014

I am using Hiroshi Suga program for the bmp085: https://mbed.org/users/okini3939/code/bmp085_lib/ and itg3200 program by Aaron Beck/Hige dura: https://mbed.org/users/higedura/code/ITG3200_I2C/

Thank you.

posted by KV LING 13 Jan 2014

Hi Erik,

I have found the error and solve the problem temporarily on the two components that I am using. It seems that the bmp085 program by Hiroshi Suga can only be built with mbed lib of rev 43 the most. Rev 44 onwards will incur error when building the program. However I solved it by using rev 43 for both components when integrating it into one program code.

The other obstacle I faced is when I try integrating it with the sd card program from the website: https://mbed.org/users/mbed_official/code/SDFileSystem_HelloWorld/. It seems that the mbe lib to build this program starts from Rev 49 onwards. Anything below rev 49 will incur error. I hope this will be useful in narrowing the scope of error correction for your side and for me to get help on my sd card problem.

Thank you.

posted by KV LING 17 Jan 2014
Be the first to answer this question.