52840 SDK 14.2.0 DFU compile error

Compiling nrf_dfu_ble.c I get several errors:

unknown type name 'nrf_dfu_observer_t'

'ble_dfu_transport_init' undeclared here (not in a function); did you mean 'nrf_dfu_transports_init'?

'NRF_DFU_BLE_MIN_CONN_INTERVAL' undeclared here (not in a function); did you mean 'NRF_DFU_BLE_ADV_INTERVAL'?

'nrf_dfu_op_t' undeclared (first use in this function); did you mean 'nrf_dfu_res_t'?

I searched the codebase and found no define for nrf_dfu_observer_t.

Parents
  • Hello,

    Could please provide some more background on what you are trying to achieve? The reason for the build errors here are missing dependencies in your project, but these dependencies are already included in our BLE bootloader example projects.

    Dependencies that are missing based on the errors you got:

    - include path to nrf_dfu_types.h

    - include path to nrf_dfu_req_handler.h

    - NRF_DFU_BLE_MIN_CONN_INTERVAL symbol not defined in sdk_config.h

    Also, please note that SDK 14.2.0 only had experimental support for the 52840. The 2 main limitations in this release is that Bluetooth is not qualified, and that bootloader updates are not supported. You may refer to the compatibility matrix for the recommended SDK/SD combinations here: SDKs and SoftDevices  

    Best regards,

    Vidar

  • My mistake. SDK version is 17.1. The search path is old since the project is based on 14.2 sdk.

    I need to update this info.

    Thanks

Reply Children
Related