Example #1
0
            /// <summary>
            /// Creates, initializes pads and populates the Pads list.
            /// </summary>
            protected override void CreatePads()
            {
                base.CreatePads();
                WatchPad.Types = new string[] { "Signed", "Unsigned" };

                (BreakpointsPad.NewIOBreakpointDialog as NewIOBreakpointForm).SetAddress(0, false);
                var newRegBp = BreakpointsPad.NewRegisterBreakpointDialog as NewRegisterBreakpointForm;

                newRegBp.SetRegisterNames(new string[] { "SP", "PC" });
                newRegBp.SetOnRead(false, false);
                newRegBp.SetOnWrite(true, true);

                ConsolePad = new ConsolePad(Platform.Project);
                var dc = Platform.DebuggerController as PicoDebuggerController;

                dc.IODevice = ConsolePad;
                Pads.Add(ConsolePad);
            }
Example #2
0
            /// <summary>
            /// Creates, initializes pads and populates the Pads list.
            /// </summary>
            protected override void CreatePads()
            {
                base.CreatePads();
                WatchPad.Types = new string[] { "Signed", "Unsigned" };

                (BreakpointsPad.NewIOBreakpointDialog as NewIOBreakpointForm).SetAddress(0, false);
                var newRegBp = BreakpointsPad.NewRegisterBreakpointDialog as NewRegisterBreakpointForm;
                newRegBp.SetRegisterNames(new string[] { "SP", "PC" });
                newRegBp.SetOnRead(false, false);
                newRegBp.SetOnWrite(true, true);

                ConsolePad = new ConsolePad(Platform.Project);
                var dc = Platform.DebuggerController as PicoDebuggerController;
                dc.IODevice = ConsolePad;
                Pads.Add(ConsolePad);
            }