This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problems with the Ant HRM rx demo

Hi,

I own the nRF51 dongle. I download the Keil toolchain and the nRF SDK (12.3.0 as I read, this is the last to support the dongle). I'm trying to build the ANT+ HRM RX example for 10040 board, as there is no version for my board (10031) in the SDK. Can I get the version for my board somewhere? Anyway, I'm getting an error while compiling the project ..\..\..\..\..\..\..\..\components\softdevice\common\softdevice_handler\softdevice_handler.h(65): error: #5: cannot open source input file "nrf_sdm.h": No such file or directory
I'm using the manual from this link infocenter.nordicsemi.com/index.jsp (Getting started -> Compiling and running a first example).
I also loaded tthe softdevice for ANT (s210) onto my device using the nRF Connect Programmer tool.

What am I doing wrong? Thanks

  • Actually I also get multiple compilation errors, regarding vaiour files:

    ..\..\..\..\..\..\..\..\components\ant\ant_profiles\ant_hrm\ant_hrm.h(56): error:  #5: cannot open source input file "ant_parameters.h": No such file or directory

    ..\..\..\..\..\..\..\..\components\libraries\util\sdk_errors.h(74): error:  #5: cannot open source input file "nrf_error.h": No such file or directory

    ..\..\..\..\..\..\..\..\components\libraries\util\app_util_platform.h(57): error:  #5: cannot open source input file "nrf_soc.h": No such file or directory

    ..\..\..\..\..\..\..\..\components\softdevice\common\softdevice_handler\softdevice_handler.h(65): error:  #5: cannot open source input file "nrf_sdm.h": No such file or directory

    ..\..\..\..\..\..\..\..\components\libraries\util\app_util_platform.h(57): error:  #5: cannot open source input file "nrf_soc.h": No such file or directory

    PS: I found the S212 softdevice and uploaded it to my device, but as you might get this is not related (yet), as I cannot compile the project.

  • I think you can close tihs ticket as I think there's no point in trying to run an app for 10040 on 10031.

Related