All the necessary includes, /compile/platorms/raspberry-pi/platformVars has the 'mmc' in the devices, comment out to keep from breaking things