summaryrefslogtreecommitdiffstats
path: root/libtoprammer/chips/microchip8/makeSip6.py
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 /libtoprammer/chips/microchip8/makeSip6.py
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>
Diffstat (limited to 'libtoprammer/chips/microchip8/makeSip6.py')
-rwxr-xr-x[-rw-r--r--]libtoprammer/chips/microchip8/makeSip6.py4
1 files changed, 2 insertions, 2 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)
bues.ch cgit interface