Fix SDRAM part-no

* Issue #29
This commit is contained in:
iabdalkader 2014-10-31 14:48:15 +02:00
parent 944c3b5801
commit 0aaa51bc26
5 changed files with 20 additions and 34 deletions

View File

@ -30,8 +30,8 @@
<layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="yes"/> <layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="yes"/>
<layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/> <layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/> <layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="yes"/> <layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="yes"/> <layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="25" name="tNames" color="7" fill="1" visible="no" active="yes"/> <layer number="25" name="tNames" color="7" fill="1" visible="no" active="yes"/>
<layer number="26" name="bNames" color="7" fill="1" visible="no" active="yes"/> <layer number="26" name="bNames" color="7" fill="1" visible="no" active="yes"/>
<layer number="27" name="tValues" color="7" fill="1" visible="no" active="yes"/> <layer number="27" name="tValues" color="7" fill="1" visible="no" active="yes"/>
@ -1812,7 +1812,7 @@ design rules under a new name.</description>
<attribute name="NAME" x="18.3515" y="32.639" size="0.4064" layer="25" font="vector" ratio="20" rot="R90"/> <attribute name="NAME" x="18.3515" y="32.639" size="0.4064" layer="25" font="vector" ratio="20" rot="R90"/>
<attribute name="VALUE" x="18.6055" y="32.131" size="0.4064" layer="27"/> <attribute name="VALUE" x="18.6055" y="32.131" size="0.4064" layer="27"/>
</element> </element>
<element name="U10" library="mux" package="TSOPII-54" value="IS42S16800E" x="21.59" y="21.717" smashed="yes" rot="MR270"> <element name="U10" library="mux" package="TSOPII-54" value="IS42S81600E-7TL" x="21.59" y="21.717" smashed="yes" rot="MR270">
<attribute name="NAME" x="26.5696" y="9.5388" size="0.6096" layer="26" font="vector" ratio="20" rot="MR0"/> <attribute name="NAME" x="26.5696" y="9.5388" size="0.6096" layer="26" font="vector" ratio="20" rot="MR0"/>
<attribute name="VALUE" x="21.8686" y="30.1956" size="1.27" layer="28" rot="MR270"/> <attribute name="VALUE" x="21.8686" y="30.1956" size="1.27" layer="28" rot="MR270"/>
</element> </element>

Binary file not shown.

View File

@ -6655,7 +6655,7 @@ DIN A3, landscape with extra doc field</description>
<part name="C13" library="sfe" deviceset="CAP" device="0402-CAP" value="0.1uF"/> <part name="C13" library="sfe" deviceset="CAP" device="0402-CAP" value="0.1uF"/>
<part name="C14" library="sfe" deviceset="CAP" device="0402-CAP" value="0.1uF"/> <part name="C14" library="sfe" deviceset="CAP" device="0402-CAP" value="0.1uF"/>
<part name="GND3" library="sfe" deviceset="GND" device=""/> <part name="GND3" library="sfe" deviceset="GND" device=""/>
<part name="U10" library="mux" deviceset="IS42S16800E" device=""/> <part name="U10" library="mux" deviceset="IS42S16800E" device="" value="IS42S81600E-7TL"/>
<part name="U9" library="omnivision" deviceset="OV2640" device=""/> <part name="U9" library="omnivision" deviceset="OV2640" device=""/>
<part name="C16" library="sfe" deviceset="CAP" device="0402-CAP" value="0.1uF"/> <part name="C16" library="sfe" deviceset="CAP" device="0402-CAP" value="0.1uF"/>
<part name="C17" library="sfe" deviceset="CAP" device="0402-CAP" value="0.1uF"/> <part name="C17" library="sfe" deviceset="CAP" device="0402-CAP" value="0.1uF"/>

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<interface> <interface>
<!-- interface-requires gtk+ 3.0 --> <!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires gtksourceview 0.0 -->
<!-- interface-requires vte 0.0 --> <!-- interface-requires vte 0.0 -->
<!-- interface-naming-policy toplevel-contextual --> <!-- interface-naming-policy toplevel-contextual -->
<object class="GtkAdjustment" id="brightness_adjust"> <object class="GtkAdjustment" id="brightness_adjust">
@ -787,21 +786,11 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<child> <child>
<object class="GtkScrolledWindow" id="scrolledwindow1"> <object class="GtkScrolledWindow" id="src_scrolledwindow">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<child> <child>
<object class="GtkSourceView" id="gtksourceview"> <placeholder/>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="left_margin">2</property>
<property name="right_margin">2</property>
<property name="show_line_numbers">True</property>
<property name="tab_width">4</property>
<property name="auto_indent">True</property>
<property name="insert_spaces_instead_of_tabs">True</property>
<property name="highlight_current_line">True</property>
</object>
</child> </child>
</object> </object>
<packing> <packing>
@ -1165,7 +1154,7 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkScrolledWindow" id="scrolledwindow2"> <object class="GtkScrolledWindow" id="vte_scrolledwindow">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<child> <child>

View File

@ -1,16 +1,18 @@
#!/usr/bin/env python #!/usr/bin/env python
import pydfu import pydfu
import openmv import openmv
import sys, os, os.path import gtk
from time import sleep
import gtk, gtksourceview2 as gtksourceview
import gio
import gobject
import vte import vte
import gobject
import serial import serial
import usb.core import usb.core
import usb.util import usb.util
import sys, os, os.path
from time import sleep
from os.path import expanduser from os.path import expanduser
import gtkcodebuffer
from gtkcodebuffer import CodeBuffer, SyntaxLoader
try: try:
# 3.x name # 3.x name
import configparser import configparser
@ -71,18 +73,13 @@ class OMVGtk:
self.connected = False self.connected = False
map(lambda x:x.set_sensitive(False), self.controls) map(lambda x:x.set_sensitive(False), self.controls)
#configure gtksourceview # workaround bug in gtkcodebuffer
sourceview = self.builder.get_object('gtksourceview') gtkcodebuffer.SYNTAX_PATH.append(os.path.join(sys.prefix,"local", "share","pygtkcodebuffer","syntax"))
self.buffer = gtksourceview.Buffer()
mgr = gtksourceview.style_scheme_manager_get_default() # Configure source viewer
style_scheme = mgr.get_scheme('classic') self.buffer = CodeBuffer(lang=SyntaxLoader("python"))
if style_scheme:
self.buffer.set_style_scheme(style_scheme)
lang_manager = gtksourceview.language_manager_get_default()
self.buffer.set_highlight_syntax(True)
self.buffer.set_language(lang_manager.get_language("python"))
self.buffer.connect("changed", self.text_changed) self.buffer.connect("changed", self.text_changed)
sourceview.set_buffer(self.buffer) self.builder.get_object("src_scrolledwindow").add(gtk.TextView(self.buffer))
#configure the terminal #configure the terminal
self.fd = -1 self.fd = -1