AvalonStudio.Debugging.GDB.OpenOCD.OpenOCDDebugAdaptor.SetSettings C# (CSharp) Method

SetSettings() public static method

public static SetSettings ( IProject project, OpenOCDSettings settings ) : void
project IProject
settings OpenOCDSettings
return void
		public static void SetSettings(IProject project, OpenOCDSettings settings)
		{
			project.DebugSettings.OpenOCDSettings = settings;
		}

Usage Example

        private void Save()
        {
            settings.InterfaceConfigFile = interfaceConfigFile?.ToAvalonPath();
            settings.TargetConfigFile    = targetConfigFile?.ToAvalonPath();

            OpenOCDDebugAdaptor.SetSettings(Model, settings);
            Model.Save();
        }