Beispiel #1
0
        public void TestMethod1()
        {
            XmlSerializer xs     = new XmlSerializer(typeof(cmsis_svd.device));
            StreamReader  reader = new StreamReader("svd_Example_pg.xml");

            cmsis_svd.device device = (cmsis_svd.device)xs.Deserialize(reader);
        }
Beispiel #2
0
 public Target(IDapAccessLink link, MemoryMap memoryMap = null)
 {
     this.link            = link;
     this.flash           = null;
     this.part_number     = "";
     this.memory_map      = memoryMap ?? new MemoryMap();
     this.halt_on_connect = true;
     this.has_fpu         = false;
     this._svd_location   = null;
     this._svd_device     = null;
 }