5 years, 9 months ago.

Can't Link PAH8011 library with mbed offline compiler.

I am working on a project which uses PAH8011 heart rate sensor and nrf52832 MCU.

I am trying to compile this example with the mbed offline compiler https://os.mbed.com/users/pixus_mbed/code/PAH8011_nRF52_HelloWorld/rev/85a559c21c28/

This gets compiled with the online compiler, but when compiling with offline compiler, it doesn't get linked and throws some errors like these.

/media/uploads/Ashish285/untitled_GpWZ6qj.png

I am using the mbed cli for compilation.

Settings being used in mbed compile

ToolChain: GCC_ARM

Device: NRF52_DK

Profile: Release Profile

I might be missing something here, but I can't find the problem. If anyone has any idea about this, please help me out.

Thank you.

1 Answer

5 years, 8 months ago.

Hello Ashish,

Have you taken a look at this questions?:

https://os.mbed.com/questions/81328/Cant-compile-PAH8011-example/

Following Jan’s advice, I imported the program, removed all mbed/mbed-os libraries and imported one copy of the latest version. Then, I compiled the program using the ARMCC toolchain found here:

https://developer.arm.com/products/software-development-tools/compilers/arm-compiler/downloads/version-5

By doing this, I was able to successfully compile the program. If you have any more questions, let us know!

-Karen, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!