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

Using nRF SDK with EmBitz (EmBlocks)

Hello there,

I've been trying to use embitz (the new version of emblocks) to program a nRF5188 but i always fail to compile the "ble_peripheral_hrs" exemple, i'm always missing header files that are not present in the SDK zip.

  • I downloaded the SDK11 zip file and the ble_hrs exemple from the github
  • i managed to compile it with the make file.
  • i use softdevice 130 v2.0.1 with embitz

So i create a new nRF51 project with embitz, it auto generate the header files and a source file from the softdevice. Then i add the reference to all the SDK files AND the source files from the ble_hrs exemple.

When i try to build with the constant "CUSTOM_BOARD" defined i got the message that "ant_parameters.h" is missing,but this file is not present in the SDK...

Am i missing some basic configuration point or uses of the SDK ?

Thanks, Arthur

Parents
  • This text is as the top of main for all of the ANT examples in the SDK

     *
     * Before compiling this example for NRF52, complete the following steps:
     * - Download the S212 SoftDevice from <a href="www.thisisant.com/.../nrf52832" target="_blank">thisisant.com</a>.
     * - Extract the downloaded zip file and copy the S212 SoftDevice headers to <tt>\<InstallFolder\>/components/softdevice/s212/headers</tt>.
     * If you are using Keil packs, copy the files into a @c headers folder in your example folder.
     * - Make sure that @ref ANT_LICENSE_KEY in @c nrf_sdm.h is uncommented.
     */
    

    However the ant folders should not be included in non ant projects, which makes it very odd that you get that error.

Reply
  • This text is as the top of main for all of the ANT examples in the SDK

     *
     * Before compiling this example for NRF52, complete the following steps:
     * - Download the S212 SoftDevice from <a href="www.thisisant.com/.../nrf52832" target="_blank">thisisant.com</a>.
     * - Extract the downloaded zip file and copy the S212 SoftDevice headers to <tt>\<InstallFolder\>/components/softdevice/s212/headers</tt>.
     * If you are using Keil packs, copy the files into a @c headers folder in your example folder.
     * - Make sure that @ref ANT_LICENSE_KEY in @c nrf_sdm.h is uncommented.
     */
    

    However the ant folders should not be included in non ant projects, which makes it very odd that you get that error.

Children
No Data
Related