• I'd remove -DBOARD_PCA10059 as this pulls in some SDK board definitions for nordic dongle, see targetlibs/nrf5x_15/components/boards/pc­a10059.h

    With SWD it does not matter much as it is easy to recover from mistakes. OTOH having some bootloader is practical. The USB one is nice as it is fast, works also in Windows with nrf tools and does not depend on softdevice version, almost as good as SWD for updates.


Avatar for fanoush @fanoush started