X-NUCLEO-53L0A1 on Arduino Uno

Hello,

I am trying to interface X-NUCLEO-53L0A1 on Arduino Uno.

I referred the following GitHub link.

https://github.com/stm32duino/X-NUCLEO-53L0A1

I installed the libraries,etc.

And when I compile the 'Hello World' program. There are always these errors:

C:\Users\OneDrive\Documents\Arduino\libraries\STM32duino_X-NUCLEO-53L0A1\examples\X_NUCLEO_53L0A1_HelloWorld\X_NUCLEO_53L0A1_HelloWorld.ino: In function 'void setup()':

X_NUCLEO_53L0A1_HelloWorld:86: error: 'D8' was not declared in this scope

sensor_vl53l0x_left = new VL53L0X_X_NUCLEO_53L0A1(&DEV_I2C, xshutdown_left, D8);

^

X_NUCLEO_53L0A1_HelloWorld:93: error: 'D2' was not declared in this scope

sensor_vl53l0x_right = new VL53L0X_X_NUCLEO_53L0A1(&DEV_I2C, xshutdown_right, D2);

^

exit status 1 'D8' was not declared in this scope

I am unable to find the reason for this. Also, is there any specific way to connect these two boards?

Thanks, Ameya

I am unable to find the reason for this.

The path of the library on github should give you a clue. That library is NOT for the Uno.

Also, is there any specific way to connect these two boards?

Duct tape.