Commit 6c89cab3 authored by Sandeep Mistry's avatar Sandeep Mistry

Add J-Link and ST-Link programmer menu items

parent 6c4ee844
...@@ -45,8 +45,6 @@ nRF52DK.build.ldscript=nrf52_xxaa.ld ...@@ -45,8 +45,6 @@ nRF52DK.build.ldscript=nrf52_xxaa.ld
BluzDK.name=Bluz DK BluzDK.name=Bluz DK
BluzDK.upload.tool=nRF5:openocd BluzDK.upload.tool=nRF5:openocd
BluzDK.upload.protocol=
BluzDK.upload.interface=jlink
BluzDK.upload.target=nrf51 BluzDK.upload.target=nrf51
BluzDK.upload.address=0x0 BluzDK.upload.address=0x0
BluzDK.upload.maximum_size=262144 BluzDK.upload.maximum_size=262144
......
...@@ -100,4 +100,8 @@ tools.openocd.cmd.windows=bin/openocd.exe ...@@ -100,4 +100,8 @@ tools.openocd.cmd.windows=bin/openocd.exe
tools.openocd.upload.params.verbose=-d2 tools.openocd.upload.params.verbose=-d2
tools.openocd.upload.params.quiet=-d0 tools.openocd.upload.params.quiet=-d0
tools.openocd.upload.pattern="{path}/{cmd}" {upload.verbose} -f interface/{upload.interface}.cfg -c "{upload.setup_command}" -f target/{upload.target}.cfg -c "program {{{build.path}/{build.project_name}.bin}} verify reset {upload.address}; shutdown; " tools.openocd.upload.pattern="{path}/{cmd}" {upload.verbose} -f interface/{upload.interface}.cfg -c "{upload.setup_command}" -f target/{upload.target}.cfg -c "program {{{build.path}/{build.project_name}.bin}} verify reset {upload.address}; shutdown;"
tools.openocd.program.params.verbose=-d2
tools.openocd.program.params.quiet=-d0
tools.openocd.program.pattern="{path}/{cmd}" {program.verbose} -f interface/{program.interface}.cfg -c "{program.setup_command}" -f target/{program.target}.cfg -c "program {{{build.path}/{build.project_name}.bin}} verify reset {upload.address}; shutdown;"
jlink.name=J-Link
jlink.communication=USB
jlink.protocol=
jlink.program.protocol=
jlink.program.tool=openocd
jlink.program.interface=jlink
jlink.program.target=nrf51
jlink.program.setup_command=transport select swd; set WORKAREASIZE 0;
stlink.name=ST-Link V2
stlink.communication=USB
stlink.protocol=
stlink.program.protocol=
stlink.program.tool=openocd
stlink.program.interface=stlink-v2
stlink.program.target=nrf51
stlink.program.setup_command=transport select hla_swd; set WORKAREASIZE 0x4000;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment