summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Buesch <m@bues.ch>2013-10-14 23:06:31 +0200
committerMichael Buesch <m@bues.ch>2013-10-14 23:06:31 +0200
commit143a86ed89699d7bd3d3cb68cd5e500f03f2f0d5 (patch)
tree64f2ac011296b57da549ac93e43b9b2155f535c2
parent32eff3fc413da1be0082df093adb159ea252b1bc (diff)
downloadtoprammer-143a86ed89699d7bd3d3cb68cd5e500f03f2f0d5.tar.xz
toprammer-143a86ed89699d7bd3d3cb68cd5e500f03f2f0d5.zip
makeSip6.py: Also convert upper-case package names
Signed-off-by: Michael Buesch <m@bues.ch>
-rwxr-xr-x[-rw-r--r--]libtoprammer/chips/microchip8/makeSip6.py4
-rw-r--r--libtoprammer/chips/microchip8/pic10f200sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic10f202sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic10f320sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic10f322sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic12f1822sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic12f508sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic12f629sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic16f1824sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic16f1825sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic16f1826sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic16f1828sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic16f1829sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic16f630sip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic16f84asip6.py2
-rw-r--r--libtoprammer/chips/microchip8/pic18f1220sip6.py2
16 files changed, 17 insertions, 17 deletions
diff --git a/libtoprammer/chips/microchip8/makeSip6.py b/libtoprammer/chips/microchip8/makeSip6.py
index 8a72d0c..0abf7ba 100644..100755
--- a/libtoprammer/chips/microchip8/makeSip6.py
+++ b/libtoprammer/chips/microchip8/makeSip6.py
@@ -36,9 +36,9 @@ def substitute(input, oldSocket, newSocket):
input = re.sub('(^\s*description).+"(.*)".*', lambda m:'{} = "{} - ICD",'.format(m.group(1), m.group(2)), input)
input = re.sub('(^\s*bitfile).*', lambda m:'{} = "microchip01sip6",'.format(m.group(1)), input)
input = re.sub("{}".format(oldSocket), "{}".format(newSocket), input)
+ input = re.sub("{}".format(oldSocket.upper()), "{}".format(newSocket.upper()), input)
return input
-
-
+
def makeSip():
inputFileName = '__init__.py'
fin = open(inputFileName)
diff --git a/libtoprammer/chips/microchip8/pic10f200sip6.py b/libtoprammer/chips/microchip8/pic10f200sip6.py
index 169803d..02abedc 100644
--- a/libtoprammer/chips/microchip8/pic10f200sip6.py
+++ b/libtoprammer/chips/microchip8/pic10f200sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC10F200, PIC10F204 and PIC10f220 DIP8
+# Microchip PIC10F200, PIC10F204 and PIC10f220 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic10f202sip6.py b/libtoprammer/chips/microchip8/pic10f202sip6.py
index c7d2fb1..f262f63 100644
--- a/libtoprammer/chips/microchip8/pic10f202sip6.py
+++ b/libtoprammer/chips/microchip8/pic10f202sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC10F202, PIC10F206 and PIC10f222 DIP8
+# Microchip PIC10F202, PIC10F206 and PIC10f222 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic10f320sip6.py b/libtoprammer/chips/microchip8/pic10f320sip6.py
index c72c1d8..050c66b 100644
--- a/libtoprammer/chips/microchip8/pic10f320sip6.py
+++ b/libtoprammer/chips/microchip8/pic10f320sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC10F320 DIP8
+# Microchip PIC10F320 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic10f322sip6.py b/libtoprammer/chips/microchip8/pic10f322sip6.py
index e82316c..e3b8904 100644
--- a/libtoprammer/chips/microchip8/pic10f322sip6.py
+++ b/libtoprammer/chips/microchip8/pic10f322sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC10F322 DIP8
+# Microchip PIC10F322 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic12f1822sip6.py b/libtoprammer/chips/microchip8/pic12f1822sip6.py
index cd06a7d..19dcbbb 100644
--- a/libtoprammer/chips/microchip8/pic12f1822sip6.py
+++ b/libtoprammer/chips/microchip8/pic12f1822sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC12F1822 DIP8
+# Microchip PIC12F1822 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic12f508sip6.py b/libtoprammer/chips/microchip8/pic12f508sip6.py
index 57ece49..a40ae78 100644
--- a/libtoprammer/chips/microchip8/pic12f508sip6.py
+++ b/libtoprammer/chips/microchip8/pic12f508sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC12F508 DIP8
+# Microchip PIC12F508 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic12f629sip6.py b/libtoprammer/chips/microchip8/pic12f629sip6.py
index 9ac3096..f39510c 100644
--- a/libtoprammer/chips/microchip8/pic12f629sip6.py
+++ b/libtoprammer/chips/microchip8/pic12f629sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC12F629 DIP8
+# Microchip PIC12F629 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic16f1824sip6.py b/libtoprammer/chips/microchip8/pic16f1824sip6.py
index 4a2ff84..8036f67 100644
--- a/libtoprammer/chips/microchip8/pic16f1824sip6.py
+++ b/libtoprammer/chips/microchip8/pic16f1824sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC16F1824 DIP14
+# Microchip PIC16F1824 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic16f1825sip6.py b/libtoprammer/chips/microchip8/pic16f1825sip6.py
index 3f5bb1e..fa897e4 100644
--- a/libtoprammer/chips/microchip8/pic16f1825sip6.py
+++ b/libtoprammer/chips/microchip8/pic16f1825sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC16F1825 DIP14
+# Microchip PIC16F1825 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic16f1826sip6.py b/libtoprammer/chips/microchip8/pic16f1826sip6.py
index 326f4c2..4aadb61 100644
--- a/libtoprammer/chips/microchip8/pic16f1826sip6.py
+++ b/libtoprammer/chips/microchip8/pic16f1826sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC16F1826 DIP18
+# Microchip PIC16F1826 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic16f1828sip6.py b/libtoprammer/chips/microchip8/pic16f1828sip6.py
index 4eebd4f..1d320c2 100644
--- a/libtoprammer/chips/microchip8/pic16f1828sip6.py
+++ b/libtoprammer/chips/microchip8/pic16f1828sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC16F1828 DIP20
+# Microchip PIC16F1828 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic16f1829sip6.py b/libtoprammer/chips/microchip8/pic16f1829sip6.py
index 2cc74f8..51c7b87 100644
--- a/libtoprammer/chips/microchip8/pic16f1829sip6.py
+++ b/libtoprammer/chips/microchip8/pic16f1829sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC16F1829 DIP20
+# Microchip PIC16F1829 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic16f630sip6.py b/libtoprammer/chips/microchip8/pic16f630sip6.py
index e9fe715..2ee15cb 100644
--- a/libtoprammer/chips/microchip8/pic16f630sip6.py
+++ b/libtoprammer/chips/microchip8/pic16f630sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC16F630 DIP14
+# Microchip PIC16F630 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic16f84asip6.py b/libtoprammer/chips/microchip8/pic16f84asip6.py
index d472011..3be0051 100644
--- a/libtoprammer/chips/microchip8/pic16f84asip6.py
+++ b/libtoprammer/chips/microchip8/pic16f84asip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC16F84 DIP18
+# Microchip PIC16F84 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
diff --git a/libtoprammer/chips/microchip8/pic18f1220sip6.py b/libtoprammer/chips/microchip8/pic18f1220sip6.py
index e4dedde..1261b65 100644
--- a/libtoprammer/chips/microchip8/pic18f1220sip6.py
+++ b/libtoprammer/chips/microchip8/pic18f1220sip6.py
@@ -1,7 +1,7 @@
"""
# TOP2049 Open Source programming suite
#
-# Microchip PIC18F1220 DIP18
+# Microchip PIC18F1220 SIP6
#
# Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
#
bues.ch cgit interface