dfu compatible with uart and ble

Hello, I try to transplant some code of project \examples\dfu\secure_bootloader\pca10056_uart to project \examples\dfu\secure_bootloader\pca10056_s140_ble. Trying to make uart dfu compatible with ble dfu, but an error occurred when compiling the link. Screenshot below, it seems that the code space is not enough. How to solve it?

Parents
  • Hi, 

    Because the size of the bootloader code has increased with your changes, you need to adjust IROM settings for the project. If you need more space for the bootloader you can allocate more by reducing the start address (IROM start, and increase the size setting with the same amount). You can see an example on how this is done in the debug variant of the bootloader project.

    Regards,
    Amanda H.

Reply
  • Hi, 

    Because the size of the bootloader code has increased with your changes, you need to adjust IROM settings for the project. If you need more space for the bootloader you can allocate more by reducing the start address (IROM start, and increase the size setting with the same amount). You can see an example on how this is done in the debug variant of the bootloader project.

    Regards,
    Amanda H.

Children
No Data
Related