Closed xiongyihui closed 4 years ago
related to #30 #74
thanks for your PR, however, we haven't decided if we want to have SD-independent bootloader yet. Meanwhile this PR will be pending until we make up our mind.
@hathach : newer sdks include almost all of this PR out of the box, so SD free bootloader is almost free code wise (but perhaps not support wise)
@jrobeson since we have plan to extensive use OTA in the future which requires SD. We don't want an incompatible bootloader code and Softdevice (e.g v6, v7). And then we have to document which bootloader version work with which Softdevice. Worse an incompatible Softdevice (flashed from previously compatible) can potentially brick device. So we like to keep it as a combo for now, until there is a real reason to separate them.
Make the bootloader work without softdevice.
comment out https://github.com/adafruit/Adafruit_nRF52_Bootloader/blob/master/Makefile#L245 to enable it.
The MBR at 0x0 to 0x1000 is still required.