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
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
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.
Hi Einar, first thanks for your support..... You wrote "You do not even need to change any code to add both backend" also sdk_config.h? I'm a bit confused because each sdk_config.h is configured for the type bootloader
Thanks in advance
Hi Einar, first thanks for your support..... You wrote "You do not even need to change any code to add both backend" also sdk_config.h? I'm a bit confused because each sdk_config.h is configured for the type bootloader
Thanks in advance
Hi,
I should have been more precise. You will need to change the sdk_config.h. You should start with a BLE bootloader project, and add missing files and includes from the UART bootloader, and add missing configurations in sdk_config.h. And adjust size etc. But the bootloader code itself (apart from configuration) does not strictly need updates.