public XDSDebugMethodConfigurator(XDSDebugController debugController, LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host) { host.InstallStyles(this); InitializeComponent(); _DebugController = debugController; _Method = method; _Host = host; SetConfiguration(null, default(KnownInterfaceInstance)); }
public ESPxxOpenOCDSettingsControl(LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host, ICustomSettingsTypeProvider typeProvider, bool isESP32) { _Method = method; _Host = host; _IsESP32 = isESP32; TypeProvider = typeProvider; host.InstallStyles(this); InitializeComponent(); host.MakeSearchableComboBox(InterfaceComboBox, (i, f) => _Editor?.FilterItem(i, f) ?? false, Resources["interfaceScriptSelectionControl"]); }
public RISCVOpenOCDSettingsControl(LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host, RISCVOpenOCDDebugController controller) { _Method = method; _Host = host; TypeProvider = _Controller = controller; host.InstallStyles(this); InitializeComponent(); host.MakeSearchableComboBox(InterfaceComboBox, (i, f) => _Editor?.FilterItem(i, f) ?? false, Resources["interfaceScriptSelectionControl"]); host.MakeSearchableComboBox(DeviceComboBox, (i, f) => _Editor?.FilterItem(i, f) ?? false, Resources["deviceScriptSelectionControl"]); }
internal RedLinkSettingsControl(LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host, RedLinkDebugController debugController) { host.InstallStyles(this); Controller = new ControllerImpl(method, host, debugController, this); InitializeComponent(); host.MakeSearchableComboBox(DeviceComboBox, (i, f) => Controller.FilterItem(i, f), Resources["deviceScriptSelectionControl"]); _ServerCheckTimer = new DispatcherTimer(TimeSpan.FromMilliseconds(500), DispatcherPriority.Normal, (s, e) => Controller.UpdateServerStatus(), Dispatcher) { IsEnabled = false }; Loaded += (s, e) => _ServerCheckTimer.IsEnabled = true; Unloaded += (s, e) => _ServerCheckTimer.IsEnabled = false; IsVisibleChanged += (s, e) => _ServerCheckTimer.IsEnabled = IsVisible; }
internal ControllerImpl(LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host, RedLinkDebugController debugController, object control) { _Method = method; _Host = host; TypeProvider = debugController; Control = control; ResetMode = new DerivedSetting(this, "--reset=", RedLinkServerCommandLine.SettingMode.Prefix, "SYSRESETREQ/system", "VECTRESET/core", "Software/soft");;; Interface = new DerivedSetting(this, "--wire", RedLinkServerCommandLine.SettingMode.Separated, "SWD/swd", "JTAG/jtag"); Core = new DerivedSetting(this, RedLinkServerCommandLine.CoreIndex, RedLinkServerCommandLine.SettingMode.Prefix) { LoadChoices = GetAvailableCores }; SetConfiguration(null, default); }
public ICustomDebugMethodConfigurator CreateConfigurator(LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host) { return(new ESP32GDBStubSettingsControl(host, this)); }
public ICustomDebugMethodConfigurator CreateConfigurator(LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host) { return(new GUI.RedLinkSettingsControl(method, host, this).Controller); }
public override ICustomDebugMethodConfigurator CreateConfigurator(LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host) { return(new GUI.ESPxxOpenOCDSettingsControl(method, host, this, _IsESP32)); }
public ICustomDebugMethodConfigurator CreateConfigurator(LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host) => new XDSDebugMethodConfigurator(this, method, host);
public ControllerImpl(AVaRICESettingsControl control, LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host, AVaRICEDebugController controller) { Control = control; TypeProvider = controller; _Settings = new AVaRICEDebugSettings(); }
public AVaRICESettingsControl(LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host, AVaRICEDebugController controller) { InitializeComponent(); DataContext = Controller = new ControllerImpl(this, method, host, controller); }
public virtual ICustomDebugMethodConfigurator CreateConfigurator(LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host) { return(new GUI.RISCVOpenOCDSettingsControl(method, host, this)); }
public ControllerImpl(RenesasDebugSettingsControl control, LoadedBSP.LoadedDebugMethod method, IBSPConfiguratorHost host, RenesasDebugController controller) { Control = control; TypeProvider = controller; _CommandLine = new RenesasGDBServerCommandLine(new RenesasDebugSettings().CommandLineArguments); }
public RISCVOpenOCDSettingsEditor(IBSPConfiguratorHost host, LoadedBSP.LoadedDebugMethod method, RISCVOpenOCDSettings settings, RISCVOpenOCDDebugController controller, KnownInterfaceInstance context) : base(host, method.Directory, settings, context, controller, settings == null) { }