adafruit / Adafruit_nRF52_Bootloader

USB-enabled bootloaders for the nRF52 BLE SoC chips
MIT License
461 stars 415 forks source link

Use without softdevice #74

Closed antst closed 4 years ago

antst commented 5 years ago

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!

xiongyihui commented 4 years ago

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

hathach commented 4 years ago

related to #30

hathach commented 4 years ago

implemented by #128