bitcraze / lps-node-firmware

GNU Lesser General Public License v3.0
82 stars 79 forks source link

Added OPENOCD_CMDS option to support J-Link #50

Closed sigurdal closed 4 years ago

sigurdal commented 4 years ago

Added the OPENOCD_CMDS parameter to the Makefile to allow flashing using a J-Link programmer with:

make OPENOCD_INTERFACE=interface/jlink.cfg OPENOCD_CMDS='-c "transport select swd"' OPENOCD_TARGET=target/stm32f0x.cfg flash

This also makes it consistent with crazyflie-firmware.

krichardsson commented 4 years ago

Merged. Thanks!