X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Factual_pinmux.py;h=2c1d76f1584282269ac59ff0e9ef5f9571728dc6;hb=6c10b12bad8aeb24568dcc3078dc596a7285a6ab;hp=02603a97122a784daa32b53d57096cb7921f0896;hpb=bc6eb8c0fb6c41d7bc36b05e9da465b299937de8;p=pinmux.git diff --git a/src/actual_pinmux.py b/src/actual_pinmux.py index 02603a9..2c1d76f 100644 --- a/src/actual_pinmux.py +++ b/src/actual_pinmux.py @@ -11,7 +11,10 @@ dictionary = { "spi_ss" : "output", "spi_miso" : "input", "twi_sda" : "inout", - "twi_scl" : "inout" + "twi_scl" : "inout", + "sd_clk": "output", + "sd_cmd": "output", + "sd_d": "inout", } @@ -57,11 +60,10 @@ for cell in muxed_cells: x = dictionary.get(temp) if(x is None): print( - "Error: The signal : " + + "ERROR: The signal : " + str(cell[i + 1]) + - " in lineno: " + - str(lineno) + "of pinmap.txt isn't present in the \ - current dictionary.\nUpdate dictionary or fix-typo.") + " of pinmap.txt isn't present in the current dictionary.\ + \nUpdate dictionary or fix-typo.") exit(1) if(x == "input"): pinmux = pinmux + \