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

Adding ANT+ bpwr profile to ble_ant_app_hrm_pca10040_S332 example and removing ANT+ hrm

SDK: 14.2

64-bit Segger Studio 3.34b

PCA10040 Rev. 1.2.4.

64bit Windows 10

SD: S332

I'm trying to add the bpwr Tx profile to the ble_ant_app_hrm_pca10040_S332  example. I've first compiled the ble_ant_app_hrm_pca10040_S332  succesfully, before changing the sdk_config and project files to include the bpwr sdk_config and project configurations. I've removed most of the ANT+ hrm receiver and replaced it with the bpwr code from the ANT+ examples. When I compile, the compilation fails for all files due to the following reason:

The compiler gives the following output for the compilation of main.c:

The transcript output reports the following error on multiple files:

I found this post which has the same vfpcc error https://devzone.nordicsemi.com/f/nordic-q-a/24806/compiler-error-when-migrating-to-ses-3-and-sdk14 but this is already solved in SDK 14.2, as the app_util.h already has the modification.

I'm not sure why the compilation of main.c also fails because of not being able to find ant_hrm.h, as I've removed that from the project files, sdk_config and the main.c includes etc.

I did move the project from the dephts of the multiprotocol examples to the top of the SDK14.2 files if someone tries to compile the added project with S332 and SDK14.2

ble_ant_app_hrm.zip

I think it's probably a very simple mistake I've made during copying, but I can't find it. So any help would be greatly appreciated

  • I resolved the issue by a more carefull approach of modifying the project files and sdk_config of the ble_ant_app_hrm_pca10040_S332 example to include the bpwr profile files and definitions. It seems the 

    error indicates that the project configuration has an error, but doesn't provide any insight to what might be wrong.