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

SDK 12.1.0 Example don"t work

Hi,

I want to update the DFU with application nRF Connect (Bluetooth) for beginning I want to try with nRF Example in example/dfu/bootloader_secure. The file secure_dfu_secure_dfu_ble_s130_pca10028_debug.hex in pca10028_debug work when I drag and drop but when I want to build armgcc I have three erros :

  • Cannot find include folder: ../../config/secure_dfu_secure_dfu_ble_s130_pca10028_debug
  • Cannot find include folder: ../../config
  • Cannot find include folder: ../../../../../components/libraries/bootloader/ble_dfu/includes

But I still have a new folder _build and a file .hex in this folder.

I don't know if I do something bad or if I need to add something.

Someone can help me ?

Thank You,

Téo Dhien-Fane

Parents
  • Hello,

    I see the same as you, but these are not build errors. It is just the makefile that includes some include directories that doesn't exist. If you go into your project's makefile and remove the lines:

    54: $(PROJ_DIR)/config/secure_dfu_secure_dfu_ble_s130_pca10028 \
    55: $(PROJ_DIR)/config \
    78: $(SDK_ROOT)/components/libraries/bootloader/ble_dfu/includes \

    the warnings will disappear. It doesn't break anything removing these lines, because the folders doesn't exist either way. They probably remain from an earlier version of the SDK.

    That being said, I would recommend you to port your application and bootloader to the latest SDK supporting the nRF51. That would be SDK12.3.0, so that shouldn't be too much work.

    Does the bootloader work in your case, apart from the compiler warnings?

    Best regards,

    Edvin

Reply
  • Hello,

    I see the same as you, but these are not build errors. It is just the makefile that includes some include directories that doesn't exist. If you go into your project's makefile and remove the lines:

    54: $(PROJ_DIR)/config/secure_dfu_secure_dfu_ble_s130_pca10028 \
    55: $(PROJ_DIR)/config \
    78: $(SDK_ROOT)/components/libraries/bootloader/ble_dfu/includes \

    the warnings will disappear. It doesn't break anything removing these lines, because the folders doesn't exist either way. They probably remain from an earlier version of the SDK.

    That being said, I would recommend you to port your application and bootloader to the latest SDK supporting the nRF51. That would be SDK12.3.0, so that shouldn't be too much work.

    Does the bootloader work in your case, apart from the compiler warnings?

    Best regards,

    Edvin

Children
Related