DT0141 How to import STMems_Standard_C_drivers in an STM32CubeIDE project - something is missing
Hi,
I'm trying to make first steps in ST32CubeIDE with some knowledge of C/C++. As a playground I want to communicate with Accelerometer in LSM6DSOX using driver described in document:
"DT0141 How to import STMems_Standard_C_drivers in an STM32CubeIDE project.pdf".
So, created new project.
Added in Software Packs Component Selector an LSM6DSOX - SPI (v1.8.0):

Configured SPI1 in mode Full-Duplex Master and X-CUBE-MEMS1:

When testing lines added to main.c I get an error from compiler in:
lsm6dsoxDriver.handle = &hspi1;
../Core/Src/main.c:110:32: error: 'hspi1' undeclared (first use in this function)
110 | lsm6dsoxDriver.handle = &hspi1;
| ^~~~~
There are more errors, but this one is first that I'm not able to fix
What am I missing? Maybe there is an error in PDF file.
Thanks for every word of help.
