public PICArchitectureOptions(PICArchitectureOptionsPicker picker) { if (picker == null) { throw new ArgumentNullException(nameof(picker)); } ProcessorModel = PICProcessorModel.GetModel(picker.PICName); PICExecutionMode = (picker.AllowExtended ? PICExecMode.Extended : PICExecMode.Traditional); LoaderType = picker.LoaderType; }
public PICArchitectureOptions(string picName, PICExecMode execMode, string ldrType = "raw") : this(PICProcessorModel.GetModel(picName), execMode, ldrType) { }