mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
Add NXP LinkServer definitions
This commit is contained in:
parent
9448058a76
commit
a19a7230b6
4 changed files with 50 additions and 1 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
Bundle-Name: %pluginName
|
||||||
Bundle-SymbolicName: org.eclipse.cdt.debug.gdbjtag.core;singleton:=true
|
Bundle-SymbolicName: org.eclipse.cdt.debug.gdbjtag.core;singleton:=true
|
||||||
Bundle-Version: 10.7.0.qualifier
|
Bundle-Version: 10.8.0.qualifier
|
||||||
Bundle-Activator: org.eclipse.cdt.debug.gdbjtag.core.Activator
|
Bundle-Activator: org.eclipse.cdt.debug.gdbjtag.core.Activator
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
Require-Bundle: org.eclipse.core.runtime,
|
Require-Bundle: org.eclipse.core.runtime,
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
# John Dallaway - ST-LINK extension, bug 558266
|
# John Dallaway - ST-LINK extension, bug 558266
|
||||||
# John Dallaway - PyOCD extension, bug 574928
|
# John Dallaway - PyOCD extension, bug 574928
|
||||||
# John Dallaway - Black Magic Probe extension, bug 535143
|
# John Dallaway - Black Magic Probe extension, bug 535143
|
||||||
|
# John Dallaway - NXP LinkServer extension (#496)
|
||||||
###############################################################################
|
###############################################################################
|
||||||
launchConfig.name=GDB Hardware Debugging
|
launchConfig.name=GDB Hardware Debugging
|
||||||
pluginName=Eclipse GDB Hardware Debug Core Plug-in
|
pluginName=Eclipse GDB Hardware Debug Core Plug-in
|
||||||
|
@ -28,6 +29,7 @@ AbatronBDI2000.name=Abatron BDI2000
|
||||||
BlackMagicProbe.name=Black Magic Probe
|
BlackMagicProbe.name=Black Magic Probe
|
||||||
MacraigorUsb2Demon.name=Macraigor USB2Demon
|
MacraigorUsb2Demon.name=Macraigor USB2Demon
|
||||||
GenericSerial.name=Generic Serial
|
GenericSerial.name=Generic Serial
|
||||||
|
NXPLinkServer.name=NXP LinkServer
|
||||||
OpenOCDPipe.name=OpenOCD (via pipe)
|
OpenOCDPipe.name=OpenOCD (via pipe)
|
||||||
OpenOCDSocket.name=OpenOCD (via socket)
|
OpenOCDSocket.name=OpenOCD (via socket)
|
||||||
PEMicro.name=PEmicro
|
PEMicro.name=PEmicro
|
||||||
|
|
|
@ -53,6 +53,13 @@
|
||||||
name="%GenericSerial.name"
|
name="%GenericSerial.name"
|
||||||
protocols="remote,extended-remote">
|
protocols="remote,extended-remote">
|
||||||
</device>
|
</device>
|
||||||
|
<device
|
||||||
|
class="org.eclipse.cdt.debug.gdbjtag.core.jtagdevice.NXPLinkServer"
|
||||||
|
default_connection="localhost:3333"
|
||||||
|
id="org.eclipse.cdt.debug.gdbjtag.core.jtagdevice.NXPLinkServer"
|
||||||
|
name="%NXPLinkServer.name"
|
||||||
|
protocols="remote">
|
||||||
|
</device>
|
||||||
<device
|
<device
|
||||||
class="org.eclipse.cdt.debug.gdbjtag.core.jtagdevice.OpenOCDPipe"
|
class="org.eclipse.cdt.debug.gdbjtag.core.jtagdevice.OpenOCDPipe"
|
||||||
default_connection="| openocd --pipe"
|
default_connection="| openocd --pipe"
|
||||||
|
|
|
@ -0,0 +1,40 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2008, 2023 QNX Software Systems and others.
|
||||||
|
*
|
||||||
|
* This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License 2.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* https://www.eclipse.org/legal/epl-2.0/
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: EPL-2.0
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* QNX Software Systems - Initial API and implementation
|
||||||
|
* John Dallaway - NXP LinkServer extension (#496)
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.debug.gdbjtag.core.jtagdevice;
|
||||||
|
|
||||||
|
import java.util.Collection;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 10.8
|
||||||
|
*/
|
||||||
|
public class NXPLinkServer extends DefaultGDBJtagConnectionImpl {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doHalt(Collection<String> commands) {
|
||||||
|
/* not supported */
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doReset(Collection<String> commands) {
|
||||||
|
doResetAndHalt(commands);
|
||||||
|
doContinue(commands);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void doResetAndHalt(Collection<String> commands) {
|
||||||
|
addCmd(commands, "monitor reset"); //$NON-NLS-1$
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue