Firmware-espressif-esp32: how to integrate AD8232 with it?

Question/Issue: How to integrate AD8232 with the Firmware-espressif-esp32?

**Project ID:**148396

Context/Use case: I am working on a major project in which I want to build a real time ECG analyser. I need to get the ECG data from the sensor AD8232 directly into the features vector. I had been able to build an ECG analyser using the standalone-esp032 example in which I am hardcoding the data in the features vector. But now I want to make it real-time. Please guide me how I can integrate the AD8232( ultralow-power analogue-to-digital converter (ADC)).

See here: Integrating AD8232 in C++ library deployed on ESP32 - #2 by louis