mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 574928: Add PyOCD definitions
Change-Id: I3181d807d3ff33fd3b2cf7e2f764ed2cd3d174f5
This commit is contained in:
parent
d27126df9a
commit
79b1f157dd
4 changed files with 50 additions and 2 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.cdt.debug.gdbjtag.core;singleton:=true
|
||||
Bundle-Version: 10.3.0.qualifier
|
||||
Bundle-Version: 10.4.0.qualifier
|
||||
Bundle-Activator: org.eclipse.cdt.debug.gdbjtag.core.Activator
|
||||
Bundle-Localization: plugin
|
||||
Require-Bundle: org.eclipse.core.runtime,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
###############################################################################
|
||||
# Copyright (c) 2007, 2020 QNX Software Systems and others
|
||||
# Copyright (c) 2007, 2021 QNX Software Systems and others
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are made available under the terms of the Eclipse Public License 2.0
|
||||
|
@ -15,6 +15,7 @@
|
|||
# John Dallaway - SEGGER J-Link extension, bug 548281
|
||||
# John Dallaway - PEmicro extension, bug 552597
|
||||
# John Dallaway - ST-LINK extension, bug 558266
|
||||
# John Dallaway - PyOCD extension, bug 574928
|
||||
###############################################################################
|
||||
launchConfig.name=GDB Hardware Debugging
|
||||
pluginName=Eclipse GDB Hardware Debug Core Plug-in
|
||||
|
@ -28,6 +29,7 @@ GenericSerial.name=Generic Serial
|
|||
OpenOCDPipe.name=OpenOCD (via pipe)
|
||||
OpenOCDSocket.name=OpenOCD (via socket)
|
||||
PEMicro.name=PEmicro
|
||||
PyOCD.name=PyOCD
|
||||
SeggerJLink.name=SEGGER J-Link
|
||||
STLink.name=ST-LINK
|
||||
Generic.name=Generic TCP/IP
|
||||
|
|
|
@ -67,6 +67,12 @@
|
|||
id="org.eclipse.cdt.debug.gdbjtag.core.jtagdevice.PEMicro"
|
||||
name="%PEMicro.name">
|
||||
</device>
|
||||
<device
|
||||
class="org.eclipse.cdt.debug.gdbjtag.core.jtagdevice.PyOCD"
|
||||
default_connection="localhost:3333"
|
||||
id="org.eclipse.cdt.debug.gdbjtag.core.jtagdevice.PyOCD"
|
||||
name="%PyOCD.name">
|
||||
</device>
|
||||
<device
|
||||
class="org.eclipse.cdt.debug.gdbjtag.core.jtagdevice.SeggerJLink"
|
||||
default_connection="localhost:2331"
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2008, 2021 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
|
||||
* Andy Jin - Hardware debugging UI improvements, bug 229946
|
||||
* John Dallaway - PyOCD extension, bug 574928
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.debug.gdbjtag.core.jtagdevice;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* @since 10.4
|
||||
*/
|
||||
public class PyOCD extends DefaultGDBJtagConnectionImpl {
|
||||
|
||||
@Override
|
||||
public void doDelay(int delay, Collection<String> commands) {
|
||||
/* not supported */
|
||||
}
|
||||
|
||||
@Override
|
||||
public void doReset(Collection<String> commands) {
|
||||
addCmd(commands, "monitor reset"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
@Override
|
||||
public void doResetAndHalt(Collection<String> commands) {
|
||||
addCmd(commands, "monitor reset halt"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue