added RPi platform checks