correct SPI pinmap typo

Enable error messages on K64F. Remove line ending from all SDK platform error calls. Patches necessary and line ending removal is for style guildance