I've mistakenly assume taht you had the trouble when you use the sam enucleo board intende for STSW-IMG037 For any other board you could try to adopt thishttps://www.youtube.com/watch?v=_qOaqZwT73sI've manage to get the some result using another STM3...
You can try to hook up the pololu VL53L7CX as the center VL53L7CX, the one labeled with _c in the schematic on page 6 of 15 from this pdf https://www.st.com/resource/en/data_brief/x-nucleo-53l7a1.pdfThe frimware included for the nucleo board assume...