                 return GPIORPIRev1
             case .RaspberryPiRev2:
                 return GPIORPIRev2
-            case .RaspberryPiPlus2Zero:
-                return GPIORPIPlus2ZERO
+            case .RaspberryPiPlusZero:
+                return GPIORPIPlusZERO
+            case .RaspberryPi2:
+                return GPIORPI2
             case .CHIP:
                 return GPIOCHIP
             case .BeagleBoneBlack:

                fallthrough
            case .RaspberryPiRev2:
                fallthrough
            case .RaspberryPiPlus2Zero:
                return [SPIRPI[0]!,SPIRPI[1]!]
            default:
                return nil

public enum SupportedBoard {
    case RaspberryPiRev1   // Pi A,B Revision 1
    case RaspberryPiRev2   // Pi A,B Revision 2 
    case RaspberryPiPlusZero // Pi A+,B+,Zero with 40 pin header
    case RaspberryPi2 // Pi 2 with 40 pin header
    case CHIP
    case BeagleBoneBlack
}
