I2S driver for the STM32F4XX

Can anyone point me to a I2S driver for the STM32F412. I have attempted to import the ST_I2S library but it fails to build out of the box for mbed OS 6.2 . I did modify the code for it to build, but I still have no success. The application is for the STM32F4 to be a receiver only.

Thanks to any that can help.