adafruit / Adafruit_nRF52_Bootloader

USB-enabled bootloaders for the nRF52 BLE SoC chips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use without softdevice

antst opened this issue · comments

Hello,

I am trying to adopt this bootloader for use in non-BLE application, without softdevice.
Mainly due to UF2.

By commenting out -DBLE_STACK_SUPPORT_REQD and -DSOFTDEVICE_PRESENT and excluding compilation of few BLE-specific binaries and wrapping in ifdef few BLE-specific calls I was able to compile it, but it doesn't work for me. (I test on nrf52840-DK with flashed MBR)
Looking that there are those defines, it looks like somebody had in mind use of this boot-loader in non-BLE application.
Were there attempts to run without softdevice? Any suggestions?

Thanks!

+1
want to use it with zephyr or mynewt which has its own ble stack

related to #30

implemented by #128