projects
/
pinmux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8321e3
)
correct sdmmc dummy names
author
Neel
<neelgala@gmail.com>
Sat, 21 Jul 2018 11:48:25 +0000
(17:18 +0530)
committer
Neel
<neelgala@gmail.com>
Sat, 21 Jul 2018 11:48:25 +0000
(17:18 +0530)
src/bsv/peripheral_gen.py
patch
|
blob
|
history
diff --git
a/src/bsv/peripheral_gen.py
b/src/bsv/peripheral_gen.py
index 09392933f7e390873daf36c2b3f05d234e0046a5..eee4cf7eac90a0d2269c7fb8c96bb657f3ed10ae 100644
(file)
--- a/
src/bsv/peripheral_gen.py
+++ b/
src/bsv/peripheral_gen.py
@@
-350,14
+350,16
@@
class sdmmc(PBase):
return "sd{0}.slave"
def pinname_in(self, pname):
- return "
out.
%s_in" % pname
+ return "%s_in" % pname
def pinname_out(self, pname):
- return "out.%s_out" % pname
+ if pname.startswith('d'):
+ return "%s_out" % pname
+ return pname
def pinname_outen(self, pname):
if pname.startswith('d'):
- return "
out.
%s_outen" % pname
+ return "%s_outen" % pname
class spi(PBase):