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

Trying to compile DFU bootloader code in segger embedded studio.

When I tried to compile bootloader example code of sdk  bootloader_secure, I am facing some of the errors when I tried to compile using Segger Embedded Studio, which could not be solved. I think this is generating because of compiler difference. I am using s130.

`.bootloaderSettings' will not fit in region `UNPLACED_SECTIONS' region .

   In function `nrf_dfu_transports_init':
     undefined reference to `__stop_dfu_trans'
     undefined reference to `__start_dfu_trans'
   In function `nrf_dfu_bl_continue':
    undefined reference to `__isr_vector'
Build failed

Parents Reply
  • Still no idea where emWin comes into this!

    I ported this project from keil to Segger Embedded Studio.

    Aha! a key piece of information missing from the OP!

    The message you got is from the Linker - so you haven't (quite) ported (all of) the linker configuration correctly.

    So look carefully at the Keil linker configuration, and make sure you have that all correct in your SES Project.

    It might help to look at a current SDK, as that will have an SES project - use that to guide you.

Children
Related