STM32 HAL library for MAX30102. The project use STMF401RE Nucleo board but it's easy to port to other MCU with HAL libraries.