adding support for interface of SD/MMC.
[pinmux.git] / src / parse.py
index cd4a3fe09d97b2cd66178bab632258cd3c2ce8a9..ed7a9701b3cbaf6f4f6bf42ffda73fec73b0eb30 100644 (file)
@@ -5,6 +5,7 @@ N_MUX_IO = 0
 N_UART = 4
 N_SPI = 1
 N_TWI = 2
+N_SD = 2
 # ================ #
 
 
@@ -28,6 +29,7 @@ for lineno, line in enumerate(pinmapfile):
             dedicated_cells.append(line1)
         if(len(line1) > 2):
             muxed_cells.append(line1)
+pinnumbers = sorted(pinnumbers)
 # ============================================= #
 # ======= Multiple checks to see if the user has not screwed ======#
 missing_pins = missing_numbers(pinnumbers)