How to integrate maxim wellness library on NRF52840

Hi all,
I have started working on the MAXIM sensor hub(MAX32664)to measure spo2 and heart rate on nrf52840 controller with freertos. I was able to read and parse the FIFO to get the above mentioned health parameters.
Now moving forward,i want to measure the the other health parameters(HRV,stress and respiration rate) which is calculated by wellness library provide by maxim.I was trying to integrate this static library(libMxmWellnessSuite.a for amreabi architecture)found in SFW0011650I found on maxim website.when i integrated this library and compiled the code i was getting following error regarding the architecture mismatch.Has anybody idea about how to resolve this error?am i using the correct .a file?Has anyone integrated this library for nrf 52 before?any link for integration process?
Any help will be appreciated.Thanks!

Error logs------->

Parents
  • Hi,

    I have never heard about that library before, but looking at the errors, it seems the enum size is different. If there are different versions of the library available, perhaps you can pick one that suits you better. If not, you need to modify your project accordingly. Some things are architecture dependent, but enum size is configurable. You can change the enum size of your project in SES like this:

  • Hi,

    thanks for the reply.Errors related to enum size are gone now.Still below error is coming multiple times.Can you please assisr.

    1> Linking DHMS.elf
    1> /usr/share/segger_embedded_studio_for_arm_5.68/gcc/arm-none-eabi/bin/ld: error: Output/Debug/Exe/DHMS.elf uses VFP register arguments, ../src/lib/Maxim_Wellness_Library/libMxmWellnessSuite.a(libMxmWellnessSuite1.o) does not.

    error: ../src/lib/Maxim_Wellness_Library/libMxmWellnessSuite.a(libMxmWellnessSuite1.o): conflicting architecture profiles A/M

Reply
  • Hi,

    thanks for the reply.Errors related to enum size are gone now.Still below error is coming multiple times.Can you please assisr.

    1> Linking DHMS.elf
    1> /usr/share/segger_embedded_studio_for_arm_5.68/gcc/arm-none-eabi/bin/ld: error: Output/Debug/Exe/DHMS.elf uses VFP register arguments, ../src/lib/Maxim_Wellness_Library/libMxmWellnessSuite.a(libMxmWellnessSuite1.o) does not.

    error: ../src/lib/Maxim_Wellness_Library/libMxmWellnessSuite.a(libMxmWellnessSuite1.o): conflicting architecture profiles A/M

Children
Related