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

bootloader UART+BLE

Dear all, I'm new on nordic and I have to combine a bootloader BLE+UART. I read some threads but I can't to combine UART + BLE. Can I have an help?

Thanks in advance

Parents
  • Hi,

    The bootloader supports multiple transports at the same time. You essentially just need to combine the two example bootloader projects, so that you include all dependencies and configurations for both, and add both backend implementations to your project, and modify the start address and size of the bootloader in the linker configuration to accommodate it. You do not even need to change any code to add both backends, as they are registered link time (using section variables). You should look at this issue though, which is relevant when combining a backend that depends on the SoftDevice and one which do not.

Reply
  • Hi,

    The bootloader supports multiple transports at the same time. You essentially just need to combine the two example bootloader projects, so that you include all dependencies and configurations for both, and add both backend implementations to your project, and modify the start address and size of the bootloader in the linker configuration to accommodate it. You do not even need to change any code to add both backends, as they are registered link time (using section variables). You should look at this issue though, which is relevant when combining a backend that depends on the SoftDevice and one which do not.

Children
Related