aboutsummaryrefslogtreecommitdiff
path: root/templates/intel-quark-d2000.py
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-08-07 22:20:45 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2016-08-07 22:21:31 +0200
commitfd0e6e3aa0e7523a36011a2f0264737772aa5e24 (patch)
tree9ada25e6f4d072e2fc01ca62120cc416af8fc716 /templates/intel-quark-d2000.py
parent535d856a39b177642724bcfe6009985bf4262dbd (diff)
downloadkicad-utils-fd0e6e3aa0e7523a36011a2f0264737772aa5e24.tar.gz
kicad-utils-fd0e6e3aa0e7523a36011a2f0264737772aa5e24.tar.bz2
kicad-utils-fd0e6e3aa0e7523a36011a2f0264737772aa5e24.tar.xz
kicad-utils-fd0e6e3aa0e7523a36011a2f0264737772aa5e24.zip
templates: nodemcu-arduino: NodeMCU with Arduino.
o Moving headers so they match the namespace they declare. o Reducing debug logging.
Diffstat (limited to 'templates/intel-quark-d2000.py')
-rw-r--r--templates/intel-quark-d2000.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/intel-quark-d2000.py b/templates/intel-quark-d2000.py
index 85572c5..5bc69e0 100644
--- a/templates/intel-quark-d2000.py
+++ b/templates/intel-quark-d2000.py
@@ -1,4 +1,5 @@
global generateHeader
+
gpio_map = {
2: '10',
3: '11',
@@ -40,7 +41,7 @@ enum schematic_direction {
};
""")
-usages = generateHeader.netlist.find_usages_of(generateHeader.ref)
+usages = generateHeader.netlist.find_nets_using_ref(generateHeader.ref)
for usage in usages:
node = usage.node_for_ref(generateHeader.ref)