Pinmap fixes

- changed signature of SPI pin mapping function
- update 'print_pin_functions'