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

DFU for HRS application in nRF5_SDK_16.0.0_98a08e2

Hello All,

I am now planning to add DFU service to my HRS application (examples\ble_peripheral\ble_app_hrs\pca10040\s132\ses

I am using SDK nRF5_SDK_16.0.0_98a08e2. 

But I haven't found any DFU integrated project for HRS in this SDK. 

Where can I start? Any pointers can help. 

Regards

Lakshmikanth. 

Parents
  • Hello,

    I would recommend that you use Buttonless DFU Template Application example as a reference and start by including the DFU dependencies and settings it uses to your HRS project. That is the main step to integrate buttonless DFU into any app.

    Required source files (these can be inserted directly into the *.emProject file instead of adding them manually in SES):

        <folder Name="nRF_DFU">
          <file file_name="../../../../../../components/ble/ble_services/ble_dfu/ble_dfu.c" />
          <file file_name="../../../../../../components/ble/ble_services/ble_dfu/ble_dfu_unbonded.c" />
        </folder>
        <folder Name="nRF_SVC">
          <file file_name="../../../../../../components/libraries/bootloader/dfu/nrf_dfu_svci.c" />
        </folder>

    And preprocessor definitions:

     - BL_SETTINGS_ACCESS_ONLY

     - NRF_DFU_SVCI_ENABLED

     - NRF_DFU_TRANSPORT_BLE=1

    Regards,

    Vidar

Reply
  • Hello,

    I would recommend that you use Buttonless DFU Template Application example as a reference and start by including the DFU dependencies and settings it uses to your HRS project. That is the main step to integrate buttonless DFU into any app.

    Required source files (these can be inserted directly into the *.emProject file instead of adding them manually in SES):

        <folder Name="nRF_DFU">
          <file file_name="../../../../../../components/ble/ble_services/ble_dfu/ble_dfu.c" />
          <file file_name="../../../../../../components/ble/ble_services/ble_dfu/ble_dfu_unbonded.c" />
        </folder>
        <folder Name="nRF_SVC">
          <file file_name="../../../../../../components/libraries/bootloader/dfu/nrf_dfu_svci.c" />
        </folder>

    And preprocessor definitions:

     - BL_SETTINGS_ACCESS_ONLY

     - NRF_DFU_SVCI_ENABLED

     - NRF_DFU_TRANSPORT_BLE=1

    Regards,

    Vidar

Children
Related