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

S332 HRM example missing nrf_error.h

I'm trying to compile the S332 example project ble_ant_app_hrm_pca10040_s332.uvprojx. I'm using the V12 SDK and Keil uVision V5. When I try to compile I get an error saying "nrf_error.h" could not be found. Some other files are missing too (ble.h, ble_types.h, ble_gap.h, etc), but I'll start with nrf_error.

"............\components\softdevice\s332\headers\nrf52" is in the project include path. However, when I look in this folder it does not contain nrf_error.h, whereas the same folder for other softdevices does.

What should I be doing to get this example project to compile?

Parents
  • Hi,

    ANT softdevice and its header files is not distributed by Nordic. You can find all the information you need in the SDK12 documentation

    Running ANT examples on the nRF52 Series

    ANT SoftDevices for the nRF52 Series are not distributed by Nordic Semiconductor. You can download them from thisisant.com.

    There are no Keil or GCC targets to program these SoftDevices. You must therefore use nRFgo Studio to program them.

    The SDK does not include the header files for the ANT SoftDevices for the nRF52 Series. Therefore you must add them to your project before you can compile your application. To do so, extract the downloaded zip file that contains the SoftDevice and copy the SoftDevice headers to components/softdevice/SoftDevice/headers.

    Make sure that ANT_LICENSE_KEY is uncommented in the nrf_sdm.h file that you copied. The included license key can be used for evaluation, but before releasing a product, it must be replaced with a valid commercial license key. For more information about licensing, see thisisant.com.

Reply
  • Hi,

    ANT softdevice and its header files is not distributed by Nordic. You can find all the information you need in the SDK12 documentation

    Running ANT examples on the nRF52 Series

    ANT SoftDevices for the nRF52 Series are not distributed by Nordic Semiconductor. You can download them from thisisant.com.

    There are no Keil or GCC targets to program these SoftDevices. You must therefore use nRFgo Studio to program them.

    The SDK does not include the header files for the ANT SoftDevices for the nRF52 Series. Therefore you must add them to your project before you can compile your application. To do so, extract the downloaded zip file that contains the SoftDevice and copy the SoftDevice headers to components/softdevice/SoftDevice/headers.

    Make sure that ANT_LICENSE_KEY is uncommented in the nrf_sdm.h file that you copied. The included license key can be used for evaluation, but before releasing a product, it must be replaced with a valid commercial license key. For more information about licensing, see thisisant.com.

Children
No Data
Related