projects
/
pinmux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correct sdmmc dummy names
[pinmux.git]
/
src
/
bsv
/
peripheral_gen.py
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 "sd{0}.slave"
def pinname_in(self, pname):
- return "
out.
%s_in" % pname
+ return "%s_in" % pname
def pinname_out(self, 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'):
def pinname_outen(self, pname):
if pname.startswith('d'):
- return "
out.
%s_outen" % pname
+ return "%s_outen" % pname
class spi(PBase):
class spi(PBase):