/// <inheritdoc /> partial void AddPlatformCommands() { LtoFlashGroupCommand.MenuParent = RootCommandGroup.ToolsMenuCommand; LtoFlashGroupCommand.Weight = 0.8; CommandList.Add(LtoFlashGroupCommand); CommandList.Add(LtoFlashGroupCommand.CreateSeparator(CommandLocation.Before)); CommandList.Remove(FtdiDriverVersionCommand); }
/// <inheritdoc /> partial void AddPlatformCommands() { LtoFlashGroupCommand.MenuParent = RootCommandGroup.ToolsMenuCommand; LtoFlashGroupCommand.Weight = 0.8; CommandList.Add(LtoFlashGroupCommand.CreateSeparator(CommandLocation.Before)); #if DEBUG LtoFlashViewModel.InjectFirmwareCrashCommand.MenuParent = DebugCommandGroup.DebugMenuCommand; CommandList.Add(LtoFlashViewModel.InjectFirmwareCrashCommand); LtoFlashViewModel.InjectCommandFailureCommand.MenuParent = DebugCommandGroup.DebugMenuCommand; CommandList.Add(LtoFlashViewModel.InjectCommandFailureCommand); LtoFlashViewModel.InjectCommandNakCommand.MenuParent = DebugCommandGroup.DebugMenuCommand; CommandList.Add(LtoFlashViewModel.InjectCommandNakCommand); LtoFlashViewModel.WaitForBeaconCommand.MenuParent = DebugCommandGroup.DebugMenuCommand; CommandList.Add(LtoFlashViewModel.WaitForBeaconCommand); #endif // DEBUG }