garmin / LIDARLite_ANT_Library

Libraries and examples to reprogram the LIDAR-Lite v4 LED with custom system on chip applications
Apache License 2.0
8 stars 1 forks source link

Adding bluetooth bootloader #3

Open rananna opened 3 years ago

rananna commented 3 years ago

The Bluetooth bootloader reference design requires the s140 softdevice, while the lidarlite project uses s340. will the bluetooth bootloader reference design work with the S340 softdevice? Can you load S140 and S340 at the same time?

jmseitz commented 3 years ago

A reference design for the s140 SoftDevice can be used with an s340, as long as it is built using the headers for the s340. The linker file may also need to be adjusted to account for the difference in size between the two SoftDevices. The main difference between the two SoftDevices is that the s140 is BLE only, while s340 is BLE and ANT combined. You can only load a single SoftDevice on an nRF device.

Some information about switching SoftDevices - https://devzone.nordicsemi.com/f/nordic-q-a/13626/migrate-softdevice